[jboss-user] [Beginners Corner] - Re: How to determine which profile that JBoss are runnioing

PeterJ do-not-reply at jboss.com
Fri Oct 10 11:44:21 EDT 2008


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.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4181555#4181555

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4181555



More information about the jboss-user mailing list