tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Daly <C.d...@cancer.org.uk>
Subject Re: tomcat shutdown
Date Tue, 12 Aug 2003 16:09:28 GMT
how do i idnetify the 8006 port to be used with port 8082 in the server.xml 
file ?

     <!-- Define a non-SSL HTTP/1.1 Connector on port 8081 -->
     <Connector className="org.apache.catalina.connector.http.HttpConnector"
                port="8081" minProcessors="5" maxProcessors="75"
                enableLookups="true" redirectPort="8443"
                acceptCount="10" debug="0" connectionTimeout="60000"/>
     <!-- Note : To disable connection timeouts, set connectionTimeout value
      to -1 -->

and

     <!-- Define a non-SSL HTTP/1.1 Connector on port 8080 -->
     <Connector className="org.apache.catalina.connector.http.HttpConnector"
                port="8082" minProcessors="5" maxProcessors="75"
                enableLookups="true" redirectPort="8443"
                acceptCount="10" debug="0" connectionTimeout="60000"/>
     <!-- Note : To disable connection timeouts, set connectionTimeout value
      to -1 -->

<Server port="8005" shutdown="SHUTDOWN" debug="0"> - how does this tie with 
port 8081 ?

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

cheers

chris


At 10:45 12.08.2003 -0500, you wrote:

>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: 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
>>
>>
>>---------------------------------------------------------------------
>>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
>


Mime
View raw message