File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat restart issues" Watch "Tomcat restart issues" New topic

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 ./, 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: Connection refused Connection refused
at 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 ./
Anyone has any idea?
thanks a lot guys,
I agree. Here's the link:
subject: Tomcat restart issues
jQuery in Action, 3rd edition