RE: Deploying shared .jar's

2006-12-12 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:[EMAIL PROTECTED] > Subject: Re: Deploying shared .jar's > > Does that mean that Dave can put his JAR file into > $CATALINA_HOME/common/lib instead of $CATALINA_HOME/shared/lib and he > will get the desired behavior? Yes, exce

Re: Deploying shared .jar's

2006-12-12 Thread David Kerber
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, Caldarale, Charles R wrote: From: Christopher Schultz [mailto:[EMAIL PROTECTED] Subject: Re: Deploying shared .jar's Was that feature changed in the 5.0 and later versions? My 4.1.x version allows me t

Re: Deploying shared .jar's

2006-12-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, Caldarale, Charles R wrote: >> From: Christopher Schultz [mailto:[EMAIL PROTECTED] >> Subject: Re: Deploying shared .jar's >> >> Was that feature changed in the 5.0 and later versions? My 4.1.x >>

RE: Deploying shared .jar's

2006-12-11 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:[EMAIL PROTECTED] > Subject: Re: Deploying shared .jar's > > Was that feature changed in the 5.0 and later versions? My 4.1.x > version allows me to put files into $CATALINA_HOME/common/lib and > have them available to all webapps whic

Re: Deploying shared .jar's

2006-12-11 Thread David Kerber
PM To: Tomcat Users List Subject: Re: Deploying shared .jar's Caldarale, Charles R wrote: From: David Kerber [mailto:[EMAIL PROTECTED] Subject: Re: Deploying shared .jar's With the way I read it now, anything I try to put under catalina_home/shared/lib won't be visible

RE: Deploying shared .jar's

2006-12-11 Thread Larry Isaacs
.home}/shared/classes,${catalina.home}/shared/lib/*.jar or something else that achieves your goal. Cheers, Larry > -Original Message- > From: David Kerber [mailto:[EMAIL PROTECTED] > Sent: Monday, December 11, 2006 6:55 PM > To: Tomcat Users List > Subject: Re: Deploying shared .

Re: Deploying shared .jar's

2006-12-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, Caldarale, Charles R wrote: > When you use this "-Dcatalina.base=$CATALINA_BASE" argument, Tomcat will > calculate all relative references for files in the following directories > based on the value of $CATALINA_BASE instead of $CATALINA_HOME:

Re: Deploying shared .jar's

2006-12-11 Thread David Kerber
Caldarale, Charles R wrote: From: David Kerber [mailto:[EMAIL PROTECTED] Subject: Re: Deploying shared .jar's With the way I read it now, anything I try to put under catalina_home/shared/lib won't be visible to the webapps in the various catalina_base folders. Is this correct?

RE: Deploying shared .jar's

2006-12-11 Thread Caldarale, Charles R
> From: David Kerber [mailto:[EMAIL PROTECTED] > Subject: Re: Deploying shared .jar's > > With the way I read it now, anything I try to put under > catalina_home/shared/lib won't be visible to the webapps in > the various catalina_base folders. Is this correct?

Re: Deploying shared .jar's

2006-12-11 Thread David Kerber
Caldarale, Charles R wrote: From: David Kerber [mailto:[EMAIL PROTECTED] Subject: Re: Deploying shared .jar's My webapps can't see classes in the .jar that is in the shared/lib folder; I get the ClassNotFound errors when I try. Check your conf/catalina.properties file and

RE: Deploying shared .jar's

2006-12-11 Thread Caldarale, Charles R
> From: David Kerber [mailto:[EMAIL PROTECTED] > Subject: Re: Deploying shared .jar's > > My webapps can't see classes in the .jar that is in the shared/lib > folder; I get the ClassNotFound errors when I try. Check your conf/catalina.properties file and make

Re: Deploying shared .jar's

2006-12-11 Thread David Kerber
olivier nouguier wrote: hi, By http://tomcat.apache.org/tomcat-5.5-doc/class-loader-howto.html Shared is the parent classloader of webapp. AFAIK the consequence of this in that a class loaded from webapp classloader can see other classes (whenever they come from shared, webapp or common), bu

Re: Deploying shared .jar's

2006-12-11 Thread olivier nouguier
hi, By http://tomcat.apache.org/tomcat-5.5-doc/class-loader-howto.html Shared is the parent classloader of webapp. AFAIK the consequence of this in that a class loaded from webapp classloader can see other classes (whenever they come from shared, webapp or common), but the reverse is not true, a

Deploying shared .jar's

2006-12-11 Thread David Kerber
From what I've read in the Tomcat 5.5 docs, I should be able to deploy a .jar that is shared across multiple webapps on Windows by putting it in the (tomcat)/shared/lib folder, but I've never gotten that to work. I've always had to put that jar in the web-inf/lib folder of each of the webapps