aspose file tools*
The moose likes Tomcat and the fly likes Tomcat restart issues Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat restart issues" Watch "Tomcat restart issues" New topic
Author

Tomcat restart issues

Mohammad Farhat
Ranch Hand

Joined: Nov 17, 2005
Posts: 51
Hey guys,
i am having some problems with tomcat; when i start tomcat, it starts correctly, and i can access my website and all. But the problem is with shutting it down. If i shutdown tomcat through ./shutdown.sh, it does shutdown (i can no longer access my files), but the tomcat process is still running (if i try the same thing again, it gives me
Catalina.stop: java.net.ConnectException: Connection refused
java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method))
Meanwhile, if i try to restart directly /etc/rc.d/tomcat5 restart(without shutting down before), it hangs while doing this (eventhough again i can no longer access my website)
i will need to manually kill the process, and then run /etc/rc.d/tomcat5 restart which will start tomcat again (or use ./startup.sh)
Anyone has any idea?
thanks a lot guys,
Best,
Mohammad
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Tomcat restart issues
 
Similar Threads
Tomcat 5: Process still exists after shutdown
Connection Reset (Very Weird !)
start and shutdown of remote JBoss
connection refused on tomcat web server
how to redirect from apache to tomcat..?