Hello all,
I am using tomcat4 ,now i am not able to shutdown my tomcat.
i added some context path in <context > tag.
when i tried to shutdown my tomcat i am getting the following message.
Stopping tomcat4: Using CATALINA_BASE: /var/tomcat4
Using CATALINA_HOME: /var/tomcat4
Using CATALINA_TMPDIR: /var/tomcat4/temp
Using JAVA_HOME: /usr/java/jdk
[GC 510K->146K(1984K), 0.0051750 secs]
[GC 658K->270K(1984K), 0.0033600 secs]
[GC 782K->323K(1984K), 0.0031600 secs]
[GC 835K->337K(1984K), 0.0019040 secs]
[GC 849K->360K(1984K), 0.0017900 secs]
[GC 870K->377K(1984K), 0.0018950 secs]
[GC 889K->384K(1984K), 0.0018080 secs]
[GC 896K->391K(1984K), 0.0014490 secs]
[GC 903K->385K(1984K), 0.0019590 secs]
[GC 897K->504K(1984K), 0.0032890 secs]
[GC 1016K->507K(1984K), 0.0015660 secs]
[GC 1019K->521K(1984K), 0.0019480 secs]
[GC 1033K->523K(1984K), 0.0010690 secs]
Catalina.stop: java.net.ConnectException: Connection refused
java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
at java.net.Socket.connect(Socket.java:452)
at java.net.Socket.connect(Socket.java:402)
at java.net.Socket.<init>(Socket.java:309)
at java.net.Socket.<init>(Socket.java:124)
at org.apache.catalina.startup.Catalina.stop(Unknown Source)
at org.apache.catalina.startup.Catalina.execute(Unknown Source)
at org.apache.catalina.startup.Catalina.process(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.main(Unknown Source)
[FAILED]