server.shutdown not able to shutdown tomcat
Accepted answer
this problem happen in tomcat 5.5 when there are some other rpc process running.
e.g. if ETL job still running
even user try run shutdown.bat/sh under tomcat/bin, will facing same problem.
It is same problem reported in tomcat defect
https://issues.apache.org/bugzilla/show_bug.cgi?id=36976
Although it mentioned been fixed in tomcat 5.5.23, but seems still affecting 5.5.35.
Good news here is problem no longer exists in tomcat 7.x.
So with tomcat 5.5.x, user need to
- make sure not ETL job running when shutdown tomcat
- for other backgroup process, can be consider as safe to kill
see https://jazz.net/forum/questions/3150/servershutdown-not-working
Or, upgrade to RTC 4.x, which based on tomcat 7.x by default is also a choice.
e.g. if ETL job still running
even user try run shutdown.bat/sh under tomcat/bin, will facing same problem.
It is same problem reported in tomcat defect
https://issues.apache.org/bugzilla/show_bug.cgi?id=36976
Although it mentioned been fixed in tomcat 5.5.23, but seems still affecting 5.5.35.
Good news here is problem no longer exists in tomcat 7.x.
So with tomcat 5.5.x, user need to
- make sure not ETL job running when shutdown tomcat
- for other backgroup process, can be consider as safe to kill
see https://jazz.net/forum/questions/3150/servershutdown-not-working
Or, upgrade to RTC 4.x, which based on tomcat 7.x by default is also a choice.