-
1. Re: how to determine what profile is being used?
wdfink Feb 1, 2015 2:39 PM (in response to srikanthm)If the startcommand did not use -config or -c with a file the standaloen.xml is used. -
2. Re: how to determine what profile is being used?
srikanthm Feb 2, 2015 2:36 AM (in response to wdfink)Thanks for the answer...
Yes, that's right. But what if someone else started the JBoss EAP instance and I would like to know which profile is in use?
-
3. Re: how to determine what profile is being used?
ctomc Feb 2, 2015 4:10 AM (in response to srikanthm)1 of 1 people found this helpfulyou can get that by looking up system property named "jboss.server.default.config"
-
4. Re: how to determine what profile is being used?
srikanthm Feb 3, 2015 7:51 AM (in response to ctomc)Hi Tomaz,
I ran below command to find out all the configured system properties and the output didn't include data for "jboss.server.default.config". But there is one line of output displaying the configuration file that is used.
Command used:
/core-service=platform-mbean/type=runtime:read-attribute(name=system-properties)
Output:
"sun.java.command" => "/jboss/jboss-eap-6.3/jboss-modules.jar -mp /jboss/jboss-eap-6.3/modules -jaxpmodule javax.xml.jaxp-provider org.jboss.as.standalone -Djboss.home.dir=/jboss/jboss-eap-6.3 --server-config=standalone-full.xml"
Thank you.
Srikanth