users@glassfish.java.net

setTcpNoDelay exception when starting Glassfish

From: <glassfish_at_javadesktop.org>
Date: Fri, 07 Mar 2008 02:11:41 PST

Hello all,

I had a perfect environment with Glassfish V2 ur1, Java6 & eclipse 3.3.1.1 running under WinXP. However Last week I upgaded to eclipse 3.3.2 and switch my OS to Windows Vista. Although I have not yet experienced any serious problems, I'm still a little bit concerned about the following exception that occurs just before startup is completed:

[#|2008-03-07T10:40:27.030+0100|WARNING|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=14;_ThreadName=
SelectorThread-8080;_RequestID=bc5e8f02-b828-43e4-99e2-06503860cae4;|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: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.enterprise.web.connector.grizzly.SelectorThread.setSocketOptions(SelectorThread.java:1902)
        at com.sun.enterprise.web.connector.grizzly.SelectorThread.handleAccept(SelectorThread.java:1475)
        at com.sun.enterprise.web.connector.grizzly.SelectorThread.handleConnection(SelectorThread.java:1439)
        at com.sun.enterprise.web.connector.grizzly.SelectorThread.doSelect(SelectorThread.java:1350)
        at com.sun.enterprise.web.connector.grizzly.SelectorThread.startListener(SelectorThread.java:1284)
        at com.sun.enterprise.web.connector.grizzly.SelectorThread.startEndpoint(SelectorThread.java:1247)
        at com.sun.enterprise.web.connector.grizzly.SelectorThread.run(SelectorThread.java:1223)
|#]

I've noticed that an eclipse downgrade back to 3.3.1.1. makes no difference. Glassfish runs absolutely fine outside the boudaries of eclipse (from a console, using asadmin start-domain). I suspect the problem is somewhere caused within the Glassfish plugin for eclipse combined with a fresh Vista install.

Has anyone ever noticed a similar problem or can anybody tell me if this can do any harm?

Thanks in advance,
Paul van der Zandt
[Message sent by forum member 'pvanderz' (pvanderz)]

http://forums.java.net/jive/thread.jspa?messageID=262862