java.net.SocketException: socket closed
846089Mar 9 2011 — edited Jun 25 2013Hi,
I'm using JDK 1.6.0_12 on windows platform, and sometime I get exception in 3rd party library (JAIN-SIP)
java.net.SocketException: socket closed
at java.net.PlainDatagramSocketImpl.receive0(Native Method)
at java.net.PlainDatagramSocketImpl.receive(Unknown Source)
at java.net.DatagramSocket.receive(Unknown Source)
at gov.nist.javax.sip.stack.UDPMessageProcessor.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
but we do not know who and when close it...
Is there are way to log native code to file ? and understand when and why it become closed...
IMHO this looks like already fixed bug http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4361783
Related bug on mobicents tracking system is http://code.google.com/p/mobicents/issues/detail?id=1760