Alexey Loubyansky [
http://community.jboss.org/people/alex.loubyansky%40jboss.com] created
the discussion
"default values in domain management"
To view the discussion, visit:
http://community.jboss.org/message/546290#546290
--------------------------------------------------------------
I thought it's worth a separate thread.
There are of course very different kinds of properties. I.e. the ones that are set in
deployment descriptors and those that can't be, e.g. jvm args, environment variables,
etc.
Here is what I think about those that are set in deployment descriptors. I maybe off the
path, so please correct my view on this.
At least in the beginning, domain.xml could be optional from the server instance start-up
point of view. I.e. it would be possible to start a stand-alone server instance without
domain.xml. Then all the services/containers would be initialized from their deployment
descriptors (and possibly other config files) as it's happening now. But if domain.xml
is present then the values it contains will override the corresponding values from the
deployment descriptors.
As Brian said in the other thread this approach implies that to have correct values of a
manged component in an admin tool the managed service must be initialized at a minimum.
In addition, the values for managed properties are duplicated, i.e. in the deployment
descriptors and domain.xml, which is confusing. Admin tool will apply changes to
domain.xml but not the deployment descriptor. domain.xml is synchronized between the
server instances in the instance but deployment descriptors probably won't. Which
means if the value is removed from the domain.xml the default value for the property on
every server instance coming from the deployment descriptors maybe different.
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/546290#546290]
Start a new discussion in Management Development at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]