It's all about the answers!

Ask a question

server.shutdown not able to shutdown tomcat

Joseph Mao (440189) | asked Feb 19 '13, 12:11 a.m.
In RTC 3.x, sometime when run server.shutdown it failed to shutdown tomcat.
user need to manually stop the process, it seems happen to both windows and linux.

Accepted answer

permanent link
Joseph Mao (440189) | answered Feb 19 '13, 12:18 a.m.
edited Feb 19 '13, 12:20 a.m.
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

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
Or, upgrade to RTC 4.x, which based on tomcat 7.x by default is also a choice.
Millard Ellingsworth selected this answer as the correct answer

Your answer

Register or to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.