[jboss-dev-forums] [JBoss AS 7 Development] - What is replacement of MBeanServerConnection attribute "Started" in AS7?

Manoj Agarwal do-not-reply at jboss.com
Mon Sep 3 02:37:13 EDT 2012


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&containerType=14&container=2225]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20120903/c3b2ba1d/attachment.html 


More information about the jboss-dev-forums mailing list