tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Filip Hanik - Dev Lists <devli...@hanik.com>
Subject Re: Long freeze during tomcat start
Date Mon, 19 May 2008 21:17:36 GMT
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 org.apache.tomcat.util.buf.StringCache@3eca90 
> 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 org.apache.catalina.connector.Connector@17f1ba3 
> 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 org.apache.catalina.deploy.NamingResources@1dd46f7 
> Catalina:type=NamingResources,resourcetype=Global
>
>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
>


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


Mime
View raw message