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
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
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,
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
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
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
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
...@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
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