admin@glassfish.java.net

Re: side effect of not specifying default attribute in domain.xml

From: Lloyd Chambers <Lloyd.Chambers_at_Sun.COM>
Date: Tue, 23 Sep 2008 15:23:04 -0700

Kedar,

The point is that it's not self-evident any more.

Lloyd

On Sep 23, 2008, at 2:54 PM, Kedar Mhaswade wrote:

>> If the user wants to change a value, s/he's now got to refer to *
>> documentation* just to remember the correct attribute name and
>> spelling of the attribute. And if it's wrong, maybe things blow up
>> (eg 'jndiname' vs 'jndi-name'). That sucks.
> Not really. Just try "asadmin get '*'" and you'll know. It returns all
> the attributes, both present and absent (and have default value) from
> domain.xml. So, no, user does not have to refer to documentation just
> for default values and names of attributes (who have default values).