just do two thread dumps during the freeze
kill -3 <tomcat process id>
sleep 5
kill -3 <tomcat process id>
the thread dump will identify where it is hanging, and it gets output to
std.out, by default to catalina.out
Filip
Adam Hardy wrote:
I've been trying to solve this problem for a couple of hours now and I
can't see any solution on google or in the archives.
I have tomcat 6.0.13 and java 1.5.0_12 running on debian linux 2.6, my
own installation, not the debian packages.
I stripped the tomcat config down to the bare minimum, no webapps, and
just the one connector configured:
<Connector port="8080" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" />
It takes about 3 mins to start, as you can see from the logging below
at the point where BaseModelMBean tries to preregister.
The config works fine on my linux workstation, but not on this
machine. The machine is a gateway and DNS server also running Apache
on port 80, but even with the firewall and the servers down, I can't
get around this problem.
Can anybody help?
FINE: preRegister [EMAIL PROTECTED]
Catalina:type=StringCache
19-May-2008 17:22:58 org.apache.tomcat.util.modeler.Registry
registerComponent
FINE: Managed= Catalina:type=Service,serviceName=Catalina
19-May-2008 17:22:58 org.apache.tomcat.util.modeler.BaseModelMBean
preRegister
FINE: preRegister StandardService[Catalina]
Catalina:type=Service,serviceName=Catalina
19-May-2008 17:22:58 org.apache.tomcat.util.modeler.Registry
registerComponent
FINE: Managed= Catalina:type=Connector,port=8080
19-May-2008 17:22:58 org.apache.tomcat.util.modeler.BaseModelMBean
preRegister
FINE: preRegister [EMAIL PROTECTED]
Catalina:type=Connector,port=8080
19-May-2008 17:26:07 org.apache.tomcat.util.modeler.BaseModelMBean
preRegister
FINE: preRegister BaseModelMbean[null] Catalina:type=MBeanFactory
19-May-2008 17:26:07 org.apache.tomcat.util.modeler.BaseModelMBean
preRegister
FINE: preRegister null Catalina:type=MBeanFactory
19-May-2008 17:26:07 org.apache.tomcat.util.modeler.BaseModelMBean
preRegister
FINE: preRegister [EMAIL PROTECTED]
Catalina:type=NamingResources,resourcetype=Global
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]