Raja,

We had the same problem, running Tomcat on Solaris. I think it is a JVM bug, not a 
Tomcat problem - so this is technically off topic, please excuse me. We changed to a 
later build (92, I think) of the Sun HotSpot 1.3.1 JVM and that fixed the problem. Now 
we are on 1.4.1 and everything still works fine.

The problem for us was a JIT compilation error, due to a bug in the JVM. If you want 
to see what is being compiled, put the -XX:+PrintCompilation in your java command 
(inside catalina.sh). This will send the names of classes being compiled to stdout 
(catalina.out?) and you can see which class was being compiled just before it crashed. 
If it is one of your classes, make some arbitrary changes or try a different 
algorithm, to see if that fixes it. Really, for a JVM bug, the best thing is to 
upgrade to a later version of the JVM.

It might slow down your production machine a bit - we only used this option on half 
the machines in our server farm. 

If your problem is not a compilation bug, or you are not using HotSpot, I guess you 
will have to dig further.

Chris

PS - If anyone can tell me why an unchanged webapp uses twice as much CPU in Tomcat 
4.1.18 as it did in 3.3.1, I would be most grateful. See my posting from last Friday 
http://www.mail-archive.com/[EMAIL PROTECTED]/msg89232.html. 

----- Original Message -----
From: "Raja  Sekhar" <[EMAIL PROTECTED]>
Date: Wed, 19 Mar 2003 06:20:11 -0800
To: [EMAIL PROTECTED]
Subject: Tomcat crashing down on production

> Hi,
> 
> I am using Tomcat 4.0.6 on a Solaris box with 4 CPU processor. The system crashed 
> down with the following error. Can any one please let me know what the error can be 
> ???
> 
> Unexpected Signal : 11 occurred at PC=0xfb29fe8c
> Function name=setAttribute (compiled Java code)
> Library=(N/A)
> 
> Current Java thread:
> 
> Dynamic libraries:
> 0x10000         /usr/j2se/bin/../bin/sparc/native_threads/java
> 0xff350000      /usr/lib/libthread.so.1
> 0xff390000      /usr/lib/libdl.so.1
> 0xff200000      /usr/lib/libc.so.1
> 0xff330000      /usr/platform/SUNW,Ultra-80/lib/libc_psr.so.1
> 0xfe480000      /usr/j2sdk1_3_1_02/jre/lib/sparc/client/libjvm.so
> 0xff2e0000      /usr/lib/libCrun.so.1
> 0xff1e0000      /usr/lib/libsocket.so.1
> 0xff100000      /usr/lib/libnsl.so.1
> 0xff0d0000      /usr/lib/libm.so.1
> 0xff310000      /usr/lib/libw.so.1
> 0xff0b0000      /usr/lib/libmp.so.2
> 0xff080000      /usr/j2sdk1_3_1_02/jre/lib/sparc/native_threads/libhpi.so
> 0xff050000      /usr/j2sdk1_3_1_02/jre/lib/sparc/libverify.so
> 0xfe440000      /usr/j2sdk1_3_1_02/jre/lib/sparc/libjava.so
> 0xff020000      /usr/j2sdk1_3_1_02/jre/lib/sparc/libzip.so
> 0xfadb0000      /usr/j2sdk1_3_1_02/jre/lib/sparc/libnet.so
> 0xface0000      /usr/lib/nss_files.so.1
> 
> Local Time = Tue Mar 18 19:26:07 2003
> Elapsed Time = 52795
> #
> # HotSpot Virtual Machine Error : 11
> # Error ID : 4F530E43505002C4 01
> # Please report this error at
> # http://java.sun.com/cgi-bin/bugreport.cgi
> #
> # Java VM: Java HotSpot(TM) Client VM (1.3.1_02-b02 mixed mode)
> #
> 
> Regards,
> 
> ..Raj
> 
> 
> Need a new email address that people can remember
> Check out the new EudoraMail at
> http://www.eudoramail.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 



Chris Agmen-Smith

-----------------------------
0207 642 1270 (home)
079 8501 6275 (mobile)
-----------------------------


-- 
_______________________________________________
Sign-up for your own FREE Personalized E-mail at Mail.com
http://www.mail.com/?sr=signup


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to