admin@glassfish.java.net

12401 - server element is created for all instances in the cluster

From: Jennifer Chou <jennifer.chou_at_oracle.com>
Date: Wed, 20 Oct 2010 21:03:18 +0100

I've checked in the fix for issue 12401 which will create the server
element of an instance for all the instances in the cluster. It will
create the referenced node if it doesn't exist. It will add server-ref
to cluster.
This will happen if you run
create-instance/create-local-instance/_register-instance.
I left off the application-ref and resource-ref from this server element
(it has name, config-ref, systemproperties). And also left off the ssh
info from the node (it has nodedir, installdir, nodehost).

Similarly, if you run delete-instance/delete-local-instance, the server
element will be remove from all the instances in the cluster. It will
not delete any nodes.

One issue I saw is with the node named localhost. If you create an
instance which uses the localhost node, the node will not get created on
the other instance since it already exists. The localhost node on the
other instances will have nodehost=localhost.

More details:
https://glassfish.dev.java.net/issues/show_bug.cgi?id=12401

Jennifer