JBoss Community

What is replacement of MBeanServerConnection attribute "Started" in AS7?

created by Manoj Agarwal in JBoss AS 7 Development - View the full discussion

Hi,

 

We are in process of migrating our application form Jboss 5 to Jboss AS 7.

 

In previous JBoss version we had employed MBeanServerConnection attribut "started" to verify if server is up properly as mentioned below

 

{code:lang=JAVA}

final MBeanServerConnection server =(MBeanServerConnection) InitialContext.doLookup("jmx/invoker/RMIAdaptor");

success = (Boolean) server.getAttribute(new ObjectName("jboss.system:type=Server"), "Started");

{code}

 

Is it changed with new AS7 ?

 

 

Thanks !

Manoj

Reply to this message by going to Community

Start a new discussion in JBoss AS 7 Development at Community