tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <>
Subject Re: Tomcat hangs for minutes between ContextConfig and StandardContext (Starting the app)
Date Tue, 06 Oct 2009 15:41:24 GMT
Hash: SHA1


On 10/6/2009 10:50 AM, Law, Christopher wrote:
> Hello, I'm running Tomcat 6.0.18 using Java 1.6.0_12 on Windows XP
> professional.
>> I have a problem that occurs during startup deploying a WAR file.
>> Tomcat deploys the WAR file but then there is a delay of minutes
>> before it tries to start the application.
>> During the delay, there is no CPU usage and there is no abnormal
>> activity that I can detect.  When Tomcat decides to start the
>> application, it fires right up.
>> It almost seems like Tomcat is blocked waiting for a reply from some
>> request.

It might be. Can you take a thread dump during this delay to see what is

My guess is that you are using XML validation and you have a firewall
that is preventing the JVM from contacting a remote server to fetch a DTD.

Another possibility is that SecureRandom is taking forever to
initialize: if your JVM is configured to use a blocking source of
entropy, that may be the problem. This often happens in *NIX
environments, but it appears that you are running on Microsoft Windows,
so that's unlikely to be the problem.

Any more information you can provide will certainly be helpful.

- -chris
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla -


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message