Trong Tran created GTNPORTAL-2566:
-------------------------------------
Summary: ClientAbortException should not be logged
Key: GTNPORTAL-2566
URL:
https://issues.jboss.org/browse/GTNPORTAL-2566
Project: GateIn Portal
Issue Type: Enhancement
Security Level: Public (Everyone can see)
Reporter: Trong Tran
Priority: Optional
Fix For: 3.5.0.Beta01
When a user cancels a running ajax resource, for example:
- by closing his web browser/tab when the resource is being transfered
- by closing his tab browser when the resource is being transfered
- by refreshing the page when the resource is being transfered
- if a portlet code use the javascript method .abort() on a client-side user action, when
the resource is being transfered
then an Exception is logged as error on server side:
{code}
Sep 7, 2012 2:42:39 PM
org.exoplatform.portal.webui.application.UIPortletActionListener$ServeResourceActionListener
execute
SEVERE: Problem while serving resource renderingURL for the portlet: local._dumbvalue
ClientAbortException: java.net.SocketException: Software caused connection abort:
socket write error
at
org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:373)
at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:437)
at org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:351)
at
org.apache.catalina.connector.OutputBuffer.writeBytes(OutputBuffer.java:396)
at org.apache.catalina.connector.OutputBuffer.write(OutputBuffer.java:385)
....
{code}
it shouldn't be considered as a really error and is very annoying for administrators
when they inspect server logs.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira