RE: [OT] tomcat 5.5.25 shared lib and sharing webapp jars

2009-10-11 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Subject: Re: [OT] tomcat 5.5.25 shared lib and sharing webapp jars > > Yes, but in order to /detect/ the change, the ClassLoader needs to know > which classes it loaded. I wasn't suggesting that the WebappCl

Re: [OT] tomcat 5.5.25 shared lib and sharing webapp jars

2009-10-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 10/10/2009 10:26 AM, Caldarale, Charles R wrote: >> From: Christopher Schultz [mailto:ch...@christopherschultz.net] >> Subject: Re: [OT] tomcat 5.5.25 shared lib and sharing webapp jars >> >> Also, the WebappClass

Re: [OT] tomcat 5.5.25 shared lib and sharing webapp jars

2009-10-11 Thread Konstantin Kolinko
2009/10/11 Pid : > > Is there a page on the Wiki for bookmarking threads that are 'essential > reading'?  I can't see one, but we ought to create one somewhere. > There are http://wiki.apache.org/tomcat/FAQ http://wiki.apache.org/tomcat/HowTo http://wiki.apache.org/tomcat/FAQ/Miscellaneous If yo

Re: [OT] tomcat 5.5.25 shared lib and sharing webapp jars

2009-10-11 Thread Pid
On 10/10/2009 23:52, André Warnier wrote: Caldarale, Charles R wrote: From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: [OT] tomcat 5.5.25 shared lib and sharing webapp jars Not that it was my thread to begin with, and not thjat it's really dramatic either, but I suppose you guys

Re: [OT] tomcat 5.5.25 shared lib and sharing webapp jars

2009-10-10 Thread André Warnier
Caldarale, Charles R wrote: From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: [OT] tomcat 5.5.25 shared lib and sharing webapp jars Not that it was my thread to begin with, and not thjat it's really dramatic either, but I suppose you guys must realise that you lost me, like, abo

RE: [OT] tomcat 5.5.25 shared lib and sharing webapp jars

2009-10-10 Thread Caldarale, Charles R
> From: André Warnier [mailto:a...@ice-sa.com] > Subject: Re: [OT] tomcat 5.5.25 shared lib and sharing webapp jars > > Not that it was my thread to begin with, and not thjat it's really > dramatic either, but I suppose you guys must realise that you lost me, > like, abo

Re: [OT] tomcat 5.5.25 shared lib and sharing webapp jars

2009-10-10 Thread André Warnier
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 10/10/2009 9:26 AM, Caldarale, Charles R wrote: From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: [OT] tomcat 5.5.25 shared lib and sharing webapp jars My direct experience that had

RE: [OT] tomcat 5.5.25 shared lib and sharing webapp jars

2009-10-10 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Subject: Re: [OT] tomcat 5.5.25 shared lib and sharing webapp jars > > Is that because the primordial ClassLoader will hand-out references to > any class already loaded by any ClassLoader, so if null is retur

Re: [OT] tomcat 5.5.25 shared lib and sharing webapp jars

2009-10-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 10/10/2009 9:26 AM, Caldarale, Charles R wrote: >> From: Christopher Schultz [mailto:ch...@christopherschultz.net] >> Subject: Re: [OT] tomcat 5.5.25 shared lib and sharing webapp jars >> >> My direct experience th

RE: [OT] tomcat 5.5.25 shared lib and sharing webapp jars

2009-10-10 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Subject: Re: [OT] tomcat 5.5.25 shared lib and sharing webapp jars > > One additional requirement: the java.lang.Class object itself must also > be unreachable. True. > My direct experience that had led

Re: [OT] tomcat 5.5.25 shared lib and sharing webapp jars

2009-10-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 10/9/2009 7:14 PM, Caldarale, Charles R wrote: >> From: Christopher Schultz [mailto:ch...@christopherschultz.net] >> Subject: Re: tomcat 5.5.25 shared lib and sharing webapp jars >> >> PermGen is a place where Cl

GC (was Re: tomcat 5.5.25 shared lib and sharing webapp jars)

2009-10-10 Thread Peter Crowther
[If you're not interested in VM theory, it's safe to ignore this post] 2009/10/10 Christopher Schultz : > What about classes with mutable static members? These members should be > preserved for a while, right? Does this mean that classic Java > singletons are never able to be GC'd because they hav

