java.net.SocketException

Invalid argument

Samebug tips0

We couldn't find tips for this exception.

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

Solutions on the web50

  • via Unknown by h1d3m3,
  • Stack trace

    • java.net.SocketException: Invalid argument at sun.nio.ch.Net.setIntOption0(Native Method) at sun.nio.ch.Net.setIntOption(Net.java:154) at sun.nio.ch.SocketChannelImpl$1.setInt(SocketChannelImpl.java:406) at sun.nio.ch.SocketOptsImpl.setBoolean(SocketOptsImpl.java:38) at sun.nio.ch.SocketOptsImpl.reuseAddress(SocketOptsImpl.java:156) at sun.nio.ch.SocketOptsImpl$IP$TCP.reuseAddress(SocketOptsImpl.java:268) at sun.nio.ch.OptionAdaptor.setReuseAddress(OptionAdaptor.java:177) at sun.nio.ch.SocketAdaptor.setReuseAddress(SocketAdaptor.java:343) at com.sun.enterprise.web.connector.grizzly.SelectorThread.setSocketOptions(SelectorThread.java:1910) at com.sun.enterprise.web.connector.grizzly.SelectorReadThread.registerNewChannels(SelectorReadThread.java:93) at com.sun.enterprise.web.connector.grizzly.SelectorReadThread.startEndpoint(SelectorReadThread.java:121) at com.sun.enterprise.web.connector.grizzly.SelectorThread.run(SelectorThread.java:1223)

    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

    mauritiusmauritius
    6 times, last one
    Unknown visitor
    Unknown visitorOnce,
    tvrmsmithtvrmsmith
    24 times, last one
    nasimknasimk
    4 times, last one
    batwalrus76batwalrus76
    Once,
    6 more bugmates