admin@glassfish.java.net

Re: Review of start-domain, stop-domain, and restart-domainsman pages

From: Bill Shannon <bill.shannon_at_sun.com>
Date: Mon, 19 Oct 2009 15:45:59 -0700

Lloyd Chambers wrote on 10/19/09 15:26:
> See these flags. I do not know what they mean for sure, but they imply
> re-opening is possible.

I don't know what that's about, but a simple test shows that only
a single process can open a server socket on a given port on Mac OS X.

I tried the same test on Windows XP with the same behavior.

I used a trivial test program that does "new ServerSocket(10010)"
and then sleeps, then I try to run two of those programs at once.

The second instance fails, as expected, on Mac OS and Windows.

Byron, how did you reproduce this issue?