Comment 0 for bug 827922

Revision history for this message
mdxyz (mdxyz) wrote : On Tomcat6 shutdown web apps do not get shutdown

When shutting down tomcat6 by "/etc/init.d/tomcat6 stop" the contained web apps within tomcat do not get shut down. This is visible as the initialized Servlets within the web apps never have their destroy() method being called. This way a web app cannot shut down gracefully and save all the current data.
For examle when re- or undeploying a web app, it is shut down gracefully and the Servelet's destroy() method is being called.

I remember the shutdown worked fine for tomcat5.5 on ubuntu 8.04.

lsb_release -rd
Description: Ubuntu 10.04.3 LTS
Release: 10.04

apt-cache policy tomcat6
tomcat6:
  Installed: 6.0.24-2ubuntu1.7
  Candidate: 6.0.24-2ubuntu1.7
  Version table:
 *** 6.0.24-2ubuntu1.7 0
        500 http://de.archive.ubuntu.com/ubuntu/ lucid-updates/main Packages
        500 http://security.ubuntu.com/ubuntu/ lucid-security/main Packages
        100 /var/lib/dpkg/status
     6.0.24-2ubuntu1 0
        500 http://de.archive.ubuntu.com/ubuntu/ lucid/main Packages

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: tomcat6 6.0.24-2ubuntu1.7
ProcVersionSignature: Ubuntu 2.6.32-33.71-generic 2.6.32.41+drm33.18
Uname: Linux 2.6.32-33-generic x86_64
Architecture: amd64
Date: Wed Aug 17 12:03:54 2011
PackageArchitecture: all
ProcEnviron:
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: tomcat6