Tomcat wont shut down when I execute shutdown.bat
Tomcat now starts up whenever I start up the computer (which I do not remember specifying)- I can see it running (Tomcat.exe) in the background when I open Windows Task Manager, and the only way to kill the process is to kill it from inside task manager. Im running Tomcat on Win XP Pro and the error message I get is
C:\Apache\Tomcat 4.1\bin>shutdown
Using CATALINA_BASE: C:\Apache\Tomcat 4.1
Using CATALINA_HOME: C:\Apache\Tomcat 4.1
Using CATALINA_TMPDIR: C:\Apache\Tomcat 4.1\temp
Using JAVA_HOME: C:\j2sdk1.4.1_02
Catalina.stop: java.net.ConnectException: Connection refused: connect
java.net.ConnectException: Connection refused: connect
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:426)
at java.net.Socket.connect(Socket.java:376)
at java.net.Socket.<init>(Socket.java:291)
at java.net.Socket.<init>(Socket.java:119)
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: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(Bootstrap.java:203)
C:\Apache\Tomcat 4.1\bin>
Aside from the non-existant shudown functionality I seem to be able to run servlets and JSPs just fine.
I hope someone knows whats wrong.
Jon
Tomcat now starts up whenever I start up the computer (which I do not remember specifying)- I can see it running (Tomcat.exe) in the background when I open Windows Task Manager, and the only way to kill the process is to kill it from inside task manager. Im running Tomcat on Win XP Pro and the error message I get is
C:\Apache\Tomcat 4.1\bin>shutdown
Using CATALINA_BASE: C:\Apache\Tomcat 4.1
Using CATALINA_HOME: C:\Apache\Tomcat 4.1
Using CATALINA_TMPDIR: C:\Apache\Tomcat 4.1\temp
Using JAVA_HOME: C:\j2sdk1.4.1_02
Catalina.stop: java.net.ConnectException: Connection refused: connect
java.net.ConnectException: Connection refused: connect
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:426)
at java.net.Socket.connect(Socket.java:376)
at java.net.Socket.<init>(Socket.java:291)
at java.net.Socket.<init>(Socket.java:119)
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: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(Bootstrap.java:203)
C:\Apache\Tomcat 4.1\bin>
Aside from the non-existant shudown functionality I seem to be able to run servlets and JSPs just fine.
I hope someone knows whats wrong.
Jon