voyent
Exception with ReadHandler  XML
Forum Index -> Async HTTP Server
Author Message
ggingras

Joined: 11/Jun/2008 00:00:00
Messages: 8
Offline


I'm getting the following error a lot but I can't figure out why:

Code:
 17:04:21,257 ERROR [ByteBufferInputStream] An I/O error occurred while reading from the socket channel!
 java.nio.channels.ClosedChannelException
 	at sun.nio.ch.SocketChannelImpl.ensureReadOpen(SocketChannelImpl.java:113)
 	at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:156)
 	at com.icesoft.faces.async.server.nio.ByteBufferInputStream.read(ByteBufferInputStream.java:219)
 	at com.icesoft.faces.async.server.nio.ByteBufferInputStream.read(ByteBufferInputStream.java:186)
 	at java.io.InputStream.read(InputStream.java:85)
 	at com.icesoft.faces.async.server.nio.ByteBufferInputStream.read(ByteBufferInputStream.java:121)
 	at com.icesoft.faces.async.server.AbstractHttpConnection$WrapperInputStream.read(AbstractHttpConnection.java:224)
 	at com.icesoft.faces.async.server.ReadHandler.run(ReadHandler.java:131)
 	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
 	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
 	at java.lang.Thread.run(Thread.java:619)


I'm using ICEFaces 1.7.2 SP1, Jboss 4.2.3 and my jboss is behind an apache 2.2 with mod_proxy.

Can you explain why this happens and if this can be an issue with my application?

Thanks
jack.van.ooststroom


Joined: 26/Oct/2004 00:00:00
Messages: 223
Offline


Hi,

This could be happening because users browse away from the ICEfaces application or are closing their browsers. Do you see this on a live deployment?

Regards,

Jack van Ooststroom
Senior Developer
ICEsoft Technologies, Inc.
[Email]
ggingras

Joined: 11/Jun/2008 00:00:00
Messages: 8
Offline


Yes, I have this on a live deployment. If it is because the users browse away from ICEfaces should'nt it be at a higher level then ERROR (info, debug)? Printing the stacktrace too seems irrelevant.

Thanks
jack.van.ooststroom


Joined: 26/Oct/2004 00:00:00
Messages: 223
Offline


You're absolutely right and we have discussed this before internally, but I couldn't find a JIRA for it so I created a new one ICE-4013. Thanks for bringing this to our attention again!

Regards,

Jack van Ooststroom
Senior Developer
ICEsoft Technologies, Inc.
[Email]
 
Forum Index -> Async HTTP Server
Go to:   
Powered by JForum 2.1.7ice © JForum Team