tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adam Ronthal <aront...@ibelong.com>
Subject RE: Shutdown error....
Date Wed, 28 Jun 2000 20:57:10 GMT
Nope, no luck here....

-Adam

At 03:08 PM 6/28/00 -0500, Kalusniak, Jeff wrote:
>That didn't do the trick for me.....how about you Adam?
>
>I'm still getting:
>
># bin/shutdown.sh
>Guessing TOMCAT_HOME from tomcat.sh to bin/..
>Setting TOMCAT_HOME to bin/..
>Using classpath:
>.:bin/../lib/816classes12b.zip:bin/../lib/816nlscharset12b.zip:bin/../lib/an
>t.jar:bin/../lib/cos-12Jun2000.zip:bin
>../lib/jasper.jar:bin/../lib/oreilly.zip:bin/../lib/servlet.jar:bin/../lib/t
>est:bin/../lib/webserver.jar:bin/../lib/xml.jar:/usr/ja
>a1.2/lib/tools.jar
>Stop tomcat
>java.net.ConnectException: Connection refused
>         at java.net.PlainSocketImpl.socketConnect(Native Method)
>         at java.net.PlainSocketImpl.socketConnect(Compiled Code)
>         at java.net.PlainSocketImpl.doConnect(Compiled Code)
>         at
>java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:125)
>         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:112)
>         at java.net.Socket.<init>(Socket.java:269)
>         at java.net.Socket.<init>(Socket.java:98)
>         at org.apache.tomcat.startup.Tomcat.stopTomcat(Compiled Code)
>         at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:130)
>         at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:163)
>#
>
>
>
>-----Original Message-----
>From: Chris Audley [mailto:CAudley@urbanfetch.com]
>Sent: Wednesday, June 28, 2000 2:36 PM
>To: 'tomcat-user@jakarta.apache.org'
>Subject: RE: Shutdown error....
>
>
>You are correct, from org.apache.tomcat.startup.Tomcat.java line 208
>( in Tomcat 3.1 )
>
>         // use Ajp12 to stop the server...
>         try {
>             Socket socket = new Socket("localhost", portInt);
>             OutputStream os=socket.getOutputStream();
>             byte stopMessage[]=new byte[2];
>             stopMessage[0]=(byte)254;
>             stopMessage[1]=(byte)15;
>             os.write( stopMessage );
>             socket.close();
>         } catch(Exception ex ) {
>             ex.printStackTrace();
>         }
>
>localhost is hardwired into the socket creation.
>
>Chris
>
>-----Original Message-----
>From: Kalusniak, Jeff [mailto:jkalusniak@goliathfalls.com]
>Sent: Wednesday, June 28, 2000 3:04 PM
>To: 'tomcat-user@jakarta.apache.org'
>Subject: RE: Shutdown error....
>
>[....]
>
>All I can figure is that it's trying to shutdown localhost, no matter what
>the
>"inet" value is.
>
>
>--------------------------------------------------------------------------
>To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commmands, email: tomcat-user-help@jakarta.apache.org
>
>--------------------------------------------------------------------------
>To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commmands, email: tomcat-user-help@jakarta.apache.org


Mime
View raw message