dev@glassfish.java.net

Re: starting two copies of V3 (same ports...)

From: Lloyd L Chambers <Lloyd.Chambers_at_Sun.COM>
Date: Thu, 26 Jun 2008 17:32:28 -0700

Byron,

This one I'm not getting. It is perfectly legitimate to have asadmin
start more than one domain; we have always allowed that. Of course,
if you mean the same domain then it's pointless--agreed.

Lloyd

On Jun 25, 2008, at 9:00 AM, byron Nevins wrote:

>
> A simple addition to asadmin would prevent the same domain from be
> started more than once -- asadmin simply runs the "version" command
> BEFORE trying to start a domain. If a response is received it would
> fail out.
> This would be a fine solution for asadmin in any case to make it
> more robust. But the onus ought to be on V3 itself. V3 should be
> aware that it is already running and refuse to launch another copy
> of itself.

---
Lloyd L Chambers
lloyd.chambers_at_sun.com
Sun Microsystems, Inc