[prev in list] [next in list] [prev in thread] [next in thread]
List: jboss-user
Subject: [jboss-user] [JBossMQ] - Re: Socket closed exception in JBossMQ
From: "b.eckenfels" <do-not-reply () jboss ! com>
Date: 2009-05-31 16:22:20
Message-ID: 29954031.1243786940739.JavaMail.jboss () tmp3 ! prod ! atl2 ! jboss ! com
[Download RAW message or body]
"vons1234" wrote : Hi,
| Every now and then i am seeing following exception in my server.log
|
| java.net.SocketException: Socket closed
| | at java.net.SocketInputStream.read(SocketInputStream.java:162)
| | ...
| | at java.io.ObjectInputStream.readByte(ObjectInputStream.java:875)
| | at org.jboss.mq.il.uil2.SocketManager$ReadTask.run(SocketManager.java:31
| |
|
This happens when the network connection is terminated (either by hardware problems, \
firewall, router, os buffer shortage, jmx-stop of server or restart of the other \
side).
I dont think your (client) code can or is causing this.
However your client code is missing proper error and resource handling. Especially \
you should use finally blocks to close the connection. This can explain leaking \
connections, which lead to leaking threads and this quickly (on hpux) leads to out of \
native memory.
View the original post : \
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4234335#4234335
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4234335
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic