users@glassfish.java.net

Glassfish v2 causing timeouts

From: <forums_at_java.net>
Date: Wed, 16 Nov 2011 19:41:55 -0600 (CST)

We have an older version of the dev glassfish server build b58g-fcs that has
been around for a while. While no changes have been made to the services
hosted on the server, clients are timing out sporadically with 'read time out
exceptions. '

Anyone know reasons on why glassfish 9 or any other app server ) would
sporadically cause clients to time out? ther ehas been no change on the load
itself. there are total of 6 glassfish servers runnign on VM and
loadbalanced on a simple round robin.

here are 2 sample stacktraces.

    <StackTrace>An IOException was thrown while trying to execute the Http
method

                at
com.tibco.plugin.share.http.client.JakartaHttpTransportDriver$RequestExecutor.run(JakartaHttpTransportDriver.java:233)
                at
com.tibco.pe.util.ThreadPool$ThreadPoolThread.run(ThreadPool.java:99) caused
by: java.net.SocketException: Connection reset                
at java.net.SocketInputStream.read(SocketInputStream.java:168)
                at
java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
                at
java.io.BufferedInputStream.read(BufferedInputStream.java:235)
                at
org.apache.commons.httpclient.HttpParser.readRawLine(HttpParser.java:77)
                at
org.apache.commons.httpclient.HttpParser.readLine(HttpParser.java:105)
                at
org.apache.commons.httpclient.HttpConnection.readLine(HttpConnection.java:1115)
                at
org.apache.commons.httpclient.HttpMethodBase.readStatusLine(HttpMethodBase.java:1832)
                at
org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.java:1590)
                at
org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:995)
                at
org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:397)
                at
org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:170)
                at
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396)
                at
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:324)
                at
com.tibco.plugin.share.http.client.JakartaHttpTransportDriver$RequestExecutor.run(JakartaHttpTransportDriver.java:227)
                at
com.tibco.pe.util.ThreadPool$ThreadPoolThread.run(ThreadPool.java:99)
 

 

and one more

,,,,           at
com.aligntech.mes.pamextractagentpp.PostProcessingWorker.run(Unknown Source)
,,,,           at
com.aligntech.mes.pamextractagentpp.WorkQueue$PoolWorker.run(Unknown Source)
,,,,Caused by: java.net.SocketTimeoutException: Read timed out
,,,,           at
org.apache.axis.AxisFault.makeFault(AxisFault.java:101)
,,,,           at
org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:154)
,,,,           at
org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
,,,,           at
org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
,,,,           at
org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
,,,,           at
org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
,,,,           at
org.apache.axis.client.Call.invokeEngine(Call.java:2784)
,,,,           at
org.apache.axis.client.Call.invoke(Call.java:2767) ,,,,          
at org.apache.axis.client.Call.invoke(Call.java:2443)
,,,,           at
org.apache.axis.client.Call.invoke(Call.java:2366) ,,,,          
at org.apache.axis.client.Call.invoke(Call.java:1812)
,,,,           at
com.aligntech.pam.service.PAMMaterialsConfigService.PAMMaterialsConfigServiceImplPortBindingStub.getInputAssetNames(Unknown
Source) ,,,,           at
com.aligntech.pam.service.PAMMaterialsConfigService.PAMMaterialsConfigServiceImplProxy.getInputAssetNames(Unknown
Source) ,,,,           at
com.aligntech.mes.pamextractagentpp.PostProcessingWorker.getMandatoryAssetFiles(Unknown
Source) ,,,,           ... 2 more ,,,,Caused by:
java.net.SocketTimeoutException: Read timed out ,,,,           at
java.net.SocketInputStream.socketRead0(Native Method)
,,,,           at java.net.SocketInputStream.read(Unknown Source)
,,,,           at java.io.BufferedInputStream.fill(Unknown Source)
,,,,           at java.io.BufferedInputStream.read(Unknown Source)
,,,,           at
org.apache.axis.transport.http.HTTPSender.readHeadersFromSocket(HTTPSender.java:583)
,,,,           at
org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:143)
 


--
[Message sent by forum member 'priyauser']
View Post: http://forums.java.net/node/865008