This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Tomcat restart issues  RSS feed

 
Mohammad Farhat
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!