tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rob S." <rsli...@home.com>
Subject RE: Can't stop tomcat.exe windows service
Date Sun, 19 Aug 2001 16:02:43 GMT
Did you happen to change the value of the <Server> port between startup and
attempted shutdown?

- r

> -----Original Message-----
> From: Michael Chen [mailto:chen@rampoint.com]
> Sent: Sunday, August 19, 2001 10:40 AM
> To: tomcat-user@jakarta.apache.org
> Subject: Can't stop tomcat.exe windows service
>
>
>
> I'm running TC 4.0 (7) as a service on win2k. I just can't stop it.
> I've tried both the shutdown shortcut from start|program and also
> the shutdown script under /bin.
>
> C:\Program Files\Jakarta Tomcat
> 4.0\bin>C:\jbuilder5\jdk1.3\bin\java -jar
> -Dcatalina.home="C:\Program Files\Jakarta Tomcat 4.0" bootstrap.jar stop
> 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:320)
>         at
> java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:133)
>         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:120)
>         at java.net.Socket.<init>(Socket.java:273)
>         at java.net.Socket.<init>(Socket.java:100)
>         at org.apache.catalina.startup.Catalina.stop(Catalina.java:788)
>         at org.apache.catalina.startup.Catalina.execute(Catalina.java:659)
>         at org.apache.catalina.startup.Catalina.process(Catalina.java:178)
>         at java.lang.reflect.Method.invoke(Native Method)
>         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:202)
>
> C:\Program Files\Jakarta Tomcat 4.0\bin>shutdown
> Using CLASSPATH: ..\bin\bootstrap.jar;c:\jbuilder5\jdk1.3\lib\tools.jar
> 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:320)
>         at
> java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:133)
>         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:120)
>         at java.net.Socket.<init>(Socket.java:273)
>         at java.net.Socket.<init>(Socket.java:100)
>         at org.apache.catalina.startup.Catalina.stop(Catalina.java:788)
>         at org.apache.catalina.startup.Catalina.execute(Catalina.java:659)
>         at org.apache.catalina.startup.Catalina.process(Catalina.java:178)
>         at java.lang.reflect.Method.invoke(Native Method)
>         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:202)
>


Mime
View raw message