-
1. Re: How to Add Run-time properties with Multiple domains in EAP 6.4.5
brian.stansberry Jul 8, 2016 1:13 PM (in response to sukeshpeddolla)Does your seconddomain.sh reference your seconddomain.conf? If it does you should be able to put the desired properties in seconddomain.conf.
You should only need to set jboss.domain.base.dir; the other properties you are setting are all set to the default values they would have if you just set the one property.
Perhaps your problem in a typo? It's "jboss.domain.base.dir" not "jboss-domain.base.dir". No '-', all '.'.
-
2. Re: How to Add Run-time properties with Multiple domains in EAP 6.4.5
wdfink Jul 11, 2016 4:51 AM (in response to sukeshpeddolla)From what I see you only need to set "-Djboss.domain.base.dir=/apps/jboss/jboss-eap-6.4.0/seconddomain/" (correct the typo Brian already mentioned)
no other property needed, also specifying --domain-config or --host-config is not necessary as you set the default.
Other properties, for server-groups or server I would add as system-properties to the domain.xml or host.xml to have all in one place.