It doesn't matter what the actual port numbers are, just make sure that nothing else is listening to the ports your specify in each case. So, if one Tomat is using port 8005, make the next one use port 8006, and so on.


Jake

At 04:24 PM 8/12/2003 +0100, you wrote:
no.

do i have to change the port number in server.xml so that its differenet from the following


<Server port="8005" shutdown="SHUTDOWN" debug="0">


what do i change in the shutdown.sh or shutdown.bat if anything ?

cheers

chris

At 11:11 12.08.2003 -0400, you wrote:

Did you change the default shutdown ports for both instances?

If you did, did you also make the appropriate changes in the shutdown scripts?

John

Chris Daly wrote:

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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to