• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Tomcat Shutdown problem

 
Srirama Srirama
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When I am shutting down the tomcat it is throeing the below errors
Catalina.stop: java.net.ConnectException: A remote host refused an attempted connect operation.
java.net.ConnectException: A remote host refused an attempted connect operation.
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:320)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:185)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
at java.net.Socket.connect(Socket.java:436)
at java.net.Socket.connect(Socket.java:386)
at java.net.Socket.<init>(Socket.java:301)
at java.net.Socket.<init>(Socket.java:129)
at org.apache.catalina.startup.Catalina.stop(Catalina.java:581)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:402)
at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:61)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:40)
at java.lang.reflect.Method.invoke(Method.java:335)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)

What should I do now?
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Since this is Tocmat specific, I'll move this to our Apache Tomcat forum for you.
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13074
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?

Bill
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic