On 06.10.2009 17:41, Christopher Schultz wrote:
> 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

+1

> 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.

You can also google for "xml entity resolution".

> 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.

... and should only be a problem if SSL is involved.

Regards,

Rainer

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

Reply via email to