myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Howard W. Smith, Jr." <smithh032...@gmail.com>
Subject Re: [TomEE/MyFaces 2.1.13] SocketTimeoutException thrown by ResourceHandlerImpl handleResourceRequest
Date Sun, 10 Nov 2013 13:29:19 GMT
more on this topic...

On Fri, Nov 8, 2013 at 9:28 PM, Howard W. Smith, Jr. <smithh032772@gmail.com
> wrote:

> Today (this evening), the exception below occurred twice for the same
> (mobile) enduser within 1 to 2 hours' time. In the past, while using
> previous releases of MyFaces 2.1.8+, I have seen the handleResourceRequest
> error, but the stacktrace was not in the log file.
>
> Can the stacktrace be eliminated as in previous versions of MyFaces? was
> this added, recently, to log the stracktrace of this exception or
> certain/selected exceptions? Or should I catch this exception in my Filter
> when chain.doFilter(req, res) is executed?
>

this morning, I recognized more occurrences of this exception in log files,
and it is still related to connection between server and 'mobile client'.
User was attempting to login from mobile iPad via an internal wireless
phone connection. please see all below and advise if MyFaces can do
anything about this, or if I should approach tomcat user list about socket
timeout exception(s), or the best way I should approach this type of
scenario-and-exception. I updated gist[1], too.


localhost_access_log shows the follow (please note the filenames and time
difference between the 1, 2, and 3rd lines below)

x.x.x.x - - [09/Nov/2013:13:08:25 -0500] "GET
/webapp/javax.faces.resource/primefaces.css.jsf?ln=primefaces&v=4.0.3
HTTP/1.1" 200 10036

x.x.x.x - - [09/Nov/2013:13:09:00 -0500] "GET
/webapp/javax.faces.resource/jquery/jquery.js.jsf?ln=primefaces&v=4.0.3
HTTP/1.1" 200 -

x.x.x.x - - [09/Nov/2013:13:09:00 -0500] "GET
/webapp/javax.faces.resource/jquery/jquery-plugins.js.jsf?ln=primefaces&v=4.0.3
HTTP/1.1" 200 -



tomcat7-stderr

Nov 09, 2013 1:09:00 PM
org.apache.myfaces.application.ResourceHandlerImpl
handleResourceRequest
SEVERE: Error trying to load resource jquery/jquery.js with library
primefaces :null
ClientAbortException:  java.net.SocketTimeoutException
	at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:413)

Caused by: java.net.SocketTimeoutException
	at org.apache.tomcat.util.net.NioBlockingSelector.write(NioBlockingSelector.java:127)
	at org.apache.tomcat.util.net.NioSelectorPool.write(NioSelectorPool.java:174)
	at org.apache.coyote.http11.InternalNioOutputBuffer.writeToSocket(InternalNioOutputBuffer.java:163)

Nov 09, 2013 1:09:00 PM
org.apache.myfaces.application.ResourceHandlerImpl
handleResourceRequest
SEVERE: Error trying to load resource jquery/jquery-plugins.js with
library primefaces :null
ClientAbortException:  java.net.SocketTimeoutException

Caused by: java.net.SocketTimeoutException
	at org.apache.tomcat.util.net.NioBlockingSelector.write(NioBlockingSelector.java:127)
	at org.apache.tomcat.util.net.NioSelectorPool.write(NioSelectorPool.java:174)
	at org.apache.coyote.http11.InternalNioOutputBuffer.writeToSocket(InternalNioOutputBuffer.java:163)


[1] https://gist.github.com/smithh032772/7380812

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message