-
WMS2: Exception when disconnecting with flash client
Everytime a flash client closes the connection to the WMS2 the Wxception happens in WMS2.
HOW TO REPRODUCE:
1. Fresh install WMS2
2. create a simple application named "test" (just create a folder with the name "test" in application and conf dir and copy Application.xml to the created folder "test" in conf dir.
3. Connect to this test application with flash client using netConnection.
4.Disconnect or simply close the browser
-> Exception happens:
java.io.IOException: An existing connection was forcibly closed by the remote host
at sun.nio.ch.SocketDispatcher.read0(Native Method)
at sun.nio.ch.SocketDispatcher.read(SocketDispatcher. java:25)
at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java :233)
at sun.nio.ch.IOUtil.read(IOUtil.java:206)
at sun.nio.ch.SocketChannelImpl.read(SocketChannelImp l.java:236)
at org.apache.mina.transport.socket.nio.SocketIoProce ssor.read(Unknown Source)
at org.apache.mina.transport.socket.nio.SocketIoProce ssor.process(Unknown Source)
at org.apache.mina.transport.socket.nio.SocketIoProce ssor.access$600(Unknown Source)
at org.apache.mina.transport.socket.nio.SocketIoProce ssor$Worker.run(Unknown Source)
at org.apache.mina.util.NamePreservingRunnable.run(Un known Source)
at java.lang.Thread.run(Thread.java:619)
INFO session disconnect 1774524433 -
-
This is normal. When a TCP connection is closed this exception is thrown to close the session. You shoud only see this if debug logging is turned on.
Charlie
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules