admin@glassfish.java.net

Re: would like to add a default node element to domain.xml

From: Jerome Dochez <jerome.dochez_at_oracle.com>
Date: Mon, 14 Jun 2010 23:42:57 -0700

On 6/14/10 10:56 PM, Carla Mott wrote:
> Hi,
>
> I'd like to add a default node element to domain.xml much like there
> is a default-config element. For m2 we want to move towards requiring
> a node-ref (new) attribute to server element. This new node-ref
> attribute will point to a node element which information about the
> host where the instance is running and in the case of a developer it
> is localhost. I don't want to have to required a developer to create
> a node with localhost info when he creates an instance. It would be
> nice to have a default node that we refer to when creating an instance
> if noderef option is not specified.
>
> What is the process for adding to domain.xml? Do I just add the node
> element to domain.xml file in packager/nucleus-base?
>
>
> Carla
no, I don't think this is the right approach.

so this default node would be located where ?
does it also has default attributes ?