08-01-2012 05:57 AM
shared.loader=${catalina.base}/shared/classes,${catalina.base}/shared/lib/*.jar
, and I added the myCommandProcessors.jar in the ${catalina.base}/shared/lib/ repository. There are other jar files in this shared repository as well, like the Oracle jdbc driver, which are loaded well by the tomcat shared class loader. But myCommandProcessors.jar cannot be loaded, why? However, when I put the myCommandProcessors.jar in the ${catalina.base}/webapps/alfresco/WEB-INF/lib/, the myCommandProcessors.jar will be loading good, but that's not where I want to put the the custom jar files to…Classloader of command proccessor class:WebappClassLoader
context: /alfresco
delegate: false
repositories:
/WEB-INF/classes/
———-> Parent Classloader:
org.apache.catalina.loader.StandardClassLoader@11568fb5
This is the urls of the classloader:
[file:/home/alfresco/tomcat/webapps/alfresco/WEB-INF/classes/, file:/home/alfresco/tomcat/webapps/alfresco/WEB-INF/lib/FastInfoset-1.2.2.jar, …
Parent Classloader of command proccessor class:org.apache.catalina.loader.StandardClassLoader@11568fb5
This is the urls of the parent classloader:
[file:/home/alfresco/tomcat/shared/classes/, file:/home/alfresco/tomcat/shared/lib/ojdbc6.jar]
delegate: false
mean that this class loader does not search classes from it's parent class loader (which is the tomcat shared class loader)?08-01-2012 10:19 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.