dev@glassfish.java.net

Blocking problem: BindException: No free port within range: 9091

From: Marina Vatkina <marina.vatkina_at_oracle.com>
Date: Tue, 14 Sep 2010 17:02:34 -0700

I've started getting this strange "BindException: No free port within
range: 9091" error today on a completely fresh install, when no java
process is running before creating the cluster. This breaks GMS
integration and I can't test delegated tx recovery that I need to finish
tonight :(.

Any help is highly appreciated.

server.log:

[#|2010-09-14T16:57:45.213-0700|INFO|glassfish3.1|grizzly|_ThreadID=15;_ThreadName=Thread-1;|GRIZZLY0001:
Starting Grizzly Framework 1.9.19 - 9/14/10 4:57 PM|#]

[#|2010-09-14T16:57:45.281-0700|SEVERE|glassfish3.1|grizzly|_ThreadID=15;_ThreadName=Thread-1;|doSelect
IOException
java.net.BindException: No free port within range:
9091=com.sun.grizzly.ReusableTCPSelectorHandler_at_12627bc7
        at
com.sun.grizzly.TCPSelectorHandler.initSelector(TCPSelectorHandler.java:430)
        at
com.sun.grizzly.TCPSelectorHandler.preSelect(TCPSelectorHandler.java:376)
        at
com.sun.grizzly.SelectorHandlerRunner.doSelect(SelectorHandlerRunner.java:186)
        at
com.sun.grizzly.SelectorHandlerRunner.run(SelectorHandlerRunner.java:130)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:637)

thanks,
-marina