admin@glassfish.java.net

Re: added support for default-config.xml

From: Bill Shannon <bill.shannon_at_oracle.com>
Date: Wed, 07 Apr 2010 21:15:21 -0700

Jerome Dochez wrote on 04/07/2010 07:53 PM:
>> No, in v2 it's *in* domain.xml, and thus copied to each domain when
>> it's created.
> got confused then...
>
> so it does not survive domain deletion, it does not allow customizing
> multiple domains...
>
> is it really a good idea to keep it so useless ?

Useless or not, I think it's a good idea to keep it compatible.

You can still customize the domain.xml template used to create domains
to begin with, but there are no tools to help with that. And if you
reintroduce the "profile" support, we can make it easier to do that
sort of customization.

Customizing the default config *after* creating the domain could clearly
be done by scripts using asadmin commands, for instance. That would then
apply to any servers or clusters you created in the new domain.