Re: I can't close connections without exceptions in the server (OpenJMS 0.7.6.1)

Tim Anderson <[email protected]> Tue, 24 Jul 2007 23:08:47 +1000
Newsgroups gmane.comp.java.openjms.user
Message-ID <[email protected]>
Those messages are OK. They don't indicate an error, hence the DEBUG output.

-Tim

Fernando Zuriaga wrote:
> Hi, when I close conection from clients, in the server throws exceptions. I
> close my objects (session, conection, jndi) before I close the client, but
> the exceptions throws in the server. What can I do to clean close my
> clients???
>
> Thanks in advanced:
> F.Zuriaga
>
>
> Connection logs:
> 08:42:40.067 DEBUG [Thread-1] - MultiplexConnectionServer accept()'ed
> connection
> 08:42:40.565 DEBUG [server-87] - start()
> [sessionId=010d7648-c31b-1004-8d92-41585af9de01]
> 08:42:40.995 DEBUG [server-87] - start()
> [sessionId=010df730-c31b-1004-8d92-41585af9de01]
> 08:42:42.305 DEBUG [server-87] - start()
> [sessionId=010ffad0-c31b-1004-8d92-41585af9de01]
> 08:42:42.498 DEBUG [server-87] -
> createSubscriber(topic=GisNotifications-true, name=null, clientId=1,
> selector=RESOURCE_TYPE LIKE ']
> 08:42:42.498 DEBUG [server-87] -
> createConsumerEndpoint(session=[sessionId=010ffad0-c31b-1004-8d92-41585af9de
> 01], clientId=1, desti)
> 08:42:42.501 DEBUG [server-87] -
> addToConsumerCache(name=0110a6b0-c31b-1004-8d92-41585af9de01,
> dest=GisNotifications-true, durable=)
>
>
> De-conection log:
> 08:44:03.570 DEBUG [server-87] - deleteSubscriber(clientId=1)
> [sessionId=010ffad0-c31b-1004-8d92-41585af9de01]
> 08:44:03.570 DEBUG [server-87] -
> deleteConsumerEndpoint(consumer=[clientId=1,
> destination=GisNotifications-true, session=[sessionId)
> 08:44:03.570 DEBUG [server-87] -
> removeFromConsumerCache(name=0110a6b0-c31b-1004-8d92-41585af9de01)
> 08:44:03.789 DEBUG [server-87] - stop()
> [sessionId=010ffad0-c31b-1004-8d92-41585af9de01]
> 08:44:04.009 DEBUG [server-87] - close()
> [sessionId=010ffad0-c31b-1004-8d92-41585af9de01]
> 08:44:04.229 DEBUG [server-87] - stop()
> [sessionId=010d7648-c31b-1004-8d92-41585af9de01]
> 08:44:04.449 DEBUG [server-87] - stop()
> [sessionId=010df730-c31b-1004-8d92-41585af9de01]
> 08:44:04.679 DEBUG [server-87] - close()
> [sessionId=010d7648-c31b-1004-8d92-41585af9de01]
> 08:44:04.880 DEBUG [server-87] - close()
> [sessionId=010df730-c31b-1004-8d92-41585af9de01]
> 08:44:05.286 DEBUG [MultiplexConnection-pkgB: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)
> 08:44:05.286 DEBUG [server-87] - java.io.InterruptedIOException: Empty
> packet was returned
> java.io.InterruptedIOException: Empty packet was returned
>         at
> org.exolab.core.mipc.QueueInputStream.receive(QueueInputStream.java:95)
>         at
> org.exolab.core.mipc.ObjectChannel.receive(ObjectChannel.java:141)
>         at
> org.exolab.jms.server.mipc.IpcServerChannel.run(IpcServerChannel.java:160)
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> openjms-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/openjms-user
>
>   


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/