Please find attached this small test web app which will simply log
"init" if the Servlet's init() method is called and "destroy" when the
destroy() method is called.
public void init(ServletConfig config) throws ServletException {
Logger.getLogger(getClass().getName()).warn
Changed headline and description.
** Description changed:
- 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 w
Thanks for the hint with jstack, I should have at least tested it in
debug mode - my bad.
According to jstack the destroy method is called correctly. The problem seems
to be the logging during shutdown instead. Nothing is logged after the shutdown
is triggered and so this lead to my wrong assump
I case this is important:
java -version
java version "1.6.0_26"
Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02, mixed mode)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https:
Public bug reported:
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
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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/t
Public bug reported:
Binary package hint: sun-java5-bin
Preconfiguring packages ...
(Reading database ... 97519 files and directories currently installed.)
Unpacking sun-java5-bin (from .../sun-java5-bin_1.5.0-06-1_i386.deb) ...
sun-dlj-v1-1 license could not be presented
dpkg: error processing
Public bug reported:
Binary package hint: eclipse
it does work for the Sun JRE (if it would be installable - that's a
different bug). But when installing the Sun JRE the JAVA_HOME
environment variable has to be set the the Sun JRE home - that isn't
done automatically. So more or less, this is als