We are seeing the exact same behavior (using Jetty) and we are about to pull our j2ee app out of production and call it a (temporary) failure. We have tried 3.0.2, 3.0.3, recent builds of 3.2, various 1.4x jdks. Both Linux and Win32 platforms. We have tried various hotspot flags as well as shutting it off (-Xint). We just refactored by putting ALL non dynamic content on Apache and front ending jetty/jboss with it.
All give the same result. After a certain amount of production usage, the server just stops running. No exceptions, and rare OS messages (none on linux).
I'd love to know what this is about. We have been unable to reproduce with load testers, but production goes down every time. We never saw this in development or testing.
We are cranking our old SilverStream app/server back up to give us time to figure out what is going.
Hope you have better luck than we have (and it does seem to take LUCK!)
Check the bug list on sourceforge. There is a bug reported with JVM crashing when running jboss. I am not sure if the JVM version was 1.4.1 or 1.4.0.
> We are seeing very unstable behavior with Sun's
> 1.4.0_01 JVM (HotSpot) using JBoss (3.0.0/Tomcat
> 4.0.3). The JVM dies pretty frequently on both Linux
> (RH 7.3) and Windows (XP) platforms. Has anyone else
> seen this problem and found workarounds?
You didn't detail what you mean when the JVM 'dies' but assuming it does a core dump on you you should check the Hotspot bugs for more information here: http://developer.java.sun.com/developer/bugParade/bugs/4724356.html
In some cases turning off the server side hotspot jitter seems to work (don't use -server switch when starting the JVM) in other cases trying to upgrade or downgrade to less problematic JDK version does the trick (1.4.1 has reported less problems, as well as earlier versions of 1.3.x).
Were you able to solve the JVM problem? I am getting the same error here, and if you could tell me what solved your problem, that would be mightly helpful.
Change JVM's either to the latest 1.4.1 or the latest 1.3.1 version. The 1.3.1 sun jdks seem to work fine for me
i have the same problem with sun JDK 1.3.10 and Jboss 3.2..3 .
we tried it on development ... everything was ok but when we tried it on production with heavy load the server stops after a few minutes without an error !
which jdk should we use on linux ?