dev@glassfish.java.net

Re: SocketException when starting b53

From: Jeanfrancois Arcand <Jeanfrancois.Arcand_at_Sun.COM>
Date: Fri, 29 Jun 2007 12:32:30 -0400

Arun Gupta wrote:
>> Arun Gupta wrote:
>>> Why do I see the following exception when starting b53 ?
>>
>> Which platform are you using?
> Windows Vista Ultimate

Have you update it recently? I need to look at the JDK bug list to see
if this exception has been reported.

>
>> Is the connection broken after that exception?
> Connection to what ?
>
> The server is up & running even with this exception but the exception is
> last but one statement in the console and looks ugly.

Is the exception happens on every request?

The exception is most probably useless but can you still file a p3? It
probably happens only on that platform. Which JDK are you using?

Thanks

-- Jeanfrancois
>
> -Arun
>
>>
>> Thanks
>>
>> -- Jeanfrancois
>>>
>>> -- cut here --
>>> [#|2007-06-29T09:00:34.623-0700|WARNING|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=15;_ThreadName=SelectorThread-8080;_RequestID=dcde1574-f3c4-4d5c-900a-aedc30959ba7;|setTcpNoDelay
>>> exception
>>> java.net.SocketException: Connection reset by peer:
>>> 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:268)
>>> at
>>> com.sun.enterprise.web.connector.grizzly.SelectorThread.setSocketOptions(SelectorThread.java:1835)
>>>
>>> at
>>> com.sun.enterprise.web.connector.grizzly.SelectorThread.handleAccept(SelectorThread.java:1408)
>>>
>>> at
>>> com.sun.enterprise.web.connector.grizzly.SelectorThread.handleConnection(SelectorThread.java:1372)
>>>
>>> at
>>> com.sun.enterprise.web.connector.grizzly.SelectorThread.doSelect(SelectorThread.java:1289)
>>>
>>> at
>>> com.sun.enterprise.web.connector.grizzly.SelectorThread.startListener(SelectorThread.java:1223)
>>>
>>> at
>>> com.sun.enterprise.web.connector.grizzly.SelectorThread.startEndpoint(SelectorThread.java:1186)
>>>
>>> at
>>> com.sun.enterprise.web.connector.grizzly.SelectorThread.run(SelectorThread.java:1162)
>>>
>>> |#]
>>> -- cut here --
>>>
>>> -Arun
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>
>