You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Aditya Kapur <AK...@ACNINC.COM> on 2003/08/12 17:04:16 UTC

RE: tomcat shutdown

Running tomcat on different ports is not enough. You have to specify
different ports for startup and shutdown in server.xml

-----Original Message-----
From: Chris Daly [mailto:C.daly@cancer.org.uk] 
Sent: Tuesday, August 12, 2003 11:05 AM
To: mailto:@magic.lif.icnet.uk
Subject: tomcat shutdown


hi

i have two instances of tomcat runnign as a stand olone but on different 
ports - i can neither stop nor start either tomcat as all that i'm getting
is

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: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:831)
         at org.apache.catalina.startup.Catalina.execute(Catalina.java:683)
         at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
         at java.lang.reflect.Method.invoke(Native Method)
         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)

how do i stop the service  ?  i'm trying to use bin/shutdown.sh but its not 
working.

i have two instances of tomcat runnign as a stand olone but on different
ports

cheers

chris


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org