Hello, we are having problems with slow server startup with Tomcat6. It is a
basic webapp and the server starts up fairly quickly when WEB-INF exists,
but if we are trying to deploy from a WAR, it takes 10 times as long. I've
downloaded the tomcat source to try to dig in and see what is going on, but
thought I'd try here first. We are getting different behavior on 3 different
systems. On one windows xp machine, it takes about 7-8 seconds to complete
the server startup, on another about 15s, and on the windows 2000 machine it
takes over a minute. I only mention the OS because that is the only
difference software wise. This is all using the same WAR, built and packed
on one machine.
I've tried APR and it is actually slower starting up. Here is a sample out
of the Catalina log:

Aug 23, 2007 10:13:42 AM org.apache.catalina.core.AprLifecycleListener init
INFO: The Apache Tomcat Native library which allows optimal performance in
production environments was not found on the java.library.path: {Path
removed for brevity}
Aug 23, 2007 10:13:42 AM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Aug 23, 2007 10:13:42 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 953 ms
Aug 23, 2007 10:13:42 AM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Aug 23, 2007 10:13:42 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.13
Aug 23, 2007 10:15:00 AM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Aug 23, 2007 10:15:00 AM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Aug 23, 2007 10:15:00 AM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/63  config=null
Aug 23, 2007 10:15:00 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 78567 ms


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

Reply via email to