hi
i have used the jboss.system:service=Server to find the jboss start date. but i get MBean
exception. how to resolve this problem?
My code looks like,
RMIAdaptor jbossServer = (RMIAdaptor) ctx.lookup("jmx/invoker/RMIAdaptor");
ObjectName mgr = new ObjectName("jboss.system:service=Server");
Object newObj = jbossServer.invoke(mgr, "getStartDate", null, null);
Am I missing out something? Please help.
i need to find the Jboss uptime.
Thanks in advance.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4142670#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...