Re: Classloading scenario

2007-02-20 Thread Luis Rivera
Hi, In my experience, since I have to use the JNI, I am forced to use the shared space for some classes. The only way I made it work is to place everything that is referenced by the classes in the shared space, in the shared space. The classes in WEB-INF/.. have no problems accessing the shared

RE: Classloading scenario

2007-02-20 Thread Peter Crowther
> From: Angel Todorov [mailto:[EMAIL PROTECTED] > This doesn't work for me -> i would like to share classes between > webapps in order for them to have a common classloader. In this way i > can pass object references between two webapps. Then you'll have to put the jar you want *and all the class

Re: Classloading scenario

2007-02-20 Thread Angel Todorov
Hi Boris, This doesn't work for me -> i would like to share classes between webapps in order for them to have a common classloader. In this way i can pass object references between two webapps. In tomcat there is no concept of EAR packaging, and EAR classloading isolation in general. I don't agre

Re: Classloading scenario

2007-02-20 Thread Boris Unckel
Hello, Angel Todorov wrote: I have the following scenario: one webapp, which has some jars in its private WEB-INF\lib dir, and one common jar which I would like to share among several webapps. Hence, I am putting this jar into the shared\lib directory of Tomcat. The problem is that this common l

Classloading scenario

2007-02-20 Thread Angel Todorov
Hi All, I have the following scenario: one webapp, which has some jars in its private WEB-INF\lib dir, and one common jar which I would like to share among several webapps. Hence, I am putting this jar into the shared\lib directory of Tomcat. The problem is that this common lib references classes