java.net.SocketException

If you like a tip written by other Samebug users, mark is as helpful! Marks help our algorithm provide you better solutions and also help other users.
tip

It's possible you're trying to write to a connection that's already closed. Another cause for this is that you closed the socket with unread data in the socket receive buffer.


rafaelrafael
tip

This might be caused by unmatching versions of SSL. Java starts normally with SSLv2 and your server might not be able to negotiate. You have to force Java to use SSLv3. See this comment: https://goo.gl/hx0YB3


rafaelrafael

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • SocketException WLS 6.1 JMS
    via by Rakesh Aggarwal,
  • Socket Exceptions in WebLogic 7SP2 with JDK 1.4.1
    via by Henry Grantham,
  • WL Server Crashes
    via by Gustavo Mejia,
  • <E><HTTP>Connection failure
    via by Mark Hayes,
  • Socket error after every page
    via by sad,
  • POSIX ProcessSockets error message
    via by John Wickstrom,
  • Connection Failure & SSL Certificate
    via by Louis,
    • java.net.SocketException: Connection refused: Connection refused at java.net.SocketInputStream.socketRead(Native Method) at java.net.SocketInputStream.read(Unknown Source) at weblogic.socket.PosixSocketMuxer.readBytesProblem(PosixSocketMuxer.java:898) at weblogic.socket.PosixSocketMuxer.deliverGoodNews(PosixSocketMuxer.java:782) at weblogic.socket.PosixSocketMuxer.processSockets(PosixSocketMuxer.java:708) at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:23) at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:234) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:210)

    Users with the same issue

    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    ivanszkypeterivanszkypeter
    40 times, last one,
    linxiaolonglinxiaolong
    2 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    209 more bugmates