[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjms-user
Subject:    [openjms-user] Graceful disconnection: EOFException?
From:       "Daniel Farinha" <daniel () ktorn ! com>
Date:       2004-05-18 1:10:30
Message-ID: 20040518011023.92EF13F5B8 () mail2 ! ktorn ! com
[Download RAW message or body]

I'm trying to add a graceful disconnection method to my jms clients (in this
case, subscriber clients).
Upon disconnecting the client will close all the sessions followed by all
the connections.

Still, when a client disconnects I get a few EOFExceptions and
SocketExceptions in openJMS's log (full DEBUG dumb below).
Is this the normal behaviour when disconnecting properly from JMS using the
TCP connector?

Regards

Dan
--

01:58:20.479 DEBUG [MultiplexConnection-dude.local:3030] - Demultiplexer
terminating on exception
java.io.EOFException
        at java.io.DataInputStream.readInt(DataInputStream.java:448)
        at
org.exolab.core.mipc.MessageInputStream.receive(MessageInputStream.java:95)
        at org.exolab.core.mipc.Demultiplexer.run(Demultiplexer.java:153)
        at
org.exolab.core.mipc.MultiplexConnection.run(MultiplexConnection.java:240)
01:58:20.787 DEBUG [MultiplexConnection-dude.local:3030] - Demultiplexer
terminating on exception
java.io.EOFException
        at java.io.DataInputStream.readInt(DataInputStream.java:448)
        at
org.exolab.core.mipc.MessageInputStream.receive(MessageInputStream.java:95)
        at org.exolab.core.mipc.Demultiplexer.run(Demultiplexer.java:153)
        at
org.exolab.core.mipc.MultiplexConnection.run(MultiplexConnection.java:240)
01:58:20.951 DEBUG [MultiplexConnection-dude.local:3030] - Demultiplexer
terminating on exception
java.net.SocketException: Connection reset
        at java.net.SocketInputStream.read(SocketInputStream.java:168)
        at java.net.SocketInputStream.read(SocketInputStream.java:182)
        at java.io.DataInputStream.readInt(DataInputStream.java:443)
        at
org.exolab.core.mipc.MessageInputStream.receive(MessageInputStream.java:95)
        at org.exolab.core.mipc.Demultiplexer.run(Demultiplexer.java:153)
        at
org.exolab.core.mipc.MultiplexConnection.run(MultiplexConnection.java:240)
01:58:20.957 DEBUG [MultiplexConnection-dude.local:3030] - Demultiplexer
terminating on exception
java.net.SocketException: Connection reset
        at java.net.SocketInputStream.read(SocketInputStream.java:168)
        at java.net.SocketInputStream.read(SocketInputStream.java:182)
        at java.io.DataInputStream.readInt(DataInputStream.java:443)
        at
org.exolab.core.mipc.MessageInputStream.receive(MessageInputStream.java:95)
        at org.exolab.core.mipc.Demultiplexer.run(Demultiplexer.java:153)
        at
org.exolab.core.mipc.MultiplexConnection.run(MultiplexConnection.java:240)



-------------------------------------------------------
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click
_______________________________________________
openjms-user mailing list
openjms-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openjms-user
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic