Hi there,
i´ve got some trouble to Cat an Objectname.
InitialContext initCtx = new InitialContext();
MBeanServer mbs = (MBeanServer) initCtx.lookup("jmx");
ObjectName name = .....;
IMonitorNode node = (IMonitorNode) mbs.getAttribute(name, "MonitorNode");
String cfgGroup = node.getConfigurationGroup();
I whant to recieve the name of a ConfigurationGroup from an Application Monitor. This Monitor is running well.
So, after Deployment ive got a java.lang.ClassCastException and i dont know how can i solve this exception.
Does anyone have some solution for me?
Regards