on 04-17-2008 4:57 PM
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
Hi,
With wich class do you have a ClassCastException ?
During your deployment do you have maybe forgotten the concerned java library ?
Best regards,
Mathieu
PS : reward points if helpful
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I could resolve it ...The issue was not adding the proper reference in the EAR project - http://help.sap.com/saphelp_nw04/helpdata/en/f6/c9bb997ca1d446a3a176d519ab59a8/content.htm
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.