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

tomcat 5 and the JVM

2009-02-02 Thread Ray Holme
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 appliction - i.e. getDebugLevel() returns 0 from the 2nd

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

Re: [OT] How to compile a servlet for Tomcat 5 on IBM JVM, or, Dr. Warnier: How I learned to stop worrying and love VMWare

2008-12-30 Thread André Warnier
Michael Ludwig wrote: [...] But maybe your case is a different one. Yes indeed, several different ones (almost one per customer). In this particular case (Cisco VPN Client), the settings you describe are not accessible (or not modifiable). I believe it is a protection for the VPN you are

Re: [OT] How to compile a servlet for Tomcat 5 on IBM JVM, or, Dr. Warnier: How I learned to stop worrying and love VMWare

2008-12-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, André Warnier wrote: It's a whole process to connect to that server, and when I am connected I lose my other connections (email e.g.). Aah, you use a VPN that fubar's your other connections? That's too bad. If you often connect to this

Re: [OT] How to compile a servlet for Tomcat 5 on IBM JVM, or, Dr. Warnier: How I learned to stop worrying and love VMWare

2008-12-29 Thread André Warnier
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, André Warnier wrote: It's a whole process to connect to that server, and when I am connected I lose my other connections (email e.g.). Aah, you use a VPN that fubar's your other connections? That's too bad. Not

Re: [OT] How to compile a servlet for Tomcat 5 on IBM JVM, or, Dr. Warnier: How I learned to stop worrying and love VMWare

2008-12-29 Thread Michael Ludwig
Christopher Schultz schrieb am 29.12.2008 um 15:54:41 (-0500): André Warnier wrote: It's a whole process to connect to that server, and when I am connected I lose my other connections (email e.g.). Aah, you use a VPN that fubar's your other connections? That's too bad. Maybe you just

How to compile a servlet for Tomcat 5 on IBM JVM

2008-12-21 Thread André Warnier
Hi. I just knew it wouldn't be that simple... Kind of as a follow-up to earliers posts on Hello World servlets and IBM JDK 1.5, here is the issue : I have created (ok, copied from Chuck would be more exact) a tiny weeny little servlet. It's about 15 lines including comments. On my Windows

Re: How to compile a servlet for Tomcat 5 on IBM JVM

2008-12-21 Thread Rainer Jung
Hi André, On 21.12.2008 23:28, André Warnier wrote: I have created (ok, copied from Chuck would be more exact) a tiny weeny little servlet. It's about 15 lines including comments. On my Windows PC, where I have a Sun JDK 1.6 and Tomcat 5.5 installed, the servlet compiles fine, with the

Re: How to compile a servlet for Tomcat 5 on IBM JVM

2008-12-21 Thread André Warnier
Rainer Jung wrote: [...] Thanks Rainer. You gave me more than hope. The tip below already does it. You just saved my laptop, and Warszaw. [...] You compiled with Java 6 and try to run under Java 5. That won't work, unless you add -target 1.5 to your javac arguments. I did, and it works. The