Skip to Main Content

Java APIs

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

java.net.SocketException: socket closed

846089Mar 9 2011 — edited Jun 25 2013
Hi,

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
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 23 2013
Added on Mar 9 2011
12 comments
18,113 views