Re: tomcat 5 and the JVM

2009-02-02 Thread Ray Holme
thanks - removed On Mon, 2009-02-02 at 14:46 +0100, Felix Schumacher wrote: Hi Ray, On Mon, February 2, 2009 1:59 pm, Ray Holme wrote: I run tomcat 6 on Linux and have multiple applications in development mode. From my testing I have discovered that a Java bean shared by all applications

Re: tomcat 5 and the JVM

2009-02-02 Thread Ray Holme
thanks - makes sense. removed the GC call as someone else put it there a long time ago also removed System.runFinalization() - assume this is not something to do in my garbage sweep where I check for other things. :=] On Mon, 2009-02-02 at 14:45 +0100, Kees de Kooter wrote: Hi Ray, It is

Re: tomcat 5 and the JVM

2009-02-02 Thread Felix Schumacher
Hi Ray, On Mon, February 2, 2009 1:59 pm, Ray Holme wrote: I run tomcat 6 on Linux and have multiple applications in development mode. From my testing I have discovered that a Java bean shared by all applications and with ALL methods as static SEEMS to have a separate instance for each

Re: tomcat 5 and the JVM

2009-02-02 Thread Kees de Kooter
Hi Ray, It is one JVM, but separate classloaders so applications do not see classes of other apps. Oh and please be extremely careful with using System.gc(). Using it can lead to severe and unexpected performance issues. If you need gc() you almost always have a flaw in your code. Cheers, Kees