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:23:02 GMT
Hmm...  the only time I've gotten that when shutting down is:

1) Ajp12 port commented out (in Tomcat 3.x)
2) Value of port changed between startup and shutdown (in TC3 and TC4)
3) Server is already shutdown =)
4) Firewall or something not allowing connections to that port.

HTH!

- r

> -----Original Message-----
> From: Michael Chen [mailto:chen@rampoint.com]
> Sent: Sunday, August 19, 2001 12:16 PM
> To: tomcat-user@jakarta.apache.org
> Subject: RE: Can't stop tomcat.exe windows service
>
>
>
> I did not change any of the values for the default install as
> service. My server tag is:
>
> <Server port="8005" shutdown="SHUTDOWN" debug="0">
>
> >Reply-To: tomcat-user@jakarta.apache.org
> > "Rob S." <rslifka@home.com> <tomcat-user@jakarta.apache.org>
> RE: Can't stop tomcat.exe windows serviceDate: Sun, 19 Aug 2001
> 12:02:43 -0400
> >
> >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