net stop tomcat6 service hangs on Windows 2008 (64-bit)

2009-06-17 Thread Matt Sullivan
I'm seeing a pretty consistent issue when stopping Tomcat6, when running as a Windows service. Repro: From the cmd prompt type net stop tomcat6 Results: The Apache Tomcat service is stopping The Apache Tomcat service could not be s

RE: net stop tomcat6 service hangs on Windows 2008 (64-bit)

2009-06-18 Thread Matt Sullivan
Charles, indeed the net stop will fail even with latest version 1.6.0_14 as Tomcat's JVM. To Marty's q. re: sc query, answer: SERVICE_NAME: tomcat6 TYPE : 10 WIN32_OWN_PROCESS STATE : 3 STOP_PENDING (STOPPABLE, NOT_PAUSA

RE: net stop tomcat6 service hangs on Windows 2008 (64-bit)

2009-06-19 Thread Matt Sullivan
> Ok, rules that out. Do any of your webapps make use of JNI? Might want to use Process Explorer to see what's still going on inside Tomcat. > > - Chuck No JNI. The process dump immediately below shows JVM still loaded, etc. I then drill into some of the threads via Process Explorer further

RE: net stop tomcat6 service hangs on Windows 2008 (64-bit)

2009-07-17 Thread Matt Sullivan
omcat6.exe process if net stop fails, unless anyone can think of something else to try. -Original Message----- From: Matt Sullivan [mailto:mjdsulli...@hotmail.com] Sent: Friday, June 19, 2009 5:05 PM To: 'Tomcat Users List' Subject: RE: net stop tomcat6 service hangs on Windows 2008 (

RE: net stop tomcat6 service hangs on Windows 2008 (64-bit)

2009-07-21 Thread Matt Sullivan
I don't have a shutdown.bat or .cmd anywhere in C:\Program Files\Apache Software Foundation. No indication in logs of an OOM situation. I'm going to write a small batch file that attempts to stop the service, sleeps, queries the service state with SC, and if required kills the process. Thanks