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