You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Sebastien Tardif <Se...@gmo.com> on 2014/03/25 18:41:19 UTC

Should Tomcat Windows Service StopTimeout kill the process at timeout?

Hello,

I was somehow expecting something useful from "-StopTimeout" parameter from Tomcat 7.0.52 Windows Service referenced at http://tomcat.apache.org/tomcat-7.0-doc/windows-service-howto.html

But when I set a timeout, well in the UI it's called "timeout" under "shutdown" tab, the behavior seems to only "give-up" after the timeout, instead of actually forcing to shutdown by killing the process.

Do we have a way without writing new code to force shutdown by killing the process after a certain amount of time?


Cordially,
Sébastien Tardif

Re: Should Tomcat Windows Service StopTimeout kill the process at timeout?

Posted by David kerber <dc...@verizon.net>.
On 3/25/2014 1:41 PM, Sebastien Tardif wrote:
> Hello,
>
> I was somehow expecting something useful from "-StopTimeout" parameter from Tomcat 7.0.52 Windows Service referenced at http://tomcat.apache.org/tomcat-7.0-doc/windows-service-howto.html
>
> But when I set a timeout, well in the UI it's called "timeout" under "shutdown" tab, the behavior seems to only "give-up" after the timeout, instead of actually forcing to shutdown by killing the process.
>
> Do we have a way without writing new code to force shutdown by killing the process after a certain amount of time?
>
>
> Cordially,
> Sébastien Tardif
>

I wish there was, but I don't think there is one in the windows service 
system.  I end up killing the process manually if the service controller 
doesn't shut it down in time.


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