After shutting down tomcat, I get this message:
INFO: Failed shutdown of Apache Portable Runtime
Then Tomcat shuts down after all
I haven't found a reasonable explanation googling around, nor in the single duplicate I've found (0 answers)
After shutting down tomcat, I get this message:
INFO: Failed shutdown of Apache Portable Runtime
Then Tomcat shuts down after all
I haven't found a reasonable explanation googling around, nor in the single duplicate I've found (0 answers)
The most common cause is that a non-daemon thread is still running (Tomcat FAQ). Click here for more information on daemon threads.
To find out which thread is causing problems (on Unix):
kill -3 tomcatProcId
(find tomcatProcId using ps)If you want, you can instruct Tomcat to kill the JVM after shutdown, even if non-daemon threads remain (which might sometimes be a bad thing):
export CATALINA_PID=/tmp/catalina_pid
catalina.sh stop -force
to stop Tomcat.It seems that this is not due to some daemon threads after all, just a poor log message