You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by hu jingoal <ji...@gmail.com> on 2009/11/18 05:05:13 UTC

how can I get info when tomcat 5.5 exited abnormally

---------- Forwarded message ----------
From: hu jingoal <ji...@gmail.com>
Date: 2009/11/18
Subject: how can I get info when tomcat 5.5 exited abnormally
To: users@tomcat.apache.org


My environment is : apache + two tomcat 5.5.

recently, tomcat exited abnomally without any info frequently.

in catalina.sh, I had  CATALINA_OPTS="
-XX:ErrorFile=/usr/local/log/java_error_%p.log ", but the file
 java_error_*.log is not exist.



follows the url: http://tomcat.apache.org/tomcat-5.5-doc/logging.html, I had
added log4j   setting, but the file ${catalina.home}/logs/tomcat.log is zero
length.


any suggestion is appreciated, thanks


 jingoalhu

Re: how can I get info when tomcat 5.5 exited abnormally

Posted by hu jingoal <ji...@gmail.com>.
messages log:

Nov  6 20:15:07 debian kernel: [22981271.685460] java[6530]: segfault at
47572a08 ip 7f329d66718d sp 475729f0 error 6 in
libnet.so[7f329d65a000+13000]

jdk: 1.6u14,  amd64 cpu

2009/11/18 hu jingoal <ji...@gmail.com>

>
>
> ---------- Forwarded message ----------
> From: hu jingoal <ji...@gmail.com>
> Date: 2009/11/18
> Subject: how can I get info when tomcat 5.5 exited abnormally
> To: users@tomcat.apache.org
>
>
> My environment is : apache + two tomcat 5.5.
>
> recently, tomcat exited abnomally without any info frequently.
>
> in catalina.sh, I had  CATALINA_OPTS="
> -XX:ErrorFile=/usr/local/log/java_error_%p.log ", but the file
>  java_error_*.log is not exist.
>
>
>
> follows the url: http://tomcat.apache.org/tomcat-5.5-doc/logging.html, I
> had added log4j   setting, but the file ${catalina.home}/logs/tomcat.log
> is zero length.
>
>
> any suggestion is appreciated, thanks
>
>
>  jingoalhu
>
>

Re: how can I get info when tomcat 5.5 exited abnormally

Posted by Christopher Schultz <ch...@christopherschultz.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jingoal,

On 11/17/2009 11:05 PM, hu jingoal wrote:
> My environment is : apache + two tomcat 5.5.
> 
> recently, tomcat exited abnormally without any info frequently.
> 
> in catalina.sh, I had  CATALINA_OPTS="
> -XX:ErrorFile=/usr/local/log/java_error_%p.log ", but the file
>  java_error_*.log is not exist.
> 
> follows the url: http://tomcat.apache.org/tomcat-5.5-doc/logging.html, I had
> added log4j   setting, but the file ${catalina.home}/logs/tomcat.log is zero
> length.

What user does Tomcat run as? It's possible that Tomcat cannot write to
/usr/local/log/*

> Nov  6 20:15:07 debian kernel: [22981271.685460] java[6530]: segfault at
> 47572a08 ip 7f329d66718d sp 475729f0 error 6 in
> libnet.so[7f329d65a000+13000]
> 
> jdk: 1.6u14,  amd64 cpu

That sounds like a bug in the JVM is it's segfaulting. Can you try with
a different version of Java? Maybe 1.6u10 or something earlier than u14?
Also, is this a 32-bit or 64-bit JVM?

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAksEVS4ACgkQ9CaO5/Lv0PBGEQCfSsTuQq4aAlg4gM/dkQBSEHWo
OyYAn09FiWOEoS2Pva2yZx6IYJqdIFi2
=56Yv
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org