Hello JBoss JMX dev, gurus and users. I have the dubious task of fetching the JMX MBean attribute labled: HomeDir or the key: jboss.home.url from inside a Web Service back-end bean. Under JBoss Administration Console/System Properties I see the system property labled: jboss.home.url and its string value. What is the API or best avenue to fetch this value within a web service back end Java Bean class? The particulars follow. Thanks in advance and please advise, David.
OS: Debian 3.1 or GNU/Linux
Web Service: Axis1.2
JBoss: 4.2.1.GA
Use this code within the web service running in JBoss AS:
String homeDir = System.getProperty("jboss.home.url");