-
1. Re: How to determine which profile that JBoss are runnioing
erasmomarciano Oct 10, 2008 5:40 AM (in response to youareapkman)Using all configuration, you are going to use a default configuration with cluster libs.
-
2. Re: How to determine which profile that JBoss are runnioing
sachin.parnami Oct 10, 2008 10:38 AM (in response to youareapkman)I believe there is one more way to check that follow it:-
go for jmx-console (i.e. localhost:8080/jmx-console)
--------------jboss.system then
-------------------- type=ServerConfig click on it
there you will get List of MBean attributes:
in that table search for ServerHomeDir, probably second item
which will show you the running profile's home directory (i.e. all, default, xyz etc)
Regards,
Sachin Parnami -
3. Re: How to determine which profile that JBoss are runnioing
peterj Oct 10, 2008 11:44 AM (in response to youareapkman)Here is another way - access the jboss.server.name system property. Progammatically, do this:
String conf = System.getProperty("jboss.server.name");
Or using the jmx console (or twiddle), you can invoke the showAll operation on the jboss:type=Service;name=SystemProperties mbean.