-
1. Re: how to determine what profile is being used?
Wolf-Dieter Fink Feb 1, 2015 2:39 PM (in response to Srikanth M)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?
Srikanth M Feb 2, 2015 2:36 AM (in response to Wolf-Dieter Fink)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?
Tomaž Cerar Feb 2, 2015 4:10 AM (in response to Srikanth M)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?
Srikanth M Feb 3, 2015 7:51 AM (in response to Tomaž Cerar)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