Tomcat 6 should not implement the TearDown spec

Bug #299436 reported by Thierry Carrez on 2008-11-18
Affects Status Importance Assigned to Milestone
tomcat6 (Ubuntu)
Thierry Carrez

Bug Description

Binary package hint: tomcat6

Tomcat 6 currently implements the TearDown spec [1] which provides faster shutdown by avoiding the init script to be called at system shutdown or reboot, and instead rely on the processes being correctly terminated and killed by the sendsigs script.

However, one might implement LifecycleListener callbacks in webapps that result in specific code being executed when Contexts are destroyed, and TearDown would bypass that feature. Therefore it would be preferable not to implement TearDown for Tomcat 6.


Thierry Carrez (ttx) on 2008-11-18
Changed in tomcat6:
importance: Undecided → Low
status: New → Triaged
Thierry Carrez (ttx) on 2008-11-24
Changed in tomcat6:
assignee: nobody → tcarrez
status: Triaged → In Progress
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package tomcat6 - 6.0.18-0ubuntu4

tomcat6 (6.0.18-0ubuntu4) jaunty; urgency=low

  * tomcat6.init, tomcat6.postinst, tomcat6.dirs, tomcat6.default,
    README.debian: Use /tmp/tomcat6-temp instead of /var/lib/tomcat6/temp as
    the JVM temporary directory and clean it at each restart (LP: #287452)
  * policy/04webapps.policy: add rules to allow usage of
  * tomcat6.init, rules: Do not use TearDown, as this results in
    LifecycleListener callbacks in webapps being bypassed (LP: #299436)
  * rules: Compile at Java 1.5 level to allow usage of Java 5 JREs
    (LP: #286427)
  * control, rules, libservlet2.5-java-doc.install,
    libservlet2.5-java-doc.links: New libservlet2.5-java-doc package ships
    missing Servlet/JSP API documentation (LP: #279645)
  * patches/use-commons-dbcp.patch: Change default DBCP factory class
    to org.apache.commons.dbcp.BasicDataSourceFactory (LP: #283852)
  * tomcat6.dirs, tomcat6.postinst, default_root/index.html: Create
    Catalina/localhost in /etc/tomcat6 and make it writeable by the tomcat6
    group, so that autodeploy and admin webapps work as expected (LP: #294277)
  * patches/disable-apr-loading.patch: Disable APR library loading until we
    properly provide it.
  * patches/disable-ajp-connector: Do not load AJP13 connector by default
    (LP: #300697)
  * rules: minor fixes to prevent build being called twice.

 -- Thierry Carrez <email address hidden> Thu, 27 Nov 2008 12:47:42 +0000

Changed in tomcat6:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers