cancel
Showing results for 
Search instead for 
Did you mean: 

Share jar package and activiti class loader

rcosta1
Champ in-the-making
Champ in-the-making
Hi,

I would like to share a package that I write cross all my webapp inside a tomcat 6.0.5 installation of activiti 5.9.
I have read that "$CATALINA_HOME/shared/lib seems to be gone in 6.0 (it was there in 5.5)".
I have try various scenarios:

- to put my jar file inside tomcat "$CATALINA_HOME/shared/lib" folder but when I use activiti-explorer I recive "Could not load class …"
  (catalina.properties is configured to read all jars into this folder: "shared.loader=${catalina.base}/shared/lib/*.jar" )
  It's strange that "$CATALINA_HOME/shared/lib/ojdbc14.jar" work well
 
- to put my jar file inside tomcat "$CATALINA_HOME/lib/" but it's the same (in activiti-explorer I recive "Could not load class …")

Alternative I have to put my jar inside all webapp but I would like to know how can I share my jar.

Best regards
Riccardo Costa
10 REPLIES 10

ronald_van_kuij
Champ on-the-rise
Champ on-the-rise
THat is often caused by classes loaded from two different classloaders.