tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rick Roberts <techi...@ait-web.com>
Subject Tomcat Crashing on Linux
Date Tue, 29 Jul 2003 15:23:38 GMT
Tomcat is crashing every 2 - 3 days on 2 different Linux machines.
Both machines are running pretty much identical software configurations.
Both machines are serving the same web application so, it's almost certainly 
something in my web app code that causes the problem.  However; the logs from my 
  web app do not tell me anything.

I am seeing this error on 2 different Linux machines.
Tomcat just stops responding to my requests.
Also when I restart Tomcat (using: "/etc/init.d/tomcat restart"), I get this:

[root@abraxas root]# /etc/init.d/tomcat4 restart
waiting for processes to exit                              [  OK  ]
waiting for processes to exit
waiting for processes to exit
waiting for processes to exit
waiting for processes to exit
waiting for processes to exit
waiting for processes to exit
waiting for processes to exit


The only info from logs I can find is from catalina.out:

Jul 29, 2003 10:54:06 AM org.apache.tomcat.util.net.PoolTcpEndpoint 
closeServerSocket
SEVERE: Caught exception trying to unlock accept.
java.net.ConnectException: Connection refused
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
         at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
         at java.net.Socket.connect(Socket.java:426)
         at java.net.Socket.connect(Socket.java:376)
         at java.net.Socket.<init>(Socket.java:291)
         at java.net.Socket.<init>(Socket.java:119)
         at 
org.apache.tomcat.util.net.PoolTcpEndpoint.closeServerSocket(PoolTcpEndpoint.java:326)
         at 
org.apache.tomcat.util.net.PoolTcpEndpoint.acceptSocket(PoolTcpEndpoint.java:397)
         at 
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:529)
         at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619)
         at java.lang.Thread.run(Thread.java:536)
Jul 29, 2003 10:54:07 AM org.apache.tomcat.util.net.PoolTcpEndpoint 
closeServerSocket
SEVERE: Caught exception trying to close socket.
java.lang.NullPointerException
         at 
org.apache.tomcat.util.net.PoolTcpEndpoint.closeServerSocket(PoolTcpEndpoint.java:338)
         at 
org.apache.tomcat.util.net.PoolTcpEndpoint.acceptSocket(PoolTcpEndpoint.java:397)
         at 
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:529)
         at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619)
         at java.lang.Thread.run(Thread.java:536)
Jul 29, 2003 10:54:07 AM org.apache.tomcat.util.net.PoolTcpEndpoint acceptSocket
WARNING: Reinitializing ServerSocket


I'm using:
RH 9 (kernel 2.4.20-19.9)
Tomcat 4.1.24 ( RPM tomcat4-4.1.24-full.2jpp)
Sun JDK 1.4 (j2sdk1.4.2)

Any help greatly appreciated.

Thanks,

-- 
*******************************************
* Rick Roberts                            *
* Advanced Information Technologies, Inc. *
*******************************************


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