Hi Cedric,

That log message is just informational – it’s not an error. When a client goes 
away or closes its socket, often times the server TCP stack and JVM will get an 
IOException rather than reading a clean EOF for the socket.

These messages can be useful when you’re troubleshooting networking issues, but 
in general you should run with the server log level at WARN or ERROR, not INFO 
or DEBUG.

Best,
Seth

From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of 
kcCedrics
Sent: Tuesday, September 16, 2008 2:05 AM
To: [email protected]
Subject: RE: [flexcoders] IOException on DataService closing


Hi, thanks for your answer.
I added the "includeCategory=true" option to the logging and now I'm getting
this exception:
2008-09-16 10:58:51,150 INFO [STDOUT] [LCDS] [SocketServer.General]
Thread[my-rtmp-SocketServer-WorkerThread-1,5,jboss] Connection '9510837'
starting a read.
2008-09-16 10:58:51,165 INFO [STDOUT] [LCDS] [SocketServer.General]
Thread[my-rtmp-SocketServer-WorkerThread-1,5,jboss] failed to read
Connection '9510837'; connection will close.
java.io.IOException: Une connexion existante a dû être fermée par l'hôte
distant
at sun.nio.ch.SocketDispatcher.read0(Native Method)
at sun.nio.ch.SocketDispatcher.read(Unknown Source)
at sun.nio.ch.IOUtil.readIntoNativeBuffer(Unknown Source)
at sun.nio.ch.IOUtil.read(Unknown Source)
at sun.nio.ch.SocketChannelImpl.read(Unknown Source)
at flex.messaging.socketserver.Connection.doRead(Connection.java:508)
at
flex.messaging.socketserver.Connection$ConnectionReader.run(Connection.java:761)
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(Unknown Source)

So I guess the pattern is [SocketServer.General] but I don't know what to do
with that :)
I'm running on LCDS 2.6, and like you I didn't see this message in 2.5!!

Cédric
--
View this message in context: 
http://www.nabble.com/IOException-on-DataService-closing-tp19488626p19508051.html
Sent from the FlexCoders mailing list archive at Nabble.com.

Reply via email to