java.net.SocketException: Invalid argument >

Oracle Community | cameronr | 9 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    setTcpNoDelay and setReuseAddress exceptions in 58g

    Oracle Community | 9 years ago | cameronr
    java.net.SocketException: Invalid argument >
  2. 0

    How to deploy existing tomcat web application in Glassfish ?

    Oracle Community | 9 years ago | fishglass
    java.net.SocketException: Invalid argument >
  3. 0

    setTcpNoDelay and setReuseAddress exceptions in 58g | Java.net

    java.net | 1 year ago
    java.net.SocketException: Invalid argument
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    setSoLinger and setReuseAddress Exceptions

    Oracle Community | 8 years ago | h1d3m3
    java.net.SocketException: Invalid argument

  1. mauritius 6 times, last 3 months ago
1 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.net.SocketException

    Invalid argument >

    at sun.nio.ch.Net.setIntOption0()
  2. Java RT
    SocketAdaptor.setReuseAddress
    1. sun.nio.ch.Net.setIntOption0(Native Method)
    2. sun.nio.ch.Net.setIntOption(Net.java:154)
    3. sun.nio.ch.SocketChannelImpl$1.setInt(SocketChannelImpl.java:406)
    4. sun.nio.ch.SocketOptsImpl.setBoolean(SocketOptsImpl.java:38)
    5. sun.nio.ch.SocketOptsImpl.reuseAddress(SocketOptsImpl.java:156)
    6. sun.nio.ch.SocketOptsImpl$IP$TCP.reuseAddress(SocketOptsImpl.java:268)
    7. sun.nio.ch.OptionAdaptor.setReuseAddress(OptionAdaptor.java:177)
    8. sun.nio.ch.SocketAdaptor.setReuseAddress(SocketAdaptor.java:343)
    8 frames
  3. Glassfish Core
    SelectorThread.run
    1. com.sun.enterprise.web.connector.grizzly.SelectorThread.setSocketOptions(SelectorThread.java:1888)
    2. com.sun.enterprise.web.connector.grizzly.SelectorThread.handleAccept(SelectorThread.java:1453)
    3. com.sun.enterprise.web.connector.grizzly.SelectorThread.handleConnection(SelectorThread.java:1417)
    4. com.sun.enterprise.web.connector.grizzly.SelectorThread.doSelect(SelectorThread.java:1329)
    5. com.sun.enterprise.web.connector.grizzly.SelectorThread.startListener(SelectorThread.java:1263)
    6. com.sun.enterprise.web.connector.grizzly.SelectorThread.startEndpoint(SelectorThread.java:1226)
    7. com.sun.enterprise.web.connector.grizzly.SelectorThread.run(SelectorThread.java:1202)
    7 frames