tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rick Roberts <techi...@ait-web.com>
Subject Re: Tomcat Crashing on Linux
Date Tue, 29 Jul 2003 15:32:54 GMT
I have loggin on my webapp.  There is nothing regarding this problem in that log 
file.


Shapira, Yoav wrote:
> 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 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(PoolTcpEnd
> 
> poin
> 
>>t.java:326)
>>        at
>>org.apache.tomcat.util.net.PoolTcpEndpoint.acceptSocket(PoolTcpEndpoint
> 
> .jav
> 
>>a:397)
>>        at
>>org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:5
> 
> 29)
> 
>>        at
>>org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPoo
> 
> 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(PoolTcpEnd
> 
> poin
> 
>>t.java:338)
>>        at
>>org.apache.tomcat.util.net.PoolTcpEndpoint.acceptSocket(PoolTcpEndpoint
> 
> .jav
> 
>>a:397)
>>        at
>>org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:5
> 
> 29)
> 
>>        at
>>org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPoo
> 
> 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 communication, and
may contain information that is confidential, proprietary and/or privileged.  This e-mail
is intended only for the individual(s) to whom it is addressed, and may not be saved, copied,
printed, disclosed or used by anyone else.  If you are not the(an) intended recipient, 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
> 
> 

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