users@glassfish.java.net

Re: How to deploy existing tomcat web application in Glassfish ?

From: <glassfish_at_javadesktop.org>
Date: Thu, 10 Jul 2008 11:27:33 PDT

One thing I am noticing in /opt/glassfish/domains/domain1/logs/server.log. Everytime I select the web applications page in the Admin Console I get the following error:

(I do not however get it when trying to access my Web App using http://localhost:8080).

[#|2008-07-10T14:05:23.989-0400|WARNING|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=15;_ThreadName=SelectorThread-4848;_RequestID=e04ee244-70fa-4cd7-b0fa-25fb9fe6b8d0;|setReuseAddress exception
java.net.SocketException: Invalid argument
        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.reuseAddress(SocketOptsImpl.java:156)
        at sun.nio.ch.OptionAdaptor.setReuseAddress(OptionAdaptor.java:177)
        at sun.nio.ch.SocketAdaptor.setReuseAddress(SocketAdaptor.java:333)
        at com.sun.enterprise.web.connector.grizzly.SelectorThread.setSocketOptions(SelectorThread.java:1910)
        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)
|#]
[Message sent by forum member 'fishglass' (fishglass)]

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