You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Geo Wulf <ge...@gmail.com> on 2015/03/04 13:41:10 UTC

Long start-up time of Tomcat 8.0.20

Hi everyone,

I'm trying to switch from Tomcat 7 to 8 (8.0.20).

Starting Tomcat 8 takes about 20 minutes (about 100 seconds for Tomcat 7).
According to log, there is a delay of about 18 minutes between the log
message "Starting Servlet Engine" and the next log message:

04-Mar-2015 11:57:35.584 INFO [main]
org.apache.catalina.core.StandardEngine.startInternal Starting Servlet
Engine: Apache Tomcat/8.0.20
04-Mar-2015 12:16:01.069 FINE [beta.agnitas.de-startStop-1]
org.apache.jasper.servlet.TldScanner$TldScannerCallback.scan No TLD files
were found in [....

I disabled scanning for TLD for all Jar files, but it does not improve
start-up time.

Any suggestions?

System is a Linux 2.6.32 (amd64) running Oracle Java 1.8.0_31, Tomcat
8.0.20 with Apache Tomcat Native library 1.1.32


Best regards,

Markus

Re: Long start-up time of Tomcat 8.0.20

Posted by Konstantin Kolinko <kn...@gmail.com>.
2015-03-04 15:41 GMT+03:00 Geo Wulf <ge...@gmail.com>:
> Hi everyone,
>
> I'm trying to switch from Tomcat 7 to 8 (8.0.20).
>
> Starting Tomcat 8 takes about 20 minutes (about 100 seconds for Tomcat 7).
> According to log, there is a delay of about 18 minutes between the log
> message "Starting Servlet Engine" and the next log message:
>
> 04-Mar-2015 11:57:35.584 INFO [main]
> org.apache.catalina.core.StandardEngine.startInternal Starting Servlet
> Engine: Apache Tomcat/8.0.20
> 04-Mar-2015 12:16:01.069 FINE [beta.agnitas.de-startStop-1]
> org.apache.jasper.servlet.TldScanner$TldScannerCallback.scan No TLD files
> were found in [....
>
> I disabled scanning for TLD for all Jar files, but it does not improve
> start-up time.
>
> Any suggestions?
>
> System is a Linux 2.6.32 (amd64) running Oracle Java 1.8.0_31, Tomcat
> 8.0.20 with Apache Tomcat Native library 1.1.32

FAQ:
http://wiki.apache.org/tomcat/HowTo/FasterStartUp

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