myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Moshe Elisha (JIRA)" <...@myfaces.apache.org>
Subject [jira] [Commented] (MYFACES-3736) Occasional ResourceHandlerImpl Error trying to load resource jsf.js with library javax.faces
Date Tue, 16 Jul 2013 21:02:48 GMT

    [ https://issues.apache.org/jira/browse/MYFACES-3736?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13710230#comment-13710230
] 

Moshe Elisha commented on MYFACES-3736:
---------------------------------------

Hey,

I have overriden the class and logged the exception:

{code}
15/07/2013 22:27:17,946 ERROR http-apr-80-exec-3 ResourceHandlerImpl:424: Error trying to
load resource jsf.js with library javax.faces

ClientAbortException: java.io.IOException 
at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:406) 
at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:480) 
at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:352) 
at org.apache.catalina.connector.OutputBuffer.close(OutputBuffer.java:303) 
at org.apache.catalina.connector.CoyoteOutputStream.close(CoyoteOutputStream.java:108) 
at org.apache.myfaces.application.ResourceHandlerImpl.handleResourceRequest(ResourceHandlerImpl.java:410)

at javax.faces.webapp.FacesServlet.service(FacesServlet.java:191) 
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)

at com.tevelush.td.server.CharsetFilter.doFilter(CharsetFilter.java:30) 
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)

at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222) 
at org.apache.catalina.core.StandardContextValve.__invoke(StandardContextValve.java:123) 
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java) 
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)

at org.apache.catalina.core.StandardHostValve.__invoke(StandardHostValve.java:171) 
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java) 
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99) 
at org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:680) 
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:947) 
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) 
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408) 
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1009)

at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)

at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:1852) 
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) 
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) 
at java.lang.Thread.run(Unknown Source) 
Caused by: java.io.IOException 
at org.apache.coyote.http11.InternalAprOutputBuffer.flushBuffer(InternalAprOutputBuffer.java:205)

at org.apache.coyote.http11.InternalAprOutputBuffer.access$100(InternalAprOutputBuffer.java:37)

at org.apache.coyote.http11.InternalAprOutputBuffer$SocketOutputBuffer.doWrite(InternalAprOutputBuffer.java:235)

at org.apache.coyote.http11.filters.ChunkedOutputFilter.doWrite(ChunkedOutputFilter.java:117)

at org.apache.coyote.http11.AbstractOutputBuffer.doWrite(AbstractOutputBuffer.java:192) 
at org.apache.coyote.Response.doWrite(Response.java:505) 
at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:401) 
... 28 more
{code}

I will further investigate why this is relatively frequent on my setup but maybe you could
lower the log level for this type of exception or maybe avoid throwing it.

Thanks.
                
> Occasional ResourceHandlerImpl Error trying to load resource jsf.js with library javax.faces
> --------------------------------------------------------------------------------------------
>
>                 Key: MYFACES-3736
>                 URL: https://issues.apache.org/jira/browse/MYFACES-3736
>             Project: MyFaces Core
>          Issue Type: Bug
>    Affects Versions: 2.1.10
>         Environment: Windows Server 2008 R2
> Java 1.7.0_07
> Apache Tomcat 7.0.39
>            Reporter: Moshe Elisha
>
> From time to time I encountered the following error:
> ERROR http-apr-80-exec-2 ResourceHandlerImpl:425: Error trying to load resource jsf.js
with library javax.faces :null
> That is all I have. I can't tell what the exact request details or what is the IOException.
> Can you please also make it possible to log the IOException stacktrace?
> Thanks.

--
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

Mime
View raw message