dev@glassfish.java.net

Re: SocketException when starting b53

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

Hi Arun,

Arun Gupta wrote:
> Why do I see the following exception when starting b53 ?

Which platform are you using? Is the connection broken after that exception?

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