You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Loren Hall <ad...@insiteswebservices.com> on 2003/08/18 05:27:04 UTC

Tomcat 4.1.24 12 minute startup


Just recently I'm finding each time i start tomcat 4.1.24 it takes longer
and longer to start.

It starts fast, but after a few stop/starts it 'spins' with CPU usage at
99%.  First for like 90seconds then for a couple minutes, the example below
shows it took 12 minutes to start. I have no clue what it's trying to do,
and have found no info in the logs to account for this.  I have no reason to
believe it relates to my app at all, and everything works fine when it
eventually starts.

The 'spin' happens just after printing the last servletMapping info for my
app and before the Protocol is declared started.

Any thoughts are appreciated.

				-----STARTUP OUTPUT-------

Aug 17, 2003 7:47:19 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on port 8080
Starting service Tomcat-Standalone
Apache Tomcat/4.1.24
register('-//Apache Software Foundation//DTD Struts Configuration 1.0//EN',
'jar
:file:/C:/home/insitesw/tomcat/build/webapps/insite/WEB-INF/lib/struts.jar!/
org/
apache/struts/resources/struts-config_1_0.dtd'
register('-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN',
'jar:file:/C:
/home/insitesw/tomcat/build/webapps/insite/WEB-INF/lib/struts.jar!/org/apach
e/st
ruts/resources/web-app_2_2.dtd'
register('-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN',
'jar:file:/C:
/home/insitesw/tomcat/build/webapps/insite/WEB-INF/lib/struts.jar!/org/apach
e/st
ruts/resources/web-app_2_3.dtd'
resolveEntity('-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN',
'http://
java.sun.com/j2ee/dtds/web-app_2_2.dtd')
 Resolving to alternate DTD
'jar:file:/C:/home/insitesw/tomcat/build/webapps/ins
ite/WEB-INF/lib/struts.jar!/org/apache/struts/resources/web-app_2_2.dtd'
Call
Insites.theSystem.Facilitator.addServletMapping(action/java.lang.String,*.d
o/java.lang.String)
register('-//Apache Software Foundation//DTD Struts Configuration 1.0//EN',
'jar
:file:/C:/home/insitesw/tomcat/build/webapps/insite/WEB-INF/lib/struts.jar!/
org/
apache/struts/resources/struts-config_1_0.dtd'
register('-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN',
'jar:file:/C:
/home/insitesw/tomcat/build/webapps/insite/WEB-INF/lib/struts.jar!/org/apach
e/st
ruts/resources/web-app_2_2.dtd'
register('-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN',
'jar:file:/C:
/home/insitesw/tomcat/build/webapps/insite/WEB-INF/lib/struts.jar!/org/apach
e/st
ruts/resources/web-app_2_3.dtd'
resolveEntity('-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN',
'http://
java.sun.com/j2ee/dtds/web-app_2_2.dtd')
 Resolving to alternate DTD
'jar:file:/C:/home/insitesw/tomcat/build/webapps/ins
ite/WEB-INF/lib/struts.jar!/org/apache/struts/resources/web-app_2_2.dtd'
Call
Insites.theSystem.Facilitator.addServletMapping(action/java.lang.String,*.d
o/java.lang.String)


[SPINS]


Aug 17, 2003 7:59:46 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on port 8080


Loren Hall