admin@glassfish.java.net

Default values vs. out-of-the-box values

From: Tom Mueller <tom.mueller_at_oracle.com>
Date: Wed, 10 Nov 2010 09:50:11 -0600

  This is regarding issue 14557.
https://glassfish.dev.java.net/issues/show_bug.cgi?id=14557

The "das-config" values in the out-of-the-box domain.xml do not match
the default values in the DasConfig.java file for the following properties:

dynamic-reload-enabled: default false, domain.xml template: true

autodeploy-enabled: default false, domain.xml template: true

autodeploy-dir: default "autodeploy", domain.xml template:
="${com.sun.aas.instanceRoot}/autodeploy"

Does anyone know the background behind this?
Is there a reason why the defaults are different than what we ship in the domain.xml template?


Where this shows up is that in the admin console, there is a "Load
Defaults" button, which loads the defaults from the DasConfig.java file,
not the values from the original domain.xml template.

Thanks.
Tom