Bug 31239 - destroy method of servlets not called when stopping tomcat service
Summary: destroy method of servlets not called when stopping tomcat service
Status: RESOLVED DUPLICATE of bug 29521
Alias: None
Product: Tomcat 5
Classification: Unclassified
Component: Unknown (show other bugs)
Version: 5.0.28
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---
Assignee: Tomcat Developers Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-15 10:53 UTC by Henk Leermakers
Modified: 2004-11-18 07:10 UTC (History)
1 user (show)



Attachments
Simple Test WAR: writes to System.out on destroy (1.94 KB, application/octet-stream)
2004-09-28 13:48 UTC, Yoav Shapira
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Henk Leermakers 2004-09-15 10:53:12 UTC
destroy method of servlets loading at startup is not called when stopping 
tomcat service. Method is called when stopping tomcat via shutdown.bat!

Destroy method was called in tomcat 5.0.16 also when stopping tomcat service.

Also not working in 5.0.24 and 5.0.25.
Comment 1 Tim Funk 2004-09-15 11:13:59 UTC
Looks like a dup of http://issues.apache.org/bugzilla/show_bug.cgi?id=23373
Comment 2 Yoav Shapira 2004-09-28 13:47:28 UTC
I've verified the bug exists for Tomcat 5.0.28 on Windows 2000 (in addition to 
the Windows XP reported by the user), using Sun JDK 1.4.2_04.  Attaching WAR 
used to verify bug.
Comment 3 Yoav Shapira 2004-09-28 13:48:02 UTC
Created attachment 12883 [details]
Simple Test WAR: writes to System.out on destroy
Comment 4 Yoav Shapira 2004-11-18 16:10:25 UTC

*** This bug has been marked as a duplicate of 29521 ***