-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Christopher,

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
happening?

http://wiki.apache.org/tomcat/HowTo#How_do_I_obtain_a_thread_dump_of_my_running_webapp_.3F

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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkrLZSQACgkQ9CaO5/Lv0PBTXgCfeVocP4clX5dBblkIKaBwrHkG
rHAAn1klDppfjMEU+vA4wDQQqLsNryJP
=Sfu+
-----END PGP SIGNATURE-----

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

Reply via email to