Re: Classloader between Web application and system loader

2010-01-15 Thread youngm
message in context: http://old.nabble.com/Classloader-between-Web-application-and-system-loader-tp27154908p27183997.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr

Re: Classloader between Web application and system loader

2010-01-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mike, On 1/14/2010 6:45 PM, youngm wrote: > * It would seem that the change tracking of a process like that above would > be very difficult. It would be hard to answer questions like "What patches > have I applied to these 20 applications in producti

Re: Classloader between Web application and system loader

2010-01-15 Thread Pid
On 14/01/2010 23:45, youngm wrote: * It would seem that the change tracking of a process like that above would be very difficult. It would be hard to answer questions like "What patches have I applied to these 20 applications in production?" If there were simply a folder with the patches right

Re: Classloader between Web application and system loader

2010-01-14 Thread Mark Thomas
On 14/01/2010 23:45, youngm wrote: >> Won't help. The servlet spec requires that classes in the web >> application take priority. > > The only quote I was able to find from the servlet spec was: > > "It is recommended also that the application class loader be > implemented so that classes and res

RE: Classloader between Web application and system loader

2010-01-14 Thread Caldarale, Charles R
> From: youngm [mailto:you...@gmail.com] > Subject: Re: Classloader between Web application and system loader > > * If I'm administering an environment with 20-30 tomcat apps > all of which require the new database driver this is a rather > more difficult process for mi

Re: Classloader between Web application and system loader

2010-01-14 Thread youngm
oduction. We're too scared of permgen errors and other potential inconsistencies plus we have a load balancer. However, this may work for others so point taken. Mike -- View this message in context: http://old.nabble.com/Classloader-between-Web-ap

Re: Classloader between Web application and system loader

2010-01-14 Thread Mark Thomas
On 14/01/2010 22:19, youngm wrote: > I personally don't like any of the options. If you articulated your concerns, then we might be able to show you solutions to them. > Here are a couple of solutions > that I might like a little more. I'd be curious if anyone likes any of > these. > > 1. modif

Re: Classloader between Web application and system loader

2010-01-14 Thread youngm
m/Classloader-between-Web-application-and-system-loader-tp27154908p27169031.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional

Re: Classloader between Web application and system loader

2010-01-14 Thread Konstantin Kolinko
2010/1/14 youngm : > > >>Put expanded classes into WEB-INF/classes. >>Likewise, in CATALINA_BASE/lib > > So CATALINA_BASE/lib jars and classes are used before the application > (WEB-INF/lib and /classes)? > No, they are not. WEB-INF is used before CATALINA_BASE, but actually that is a more compli

RE: Classloader between Web application and system loader

2010-01-14 Thread Caldarale, Charles R
> From: Pid [mailto:p...@pidster.com] > Subject: Re: Classloader between Web application and system loader > > You might get away with adding individual classes to the classloader > tree, but multiple jars containing the same class is likely to cause > problems. In fact, I&#

Re: Classloader between Web application and system loader

2010-01-14 Thread Pid
On 14/01/2010 02:40, youngm wrote: Put expanded classes into WEB-INF/classes. Likewise, in CATALINA_BASE/lib So CATALINA_BASE/lib jars and classes are used before the application (WEB-INF/lib and /classes)? http://tomcat.apache.org/tomcat-6.0-doc/class-loader-howto.html under Class Loader D

Re: Classloader between Web application and system loader

2010-01-13 Thread youngm
en applied to an environment I just didn't think those would be loaded before the application's. Thanks, Mike -- View this message in context: http://old.nabble.com/Classloader-between-Web-application-and-system-loader-tp27154908p27155608.html Sent from the Tomcat - User mailing

Re: Classloader between Web application and system loader

2010-01-13 Thread Konstantin Kolinko
2010/1/14 Rob S. : > Konstantin, do you have to modify one of the loaders in catalina.properties > to check in CATALINA_BASE/lib?  Or it does that automagically? > In 6.0.20 it is by default: What comes first takes priority in an URLClassLoader. common.loader=${catalina.home}/lib,${catalina.home}

Re: Classloader between Web application and system loader

2010-01-13 Thread Rob S.
Konstantin, do you have to modify one of the loaders in catalina.properties to check in CATALINA_BASE/lib? Or it does that automagically? On Wed, Jan 13, 2010 at 5:21 PM, Konstantin Kolinko wrote: > 2010/1/14 youngm : > > > > I am designing my production Tomcat 6 system and would like to have a

Re: Classloader between Web application and system loader

2010-01-13 Thread Konstantin Kolinko
2010/1/14 youngm : > > I am designing my production Tomcat 6 system and would like to have a > classloader where I can put emergency "patch" jars (e.g. database drivers, > etc) and configuration (e.g. tweaked spring config). > > These artifacts would need to be loaded in a classloader between the S

Classloader between Web application and system loader

2010-01-13 Thread youngm
tion to my problem? Thanks, Mike -- View this message in context: http://old.nabble.com/Classloader-between-Web-application-and-system-loader-tp27154908p27154908.html Sent from the Tomcat - User mailing list archive at Nabble.com. --