tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jakub Królikowski <ja...@pakamera.com.pl>
Subject Tomcat 6 crash, no log, no hs_err_pid file
Date Thu, 05 May 2011 00:19:59 GMT
Hi,

I made an Tomcat and JVM upgrade few weeks ago (to Tomcat 6.0.32 and
jdk 1.6.0.24), and since that time I can notice a very strange
behavior:
sometimes, even once a day, Tomcat stops suddenly. There is no java
process anymore, there is no errors in catalina.out log file,
and, what is the most confusing, there is no hs_err_pid*.log file
anywhere, or I cannot find it.
Before upgrade, if jvm crashed, the hs_err_pid*.log file was always in
root home directory.

In mod_jk.log I have only this kind of message:

[Thu May 05 01:10:38 2011] [16891:140430015608640] [info]
ajp_connection_tcp_get_message::jk_ajp_common.c (1223): (worker1)
can't receive the response header message from t
omcat, tomcat (127.0.0.1:8009) has forced a connection close for socket 15
[Thu May 05 01:10:38 2011] [16891:140430015608640] [error]
ajp_get_reply::jk_ajp_common.c (2055): (worker1) Tomcat is down or
refused connection. No response has been sent
to the client (yet)
[Thu May 05 01:10:38 2011] [16891:140430015608640] [info]
ajp_service::jk_ajp_common.c (2540): (worker1) sending request to
tomcat failed (recoverable),  (attempt=1)
[Thu May 05 01:10:38 2011] [16891:140430015608640] [info]
jk_open_socket::jk_connect.c (622): connect to 127.0.0.1:8009 failed
(errno=111)
[Thu May 05 01:10:38 2011] [16891:140430015608640] [info]
ajp_connect_to_endpoint::jk_ajp_common.c (959): Failed opening socket
to (127.0.0.1:8009) (errno=111)
[Thu May 05 01:10:38 2011] [16891:140430015608640] [error]
ajp_send_request::jk_ajp_common.c (1585): (worker1) connecting to
backend failed. Tomcat is probably not started
or is listening on the wrong port (errno=111)


In other words - I cannot find any trace of tomcat crash in any log.
Can you help with looking for it? Maybe hs_err_pid*.log is in some not
obvious place.


This is my enviroment, takes with JMX:

VM arguments:
-Djava.util.logging.config.file=/usr/lib/tomcat/conf/logging.properties
-Xmx3000m -Xms1500m -Xmn700m -XX:PermSize=768m -XX:MaxPermSize=1000m
-XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode
-XX:+CMSIncrementalPacing -XX:CMSIncrementalDutyCycleMin=0
-XX:CMSIncrementalDutyCycle=10 -XX:+UseParNewGC
-XX:+CMSClassUnloadingEnabled -XX:MaxGCPauseMillis=250
-XX:MaxGCMinorPauseMillis=100
-Dorg.apache.jasper.compiler.Parser.STRICT_QUOTE_ESCAPING=false
-Dcom.sun.management.jmxremote
-Dcom.sun.management.jmxremote.authenticate=true
-Dcom.sun.management.jmxremote.password.file=/usr/lib/tomcat/conf/jmxremote.password
-Dcom.sun.management.jmxremote.access.file=/usr/lib/tomcat/conf/jmxremote.access
-Dcom.sun.management.jmxremote.ssl=false
-Djava.rmi.server.hostname=xxx.xxx.xxx.xxx
-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
-Djava.endorsed.dirs=/usr/lib/tomcat/endorsed
-Dcatalina.base=/usr/lib/tomcat -Dcatalina.home=/usr/lib/tomcat
-Djava.io.tmpdir=/usr/lib/tomcat/temp

Class path:
/usr/lib/tomcat/bin/bootstrap.jar

Library path:
/usr/lib/jvm/java-6-sun-1.6.0.24/jre/lib/amd64/server:/usr/lib/jvm/java-6-sun-1.6.0.24/jre/lib/amd64:/usr/lib/jvm/java-6-sun-1.6.0.24/jre/../lib/amd64:/usr/lib/postgresql/8.4/lib:/usr/lib/tomcat/lib:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib

Boot class path:
/usr/lib/jvm/java-6-sun-1.6.0.24/jre/lib/resources.jar:/usr/lib/jvm/java-6-sun-1.6.0.24/jre/lib/rt.jar:/usr/lib/jvm/java-6-sun-1.6.0.24/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-6-sun-1.6.0.24/jre/lib/jsse.jar:/usr/lib/jvm/java-6-sun-1.6.0.24/jre/lib/jce.jar:/usr/lib/jvm/java-6-sun-1.6.0.24/jre/lib/charsets.jar:/usr/lib/jvm/java-6-sun-1.6.0.24/jre/lib/modules/jdk.boot.jar:/usr/lib/jvm/java-6-sun-1.6.0.24/jre/classes

Best,

Jakub

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


Mime
View raw message