[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[xmlblaster] Socket connection: warning after disconnect
Dear all
I have managed to replace the xml-rpc based protocol layer by a sockt
protocol implementation, however the disconnect give a warning and I am
not sure if this is a serious problem.
It looks like xmlBlaster tries to read from the socket after the client
has sent the disconnect command. The protol entry says "Error parsing
TCP data from '/192.168.178.22:1076', check
if client and server have identical compression or SSL settings:
java.net.Socket
Exception: Software caused connection abort: recv failed".
I have found this information about the disconnect: "The server sends
the response (ACK) immediately from the SOCKET layer. It can't send it
later because the socket is shutdown during server side disconnect." -
so do I understand correctly that the client should handle disconnect in
a different way? Currently it waits for an asynchronous response.
Here is the full log:
2008-05-08 15:22:39.515 INFO
13-XmlBlaster.SOCKET.tcpListener-Username RL10 o
rg.xmlBlaster.authentication.SubjectInfo shutdown:
2-/node/heron/client/Unittest
s: Destroying SubjectInfo. Nobody is logged in and no queue entries
available
2008-05-08 15:22:39.515 FINE
13-XmlBlaster.SOCKET.tcpListener-Username RL10 o
rg.xmlBlaster.util.queue.ram.RamQueuePlugin shutdown: Entering shutdown(0)
2008-05-08 15:22:39.515 FINE
13-XmlBlaster.SOCKET.tcpListener-Username RL10 o
rg.xmlBlaster.util.queue.ram.RamQueuePlugin shutdown: Entering shutdown(0)
2008-05-08 15:22:39.515 FINE
13-XmlBlaster.SOCKET.tcpListener-Username RL10 o
rg.xmlBlaster.protocol.socket.HandleClient shutdown: Shutdown cb
connection to c
lient/Unittests ...
2008-05-08 15:22:39.531 WARNING 12-XmlBlaster.SOCKET RL10
org.xmlBlaster.protoco
l.socket.HandleClient run:
SOCKET-socket://192.168.178.22:7607-client/Unittests-
/192.168.178.22:1076: Error parsing TCP data from
'/192.168.178.22:1076', check
if client and server have identical compression or SSL settings:
java.net.Socket
Exception: Software caused connection abort: recv failed
2008-05-08 15:22:39.531 FINE 12-XmlBlaster.SOCKET RL10
org.xmlBlaster.protoco
l.socket.SocketDriver removeClient: Didn't find a client object to
remove: SOCKE
T-socket://192.168.178.22:7607-client/Unittests-/192.168.178.22:1076
2008-05-08 15:22:39.531 FINE 12-XmlBlaster.SOCKET RL10
org.xmlBlaster.protoco
l.socket.SocketDriver removeClient: Didn't find a client handle to
remove: SOCKE
T-socket://192.168.178.22:7607-client/Unittests-/192.168.178.22:1076
2008-05-08 15:22:39.546 FINE 12-XmlBlaster.SOCKET RL10
org.xmlBlaster.protoco
l.socket.HandleClient closeSocket: Closed socket for 'client/Unittests'.
--
Michael Justin
SCJP, SCJA
betasoft - Software for Delphiâ and for the Javaâ platform
http://www.mikejustin.com - http://www.betabeans.de