Manoj Agarwal [
https://community.jboss.org/people/manoj.m.agarwal] created the discussion
"What is replacement of MBeanServerConnection attribute "Started" in
AS7?"
To view the discussion, visit:
https://community.jboss.org/message/757510#757510
--------------------------------------------------------------
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
[
https://community.jboss.org/message/757510#757510]
Start a new discussion in JBoss AS 7 Development at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]