Tomcat hangs every few hours

2010-08-17 Thread sasidhar prabhakar
Tomcat hangs ever few hours. In server.xml maxThreads are 300. In thread dump I observed every thread doing the same thing. In my code I sends sms to users by using HttpURLConnection. I am using this code for months I didn't get the problem earlier. For few days I am getting this problem

[OT] Re: Tomcat hangs every few hours

2010-08-17 Thread Peter Crowther
On 17 August 2010 10:48, sasidhar prabhakar sasidhar1...@gmail.com wrote: In thread dump I observed every thread doing the same thing. In my code I sends sms to users by using HttpURLConnection. I am using this code for months I didn't get the problem earlier. For few days I am getting this

Re: Tomcat hangs every few hours

2010-08-17 Thread Brett Delle Grazie
Hi, One obvious possibility is that your SMS gateway (or your connection to it) is down - thus all threads are being 'blocked' waiting for a response from the gateway. This is supported by the fact that the threads are all blcoked in the socketRead0 call. Can I suggest, if you haven't already,

Re: Tomcat hangs every few hours

2010-08-17 Thread Pid
On 17/08/2010 10:48, sasidhar prabhakar wrote: Tomcat hangs ever few hours. *Exact* Tomcat, JVM and OS versions? In server.xml maxThreads are 300. In thread dump I observed every thread doing the same thing. In my code I sends sms to users by using HttpURLConnection. I am using this code

Re: [OT] Re: Tomcat hangs every few hours

2010-08-17 Thread sasidhar prabhakar
For months it is working properly. I tried that one also. Immediately after hangs I accessed the url directly several times it is working. Is that the only reason, I thought that but when accessed it is working. Is there any other reasons. On Tue, Aug 17, 2010 at 5:33 PM, Peter Crowther

Re: Tomcat hangs every few hours

2010-08-17 Thread sasidhar prabhakar
Thanks I will follow that On Tue, Aug 17, 2010 at 6:12 PM, Pid p...@pidster.com wrote: On 17/08/2010 10:48, sasidhar prabhakar wrote: Tomcat hangs ever few hours. *Exact* Tomcat, JVM and OS versions? In server.xml maxThreads are 300. In thread dump I observed every thread doing the

RE: [OT] Re: Tomcat hangs every few hours

2010-08-17 Thread Caldarale, Charles R
From: sasidhar prabhakar [mailto:sasidhar1...@gmail.com] Subject: Re: [OT] Re: Tomcat hangs every few hours For months it is working properly. Then something must have changed, either on the Tomcat system, or the server your webapp is trying to communicate with. Try to find out what

Re: [OT] Re: Tomcat hangs every few hours

2010-08-17 Thread sasidhar prabhakar
...@gmail.com] Subject: Re: [OT] Re: Tomcat hangs every few hours For months it is working properly. Then something must have changed, either on the Tomcat system, or the server your webapp is trying to communicate with. Try to find out what was altered. Is there any other reasons

RE: [OT] Re: Tomcat hangs every few hours

2010-08-17 Thread Caldarale, Charles R
From: sasidhar prabhakar [mailto:sasidhar1...@gmail.com] Subject: Re: [OT] Re: Tomcat hangs every few hours I don't know what wireshark is www.wireshark.org Equivalents are available for whatever platform you're running on. If my webapp is not handling the responses what can I do. Fix