Tomcat Stop error.
Root@localhost bin]#./shutdown.sh
Using catalina_base:/usr/local/tomcat
Using Catalina_home:/usr/local/tomcat
Using Catalina_tmpdir:/usr/local/tomcat/temp
Using Jre_home:/usr/java/jdk1.6.0_02/jre
2010-11-9 19:36:03 Org.apache.catalina.startup.Catalina Stopserver
Serious: Catalina.stop:
Java.net.ConnectException:Connection refused
At Java.net.PlainSocketImpl.socketConnect (Native method)
At Java.net.PlainSocketImpl.doConnect (plainsocketimpl.java:333)
At Java.net.PlainSocketImpl.connectToAddress (plainsocketimpl.java:195)
At Java.net.PlainSocketImpl.connect (plainsocketimpl.java:182)
At Java.net.SocksSocketImpl.connect (sockssocketimpl.java:366)
At Java.net.Socket.connect (socket.java:518)
At Java.net.Socket.connect (socket.java:468)
At Java.net.socket.<init> (socket.java:365)
At Java.net.socket.<init> (socket.java:179)
At Org.apache.catalina.startup.Catalina.stopServer (catalina.java:395)
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:337)
At Org.apache.catalina.startup.Bootstrap.main (bootstrap.java:415)
This problem, generally, is to start tomcat multiple times, 8080 ports are occupied. Restarting the server can resolve this issue.