tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matías Salvador <matias_salva...@uol.com.ar>
Subject RE: TOMCAT SHUTDOWN PROBLEM
Date Thu, 19 Apr 2001 19:01:30 GMT
You were right about the first one!
Thank you very much!

MATíAS SALVADOR
JAVA Development Team
Soluciones Integrales S.A. 
590 Roca Av. 7° Floor Buenos Aires
+54.011.4345.0537 int. 132

  ----- Original Message ----- 
  From: Randy Layman 
  To: tomcat-user@jakarta.apache.org 
  Sent: Thursday, April 19, 2001 2:58 PM
  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:matias_salvador@uol.com.ar]
  > Sent: Thursday, April 19, 2001 2:19 PM
  > To: tomcat-user@jakarta.apache.org
  > 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
  >

Mime
View raw message