[Bug 827922] Re: On Tomcat6 shutdown web apps do not get shutdown

Joonas Koivunen joonas.koivunen at gmail.com
Wed Aug 17 10:53:59 UTC 2011


We have tomcat6 deployed for multiple servers running our inhouse apps
and have no shutdown problems.

What applications are you running? Could you do a jstack printout* AFTER
you've called service tomcat6 stop? Does tomcat accept new connections
or multiple SHUTDOWN requests after running the service tomcat6 stop for
the first time?

Note that you'll need to run jstack as the tomcat user, with extra
arguments to compensate for java.io.tmpdir, for example:
"-J-Djava.io.tmpdir=$WHEREEVER_YOUR_TOMCAT_TEMP_IS".

For one of my installations its:

$ sudo -u tomcat jstack -l -J-Djava.io.tmpdir=/tmp/tomcat6-tmp
<tomcatPid>

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to tomcat6 in Ubuntu.
https://bugs.launchpad.net/bugs/827922

Title:
  On Tomcat6 shutdown web apps do not get shutdown

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/tomcat6/+bug/827922/+subscriptions



More information about the Ubuntu-server-bugs mailing list