RE: Tomcat hangs for minutes between ContextConfig and StandardContext (Starting the app)

2009-10-13 Thread Law, Christopher
By any chance, is there a case mismatch - is your webapp properly deployed in [appBase]/Spc.xml or perhaps incorrectly in [appBase]/spc.xml? I'm not sure I understand this question. The Spc.war file is copied to ${CATALINA_HOME}/webapps and Tomcat deploys it to ${CATALINA_HOME}/webapps/Spc.

RE: Tomcat hangs for minutes between ContextConfig and StandardContext (Starting the app)

2009-10-13 Thread Caldarale, Charles R
From: Law, Christopher [mailto:chris@snapon.com] Subject: RE: Tomcat hangs for minutes between ContextConfig and StandardContext (Starting the app) By any chance, is there a case mismatch - is your webapp properly deployed in [appBase]/Spc.xml or perhaps incorrectly in

RE: Tomcat hangs for minutes between ContextConfig and StandardContext (Starting the app)

2009-10-12 Thread Law, Christopher
Well, I guess I was wrong. The delay is still there. I installed a new copy of Tomcat and still have the same problem. I have the following context files: ${CATALINA_HOME}/conf/context.xml Which contains (comments removed): Context WatchedResourceWEB-INF/web.xml/WatchedResource Manager

RE: Tomcat hangs for minutes between ContextConfig and StandardContext (Starting the app)

2009-10-12 Thread Caldarale, Charles R
From: Law, Christopher [mailto:chris@snapon.com] Subject: RE: Tomcat hangs for minutes between ContextConfig and StandardContext (Starting the app) ${CATALINA_HOME}/conf/context.xml Which contains (comments removed): Context WatchedResourceWEB-INF/web.xml/WatchedResource

RE: Tomcat hangs for minutes between ContextConfig and StandardContext (Starting the app)

2009-10-10 Thread Law, Christopher
Yup, guess I missed the keyword Attributes in the doc. Anyway, I added the attributes and it has significantly improved the deploy and startup. There are minor delays as indicated in the Tomcat doc, but these are delays of seconds - much better than four minutes! Thank you! -Original

RE: Tomcat hangs for minutes between ContextConfig and StandardContext (Starting the app)

2009-10-09 Thread Law, Christopher
Well, I created a context file named for my app (Spc.xml) and placed it in ${CATALINA_HOME}/conf/Catalina/localhost/. I set the two entries: antiJARLockingtrue/antiJARLocking antiResourceLockingtrue/antiResourceLocking The Tomcat logs show: 2009-10-09 16:03:11,093 DEBUG main

RE: Tomcat hangs for minutes between ContextConfig and StandardContext (Starting the app)

2009-10-09 Thread Caldarale, Charles R
From: Law, Christopher [mailto:chris@snapon.com] Subject: RE: Tomcat hangs for minutes between ContextConfig and StandardContext (Starting the app) The Tomcat logs show: 2009-10-09 16:03:11,093 DEBUG main org.apache.catalina.startup.ContextConfig - Successfully processed context

Re: Tomcat hangs for minutes between ContextConfig and StandardContext (Starting the app)

2009-10-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rainer, On 10/6/2009 2:00 PM, Rainer Jung wrote: On 06.10.2009 17:41, Christopher Schultz wrote: Another possibility is that SecureRandom is taking forever to initialize: if your JVM is configured to use a blocking source of entropy, that may

RE: Tomcat hangs for minutes between ContextConfig and StandardContext (Starting the app)

2009-10-07 Thread Law, Christopher
I appreciate your responses, but I'm afraid I don't know what a blocking entropy is. Also, I don't appear to have any issues in resolving or referencing DTDs during building. I had posted another email indicating some more behavior, basically that the delay occurs only when a new WAR file is

RE: Tomcat hangs for minutes between ContextConfig and StandardContext (Starting the app)

2009-10-07 Thread Caldarale, Charles R
From: Law, Christopher [mailto:chris@snapon.com] Subject: RE: Tomcat hangs for minutes between ContextConfig and StandardContext (Starting the app) I'm afraid I don't know what a blocking entropy is. /dev/random is the system-provided random byte stream for UNIX/Linux and some other

RE: Tomcat hangs for minutes between ContextConfig and StandardContext (Starting the app)

2009-10-07 Thread Law, Christopher
Thanks, Chuck, I'll take a look into this. Appreciate it. Chris -Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: Wednesday, October 07, 2009 5:46 PM To: Tomcat Users List Subject: RE: Tomcat hangs for minutes between ContextConfig and

Tomcat hangs for minutes between ContextConfig and StandardContext (Starting the app)

2009-10-06 Thread Law, Christopher
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

RE: Tomcat hangs for minutes between ContextConfig and StandardContext (Starting the app)

2009-10-06 Thread Caldarale, Charles R
From: Law, Christopher [mailto:chris@snapon.com] Subject: Tomcat hangs for minutes between ContextConfig and StandardContext (Starting the app) It almost seems like Tomcat is blocked waiting for a reply from some request. Quite possible. Could be DNS resolution, or references in .xml

Re: Tomcat hangs for minutes between ContextConfig and StandardContext (Starting the app)

2009-10-06 Thread Christopher Schultz
-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

Re: Tomcat hangs for minutes between ContextConfig and StandardContext (Starting the app)

2009-10-06 Thread Pid Ster
Does the app perform normally when it does start up? I recently experienced this when I inadvertently placed the same jar in two places - the app displayed other errors when it finally loaded. p -- On 6 Oct 2009, at 15:52, Law, Christopher chris@snapon.com wrote: Hello, I'm running

Re: Tomcat hangs for minutes between ContextConfig and StandardContext (Starting the app)

2009-10-06 Thread Rainer Jung
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

RE: Tomcat hangs for minutes between ContextConfig and StandardContext (Starting the app)

2009-10-06 Thread Law, Christopher
Thanks for the reply. A little more information: 1. The app always works after it starts up (assuming I didn't introduce any errors). 2. If, after the app starts up (whether I exercise it or not), I shutdown Tomcat, remove the exact same stuff from Tomcat (WAR, exploded WAR,