What version of TC are you using? I wouldn't put the jar file there, no!
Try in %TC HOME%\common\lib, whereever that is.
-Original Message-
From: Brian Munroe [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 31, 2007 3:50 PM
To: Tomcat Users List
Subject: Classloading Question
I am conne
On 7/31/07, Propes, Barry L <[EMAIL PROTECTED]> wrote:
> What version of TC are you using? I wouldn't put the jar file there, no!
>
I am using 5.5.23. Wouldn't put it where? shared/lib?
> Try in %TC HOME%\common\lib, whereever that is.
>
I did, and it works, but from my understanding of the c
> From: Brian Munroe [mailto:[EMAIL PROTECTED]
> Subject: Re: Classloading Question
>
> I did, and it works, but from my understanding of the classloading
> documentation, you should technically place application level jars in
> $CATALINA_HOME/shared/lib, in which it does not
On 7/31/07, Caldarale, Charles R <[EMAIL PROTECTED]> wrote:
>
> Look here for details:
> http://tomcat.apache.org/tomcat-5.5-doc/jndi-datasource-examples-howto.h
> tml
Heh, II was wondering about that. I just gleamed that and found this gem:
Drivers for older Oracle versions may be distributed
Christopher Piggott wrote:
> As an experiment, I placed a file in the webapp dir of a servlet (not in
> WEB-INF but in the directory above it) and attempted to read it using
> getResource(). What I found was that I could not locate the resource unless
> I used getServletContext().getResource().
>
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
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
> 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
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