tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pooja Swamy <poojasw...@gmail.com>
Subject Unable to shutdown Tomcat
Date Fri, 14 Feb 2014 18:44:42 GMT
I am unable to shutdown my tomcat gracefully. Everytime I try to shutdown
tomcat, this is the error I get.

test@17.198.48.77:/Users/test/software/tomcat/bin>./startup.sh
Using CATALINA_BASE:   /Users/test/software/tomcat
Using CATALINA_HOME:   /Users/test/software/tomcat
Using CATALINA_TMPDIR: /Users/test/software/tomcat/temp
Using JRE_HOME:
 /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home
Using CLASSPATH:
/Users/test/software/tomcat/bin/bootstrap.jar:/Users/test/software/tomcat/bin/tomcat-juli.jar
test@17.198.48.77:/Users/test/software/tomcat/bin>./shutdown.sh
Using CATALINA_BASE:   /Users/test/software/tomcat
Using CATALINA_HOME:   /Users/test/software/tomcat
Using CATALINA_TMPDIR: /Users/test/software/tomcat/temp
Using JRE_HOME:
 /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home
Using CLASSPATH:
/Users/test/software/tomcat/bin/bootstrap.jar:/Users/test/software/tomcat/bin/tomcat-juli.jar
Feb 14, 2014 6:37:52 PM org.apache.catalina.startup.Catalina stopServer
SEVERE: Catalina.stop:
java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:382)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:241)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:228)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:431)
at java.net.Socket.connect(Socket.java:527)
at java.net.Socket.connect(Socket.java:476)
at java.net.Socket.<init>(Socket.java:373)
at java.net.Socket.<init>(Socket.java:187)
at org.apache.catalina.startup.Catalina.stopServer(Catalina.java:499)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.stopServer(Bootstrap.java:371)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:453)


I have also tried killing, restarting, and ./shutdown.sh, installing tomcat
again, changing port number. Nothing seems to be helping. Please advise.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message