Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 66419 invoked from network); 29 Jul 2003 15:25:55 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 29 Jul 2003 15:25:55 -0000 Received: (qmail 7203 invoked by uid 97); 29 Jul 2003 15:28:32 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@nagoya.betaversion.org Received: (qmail 7196 invoked from network); 29 Jul 2003 15:28:32 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 29 Jul 2003 15:28:32 -0000 Received: (qmail 63601 invoked by uid 500); 29 Jul 2003 15:25:09 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 63519 invoked from network); 29 Jul 2003 15:25:07 -0000 Received: from unknown (HELO mustang.mpi.com) (63.244.250.132) by daedalus.apache.org with SMTP; 29 Jul 2003 15:25:07 -0000 Received: from lightning.mpi.com (lightning.mpi.com [63.244.252.11]) by mustang.mpi.com (Switch-2.2.6/Switch-2.2.6) with ESMTP id h6TFOK618730 for ; Tue, 29 Jul 2003 11:24:20 -0400 (EDT) Received: from US-VS1.corp.mpi.com ([63.244.252.32]) by lightning.mpi.com (Switch-3.0.4/Switch-3.0.0) with ESMTP id h6TFOp6E027850 for ; Tue, 29 Jul 2003 11:25:04 -0400 (EDT) X-MimeOLE: Produced By Microsoft Exchange V6.0.6375.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: Tomcat Crashing on Linux Date: Tue, 29 Jul 2003 11:25:03 -0400 Message-ID: <9C5166762F311146951505C6790A9CF8A6E900@US-VS1.corp.mpi.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Tomcat Crashing on Linux Thread-Index: AcNV5Ot7z34X+ugrS8aps1zf0BLRdgAAC4gQ From: "Shapira, Yoav" To: "Tomcat Users List" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Howdy, Make sure you're not creating any non-daemon threads that will prevent= tomcat from shutting down gracefully. And add logging to your webapp = ;) Yoav Shapira Millennium ChemInformatics >-----Original Message----- >From: Rick Roberts [mailto:techinfo@ait-web.com] >Sent: Tuesday, July 29, 2003 11:24 AM >To: Tomcat Users List >Subject: Tomcat Crashing on Linux > >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 g= et >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.(Socket.java:291) > at java.net.Socket.(Socket.java:119) > at >org.apache.tomcat.util.net.PoolTcpEndpoint.closeServerSocket(PoolTcpE= nd poin >t.java:326) > at >org.apache.tomcat.util.net.PoolTcpEndpoint.acceptSocket(PoolTcpEndpoi= nt .jav >a:397) > at >org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java= :5 29) > at >org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP= oo l.ja >va: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(PoolTcpE= nd poin >t.java:338) > at >org.apache.tomcat.util.net.PoolTcpEndpoint.acceptSocket(PoolTcpEndpoi= nt .jav >a:397) > at >org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java= :5 29) > at >org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP= oo l.ja >va: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 This e-mail, including any attachments, is a confidential business com= munication, and may contain information that is confidential, propriet= ary and/or privileged. This e-mail is intended only for the individua= l(s) to whom it is addressed, and may not be saved, copied, printed, d= isclosed or used by anyone else. If you are not the(an) intended reci= pient, please immediately delete this e-mail from your computer system= and notify the sender. Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org