0

I have an application that starts tomcat with an hidden command line (like startup.bat), when I shut down Windows tomcat process is not closed propery but simply killed. I can feel it because is not call the ContextDestroy method of my web application. By other hand if I call tomcat shutdown.bat the method is called. Is there any way to let windows close correctly tomcat?

Tobia
  • 9,165
  • 28
  • 114
  • 219
  • possible duplicate of [Tomcat multiple instances simultaneously](http://stackoverflow.com/questions/16110528/tomcat-multiple-instances-simultaneously) – Paul Sweatte Oct 29 '14 at 20:50
  • Possibile duplicate? I'm speaking of properly of tomcat shutdown during Windows shutdown. Not how to run many instances! – Tobia Oct 31 '14 at 19:35

0 Answers0