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