Date Posted:
Product: TIBCO Spotfire®
Product: TIBCO Spotfire®
Problem:
Tomcat fails to shutdown gracefully.
Solution:
Resolution:
When shutting down Tomcat on a Unix based Operating Systems, sometimes it may throw the following errors:
===
SEVERE: Could not contact localhost:9005. Tomcat may not be running.Jan 05, 2016 12:12:23 PM org.apache.catalina.startup.Catalina stopServer
SEVERE: Catalina.stop:
java.net.ConnectException: Connection refused
===
Excluding any antivirus or firewalls that may be blocking the SHUTDOWN port , make sure that there is a time gap between any start/shutdown/restart events of the Spotfire Server. Tomcat may take a while to shutdown all services and if the server is restarted immediately after a shutdown, it may not release all the ports. This can lead to errors during any later shutdown operations.
Based on the environment, make sure that the shutdown port is in listening mode (using netstat) before restarting the server.
https://www.safaribooksonline.com/library/view/tomcat-the-definitive/0596003188/ch01s02.html
Based on the environment, make sure that the shutdown port is in listening mode (using netstat) before restarting the server.
http://stackoverflow.com/questions/11337727/tomcat-shutdown-very-slow-after-calling-shutdown-sh
Comments
0 comments
Article is closed for comments.