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 Shutdown problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat Shutdown problem" Watch "Tomcat Shutdown problem" New topic

Tomcat Shutdown problem

Srirama Srirama

Joined: May 05, 2006
Posts: 10
When I am shutting down the tomcat it is throeing the below errors
Catalina.stop: A remote host refused an attempted connect operation. A remote host refused an attempted connect operation.
at Method)
at org.apache.catalina.startup.Catalina.stop(
at org.apache.catalina.startup.Catalina.execute(
at org.apache.catalina.startup.Catalina.process(
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
at java.lang.reflect.Method.invoke(
at org.apache.catalina.startup.Bootstrap.main(

What should I do now?
Ben Souther

Joined: Dec 11, 2004
Posts: 13410

Since this is Tocmat specific, I'll move this to our Apache Tomcat forum for you.

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 13037
That sounds like your shutdown attempt is using a socket that Tomcat is not listening on.
What exactly are you executing to try to shutdown Tomcat?
How was Tomcat started?
Which versions of Tomcat and Java?
Did you change any of the port settings in server.xml from the originals?
How was Tomcat installed? As a service or a plain application?

I agree. Here's the link:
subject: Tomcat Shutdown problem
jQuery in Action, 3rd edition