tomcat.sh you can add a line to kill all tomcat process to insure that no
more tomcat process are running.

-----Original Message-----
From: Jurrius, Mark [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 20, 2001 1:44 AM
To: [EMAIL PROTECTED]
Subject: RE: TOMCAT SHUTDOWN PROBLEM


We have the same problem using HP-UX.  I've seen this question posted before
with no answers.  Can anyone shed some light on this?  Thanks.

Mark


-----Original Message-----
From:   Lian, Xiaobu (Alice) (Xiaobu (Alice)) [mailto:[EMAIL PROTECTED]]
Sent:   Thursday, April 19, 2001 3:36 PM
To:     '[EMAIL PROTECTED]'
Subject:        RE: TOMCAT SHUTDOWN PROBLEM

I have tomcat shutdown problem on HP-UX.  At first I had to kill it.  Then
I found that it would be shutdown after running "tomcat.sh stop" three
times.
I have not spent time to figure out why.  Anybody has some ideas about it?
Should I change the tomcat.sh scripts?  Thanks for any input!

Alice

Xiaobu Alice Lian
Database Engineer
Agere Systems
[EMAIL PROTECTED]
(484)397-2583

-----Original Message-----
From: Randy Layman [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 19, 2001 1:58 PM
To: [EMAIL PROTECTED]
Subject: RE: TOMCAT SHUTDOWN PROBLEM



        Possibilities I see:
        1.  You have disabled AJP12 in your server.xml file (needed to
shutdown)
        2.  Tomcat is only getting halfway shutdown - it stops accepting
AJP12 connections but still keeps the HTTP connection open.  I've seen
reports of this happening on HP-UX (after a few attempts if finally closes)
or when using the Kaffe JVM (in which case people have upgraded).  You can
check this by using ps/TaskManager after issuing the shutdown and check for
running processes.
        3.  Something other than Tomcat is the one using the port.  You can
check this with netstat (Unix or Windows) in combination with
ps/TaskManager.

        Randy

> -----Original Message-----
> From: Matías Salvador [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, April 19, 2001 2:19 PM
> To: [EMAIL PROTECTED]
> Subject: TOMCAT SHUTDOWN PROBLEM
> Importance: High
>
>
> When i try to shutdown Tomcat, it throws me the following exception:
>
> java.net.ConnectException: Connection refused
> at java.net.PlainSocketImpl.socketConnect(Native Method)
> at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:312)
> at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:125)
> at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:112)
> at java.net.Socket.<init>(Socket.java:273)
> at java.net.Socket.<init>(Socket.java:100)
> at org.apache.tomcat.task.StopTomcat.execute(StopTomcat.java:104)
> at org.apache.tomcat.startup.Tomcat.stopTomcat(Tomcat.java:267)
> at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:174)
> at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235)
>
> It would seem that it is not UP, so i try to LIFT IT UP and
> throws me the
> following exception:
>
> FATAL:java.net.BindException: Address already in use
> java.net.BindException: Address already in use
>         at java.net.PlainSocketImpl.socketBind(Native Method)
>         at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:397)
>         at java.net.ServerSocket.<init>(ServerSocket.java:170)
>         at java.net.ServerSocket.<init>(ServerSocket.java:121)
>         at
> org.apache.tomcat.net.DefaultServerSocketFactory.createSocket(Default
> ServerSocketFactory.java:97)
>         at
> org.apache.tomcat.service.PoolTcpEndpoint.startEndpoint(PoolTcpEndpoi
> nt.java:239)
>         at
> org.apache.tomcat.service.PoolTcpConnector.start(PoolTcpConnector.jav
> a:188)
>         at
> org.apache.tomcat.core.ContextManager.start(ContextManager.java:527)
>         at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:202)
>         at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235)
>
> What's wrong with my Tomcat?
>
> MATíAS SALVADOR
> JAVA Development Team
> Soluciones Integrales S.A.
> 590 Roca Av. 7° Floor Buenos Aires
> +54.011.4345.0537 int. 132
>

Reply via email to