asadmin --host localhost --port 4848 --user admin --interactive=false --echo=true --terse=false create-cluster cl1 Command create-cluster executed successfully. asadmin --host localhost --port 4848 --user admin --interactive=false --echo=true --terse=false create-cluster --config cl1-config cl2 Command create-cluster executed successfully. asadmin --host localhost --port 4848 --user admin --interactive=false --echo=true --terse=false create-cluster cl1 Command create-cluster failed. org.glassfish.api.admin.CommandException: remote failure: Exception while adding the new configuration org.jvnet.hk2.config.TransactionFailure: A Cluster instance with a "cl1" name already exist in the configuration : org.jvnet.hk2.config.TransactionFailure: A Cluster instance with a "cl1" name already exist in the configuration asadmin --host localhost --port 4848 --user admin --interactive=false --echo=true --terse=false create-cluster --config junk-config cl3 Command create-cluster failed. |