users@glassfish.java.net

setTcpNoDelay exception & setReuseAddress exception

From: <forums_at_java.net>
Date: Thu, 22 Dec 2011 23:19:41 -0600 (CST)

we are facing below mentioned exception in our glassfish 3.0.1 app server
Please let us know if anyone is aware of the same.

[#|2011-12-22T22:06:07.537+0530|WARNING|glassfish3.0.1|com.sun.grizzly.config.GrizzlyServiceListener|_ThreadID=17;_ThreadName=Thread-1;|setReuseAddress
exception
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.grizzly.http.SelectorThread.setSocketOptions(SelectorThread.java:1455)
    at
com.sun.grizzly.http.SelectorThreadHandler.configureChannel(SelectorThreadHandler.java:83)
    at
com.sun.grizzly.http.SelectorThreadHandler.onAcceptInterest(SelectorThreadHandler.java:94)
    at
com.sun.grizzly.SelectorHandlerRunner.handleSelectedKey(SelectorHandlerRunner.java:295)
    at
com.sun.grizzly.SelectorHandlerRunner.handleSelectedKeys(SelectorHandlerRunner.java:258)
    at
com.sun.grizzly.SelectorHandlerRunner.doSelect(SelectorHandlerRunner.java:195)
    at
com.sun.grizzly.SelectorHandlerRunner.run(SelectorHandlerRunner.java:130)
    at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    at java.lang.Thread.run(Thread.java:619)
|#]
[#|2011-12-22T22:06:07.537+0530|WARNING|glassfish3.0.1|com.sun.grizzly.config.GrizzlyServiceListener|_ThreadID=17;_ThreadName=Thread-1;|setTcpNoDelay
exception
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$IP$TCP.noDelay(SocketOptsImpl.java:284)
    at sun.nio.ch.OptionAdaptor.setTcpNoDelay(OptionAdaptor.java:48)
    at sun.nio.ch.SocketAdaptor.setTcpNoDelay(SocketAdaptor.java:268)
    at
com.sun.grizzly.http.SelectorThread.setSocketOptions(SelectorThread.java:1448)
    at
com.sun.grizzly.http.SelectorThreadHandler.configureChannel(SelectorThreadHandler.java:83)
    at
com.sun.grizzly.http.SelectorThreadHandler.onAcceptInterest(SelectorThreadHandler.java:94)
    at
com.sun.grizzly.SelectorHandlerRunner.handleSelectedKey(SelectorHandlerRunner.java:295)
    at
com.sun.grizzly.SelectorHandlerRunner.handleSelectedKeys(SelectorHandlerRunner.java:258)
    at
com.sun.grizzly.SelectorHandlerRunner.doSelect(SelectorHandlerRunner.java:195)
    at
com.sun.grizzly.SelectorHandlerRunner.run(SelectorHandlerRunner.java:130)
    at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    at java.lang.Thread.run(Thread.java:619)
|#]

 


--
[Message sent by forum member 'bhavsar.er']
View Post: http://forums.java.net/node/876838