[Bug 827922] Re: On Tomcat6 shutdown web apps are not able to log anything
James Page
827922 at bugs.launchpad.net
Fri Aug 19 13:42:15 UTC 2011
mdxyz - thanks for the test.war - helped alot with confirming this
issue.
I was able to confirm this problem using the init script.
There are two ways of shutting down a running tomcat6 instance:
1) Send it the TERM signal - this is what the init script does through
start-stop-daemon; when tomcat is shutdown this way I see no logging of
any description.
2) Use the /usr/share/tomcat6/bin/shutdown.sh script to connect to the
shutdown port (normally 8005) and initiate the shutdown that way:
shutting down the tomcat6 instance this way results in correct shutdown
logging to /var/log/tomcat6:
19-Aug-2011 14:32:49 org.apache.coyote.http11.Http11Protocol pause
INFO: Pausing Coyote HTTP/1.1 on http-8080
19-Aug-2011 14:32:50 org.apache.catalina.core.StandardService stop
INFO: Stopping service Catalina
19-Aug-2011 14:32:50 de.mdiener.test.TestDestroy destroy
WARNING: destroy
19-Aug-2011 14:32:50 org.apache.coyote.http11.Http11Protocol destroy
INFO: Stopping Coyote HTTP/1.1 on http-8080
I would suspect that sending the process the TERM signal differs from
initiating a tomcat controlled shutdown; I'll take a look at the source
and see.
** Changed in: tomcat6 (Ubuntu)
Status: New => Confirmed
--
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 are not able to log anything
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