dev@glassfish.java.net

Re: Multiple instances of the same domain

From: Jerome Dochez <Jerome.Dochez_at_Sun.COM>
Date: Mon, 03 Mar 2008 21:37:41 -0800

I am still getting a port conflict :

SEVERE: doSelect exception
java.net.BindException: Address already in use:
8181=com.sun.grizzly.http.SelectorThreadHandler_at_2e6a28
        at
com.sun.grizzly.TCPSelectorHandler.preSelect(TCPSelectorHandler.java:
323)
        at com.sun.grizzly.Controller.doSelect(Controller.java:317)
        at
com.sun.grizzly.SelectorHandlerRunner.run(SelectorHandlerRunner.java:68)
        at java.lang.Thread.run(Thread.java:613)
Mar 3, 2008 9:36:56 PM com.sun.grizzly.Controller doSelect
SEVERE: doSelect exception
java.net.BindException: Address already in use:
4848=com.sun.grizzly.http.SelectorThreadHandler_at_5be21d
        at
com.sun.grizzly.TCPSelectorHandler.preSelect(TCPSelectorHandler.java:
323)
        at com.sun.grizzly.Controller.doSelect(Controller.java:317)
        at
com.sun.grizzly.SelectorHandlerRunner.run(SelectorHandlerRunner.java:68)
        at java.lang.Thread.run(Thread.java:613)
Mar 3, 2008 9:36:56 PM com.sun.grizzly.Controller doSelect
SEVERE: doSelect exception
java.net.BindException: Address already in use:
8080=com.sun.grizzly.http.SelectorThreadHandler_at_297ba3
        at
com.sun.grizzly.TCPSelectorHandler.preSelect(TCPSelectorHandler.java:
323)
        at com.sun.grizzly.Controller.doSelect(Controller.java:317)
        at
com.sun.grizzly.SelectorHandlerRunner.run(SelectorHandlerRunner.java:68)
        at java.lang.Thread.run(Thread.java:613)
Mar 3, 2008 9:36:56 PM
com.sun.grizzly.standalone.StaticResourcesAdapter <init>


is this on windows ?

jerome

On Mar 3, 2008, at 3:56 PM, Byron Nevins wrote:

> 1) bring up 3 console windows
> 2) In each window start the default domain (e.g. asadmin start-domain)
>
> All 3 copies of the same domain successfully start.
> netstat reveals that all 3 are listening on the same ports.
>
> I believe this would be impossible in V2 because of port conflicts.
> Is this a new grizzly feature?
>
> --
> Byron Nevins Work 408-276-4089, Home 650-359-1290, Cell 650-784-4123
> - Sun Microsystems, Inc.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>