dev@glassfish.java.net

Re: Heads Up on Start/Stop Domain Behavior

From: Jane Young <Jane.Young_at_Sun.COM>
Date: Thu, 21 May 2009 11:35:06 -0700

Is this going to impact QL and SmokeTests?
I guess I'll find out in the next Hudson job.


Byron Nevins wrote:
> asadmin start-domain
> asadmin stop-domain
>
> If you are relying on the integer return values from the 2 commands
> above, read on.
>
> Currently
> if you run start-domain and the domain is already running it is
> considered an error and 1 is returned. if you run stop-domain and the
> domain is not running it is considered an error and 1 is returned
>
> After the change:
> if you run start-domain and the domain is already running a warning
> is printed and a 0 is returned
> if you run stop-domain and the domain is not running a warning is
> printed and a 0 is returned
>
> The current behavior is a regression from V2 and, Ipso Facto, a bug.
> There are a ton of tests that need to be changed as well as the source
> code and we will be checking in everything within a small time window
> to avoid test disruptions.
>
>
> ref: https://glassfish.dev.java.net/issues/show_bug.cgi?id=8387
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>