RE: tomcat 5.5.25 shared lib and sharing webapp jars

2009-10-09 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Subject: Re: tomcat 5.5.25 shared lib and sharing webapp jars > > What about classes with mutable static members? These members should be > preserved for a while, right? Only while the java.lang.Class instan

Re: tomcat 5.5.25 shared lib and sharing webapp jars

2009-10-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 10/9/2009 7:14 PM, Caldarale, Charles R wrote: >> From: Christopher Schultz [mailto:ch...@christopherschultz.net] >> Subject: Re: tomcat 5.5.25 shared lib and sharing webapp jars >> >> The webapp itself is irrel

RE: tomcat 5.5.25 shared lib and sharing webapp jars

2009-10-09 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Subject: Re: tomcat 5.5.25 shared lib and sharing webapp jars > > > From: André Warnier [mailto:a...@ice-sa.com] > > Subject: Re: tomcat 5.5.25 shared lib and sharing webapp jars > > > You must hav

Re: tomcat 5.5.25 shared lib and sharing webapp jars

2009-10-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 10/9/2009 5:29 PM, André Warnier wrote: > Caldarale, Charles R wrote: > Being ever eager to learn, I have been following this thread with interest. > > Do I understand this correctly, if I draw the following conclusions : > > - the Heap is

Re: tomcat 5.5.25 shared lib and sharing webapp jars

2009-10-09 Thread André Warnier
Caldarale, Charles R wrote: Also be aware that any static fields or singleton objects in the shared classes really will be shared by each webapp, whereas before each webapp had its own copy. You must have meant "shared by all webapps". Chuck, you should really watch your usage of the termin

RE: tomcat 5.5.25 shared lib and sharing webapp jars

2009-10-09 Thread Caldarale, Charles R
> From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] > Subject: RE: tomcat 5.5.25 shared lib and sharing webapp jars > > Sorry, I think I used poor wording there. Should have used something > like "instances of classes loaded by a webapp's classloader"

RE: tomcat 5.5.25 shared lib and sharing webapp jars

2009-10-09 Thread Caldarale, Charles R
> From: Curtis Garman [mailto:curt.gar...@gmail.com] > Subject: Re: tomcat 5.5.25 shared lib and sharing webapp jars > > Honestly, I'm not that familiar with classloaders...I've never had to > deal with them...what would I look at to determine if this danger is > lik

Re: tomcat 5.5.25 shared lib and sharing webapp jars

2009-10-09 Thread Curtis Garman
] >> Subject: Re: tomcat 5.5.25 shared lib and sharing webapp jars >> >> So are you saying that I shouldn't use the shared lib at all?...or >> just sparingly? > > Sparingly, only for those classes that you are absolutely certain never > retain references to objects t

RE: tomcat 5.5.25 shared lib and sharing webapp jars

2009-10-09 Thread Caldarale, Charles R
> From: Curtis Garman [mailto:curt.gar...@gmail.com] > Subject: Re: tomcat 5.5.25 shared lib and sharing webapp jars > > So are you saying that I shouldn't use the shared lib at all?...or > just sparingly? Sparingly, only for those classes that you are absolutely certain neve

Re: tomcat 5.5.25 shared lib and sharing webapp jars

2009-10-09 Thread Curtis Garman
So are you saying that I shouldn't use the shared lib at all?...or just sparingly? On Fri, Oct 9, 2009 at 12:36 PM, Caldarale, Charles R wrote: >> From: Curtis Garman [mailto:curt.gar...@gmail.com] >> Subject: tomcat 5.5.25 shared lib and sharing webapp jars >> >>

RE: tomcat 5.5.25 shared lib and sharing webapp jars

2009-10-09 Thread Caldarale, Charles R
> From: Curtis Garman [mailto:curt.gar...@gmail.com] > Subject: tomcat 5.5.25 shared lib and sharing webapp jars > > I've got a question about the tomcat 5.5.25 shared lib...is there any > danger of using this almost exclusively if you have a lot of jars that > are shared

tomcat 5.5.25 shared lib and sharing webapp jars

2009-10-09 Thread Curtis Garman
I've got a question about the tomcat 5.5.25 shared lib…is there any danger of using this almost exclusively if you have a lot of jars that are shared among apps. I know you can but I also saw something somewhere and now again (http://www.digitalsanctum.com/2007/08/18/20-tips-for-using-tomcat-in-pr