ClientAbortException - when do multiple request at same time....
When i do simultaneous http request(monkey clicks) is made on the web application i am getting following exception like
Jul 9, 2012 11:05:23 PM org.apache.catalina.core.StandardContextValve throwable
WARNING: Exception Processing ErrorPage[exceptionType=org.apache.jasper.JasperException, location=/jsp/content/utils/error.jsp]
ClientAbortException: java.net.SocketException: Broken pipe
at org.apache.catalina.connector.OutputBuffer.doFlush (OutputBuffer.java:333)
at org.apache.catalina.connector.OutputBuffer.flush(O utputBuffer.java:299)
Cause : The warning log basically means that the connection to the client browser is aborted before the response is fully transferred. It is a harmless warning as it can be due to transient network problems or the browser aborts/refreshes the page before it loaded.
Is there any specific configuration in tomcat(sever side) to solve the problem? Please help me
Re: ClientAbortException - when do multiple request at same time....
Not without more information. At a total guess, there is a redirect or some JavaScript that is telling the browser to go somewhere else before your JSP is done. If it is when there are simultaneous requests then it may be that you're not handling sessions well. Can you post a short example that has the issue?
Re: ClientAbortException - when do multiple request at same time....
Quote:
Originally Posted by
stdunbar
Not without more information. At a total guess, there is a redirect or some JavaScript that is telling the browser to go somewhere else before your JSP is done. If it is when there are simultaneous requests then it may be that you're not handling sessions well. Can you post a short example that has the issue?
I am using struts1.2 with jsp page. In that pages, am using several different session to render the details. when i do monkey click , session values get changed. So in this time, am getting Null Pointer Exception.
Re: ClientAbortException - when do multiple request at same time....
Thanks for your reply. ... My thought is request is committed while flush the response i made another one request. Even though i synchronize the request(queue the request), while render the response i am getting exception. Typical example is session, I am have different context with same session id. When i do many click in different context session id is same but session values is getting changed.