java.net.SocketException

Socket operation on nonsocket: sun.nio.ch.Net.setIntOption

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web4159

  • via Oracle Community by 807581, 11 months ago
    Socket operation on nonsocket: sun.nio.ch.Net.setIntOption
  • via Oracle Community by 843790, 1 year ago
    Socket operation on nonsocket: sun.nio.ch.Net.setIntOption
  • via Oracle Community by 807581, 11 months ago
    Socket operation on nonsocket: sun.nio.ch.Net.setIntOption
  • Stack trace

    • java.net.SocketException: Socket operation on nonsocket: sun.nio.ch.Net.setIntOption at sun.nio.ch.Net.setIntOption0(Native Method) at sun.nio.ch.Net.setIntOption(Net.java:152) at sun.nio.ch.SocketChannelImpl$1.setInt(SocketChannelImpl.java:372) at sun.nio.ch.SocketOptsImpl.setBoolean(SocketOptsImpl.java:38) at sun.nio.ch.SocketOptsImpl$IP$TCP.noDelay(SocketOptsImpl.java:284) at sun.nio.ch.OptionAdaptor.setTcpNoDelay(OptionAdaptor.java:48) at sun.nio.ch.SocketAdaptor.setTcpNoDelay(SocketAdaptor.java:258) at com.sun.enterprise.web.connector.grizzly.SelectorThread.setSocketOptions(SelectorThread.java:1906) at com.sun.enterprise.web.connector.grizzly.SelectorThread.handleRead(SelectorThread.java:1356) at com.sun.enterprise.web.connector.grizzly.SelectorThread.handleConnection(SelectorThread.java:1299) at com.sun.enterprise.web.connector.grizzly.SelectorThread.startNonBlockingMode(SelectorThread.java:1254) at com.sun.enterprise.web.connector.grizzly.SelectorThread.startEndpoint(SelectorThread.java:1126) at com.sun.enterprise.web.connector.grizzly.SelectorThread.run(SelectorThread.java:1098)

    Write tip

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

    Users with the same issue

    4 times, 2 months ago
    Unknown user
    2 times, 1 year ago
    Unknown user
    Once, 1 year ago
    24 times, 1 month ago
    Once, 3 months ago
    6 more bugmates