cancel
Showing results for 
Search instead for 
Did you mean: 

JMX - System properties list

Former Member
0 Kudos

Hi all,

i try to get the data from the "/System/System Properties" list of the Monitor service. It is of type TableMonitor. But when i use the "getEntries" function it returns a "Serializable" object.

Does anyone knows which JMX Object is behind this serializable object ? Which function should i use instead ?

Is there any API description for SAP JMX objects ?

-


String objectname = new String("com.sap.default:name=\"/System/System Properties\",j2eeType=SAP_MonitorPerNode,SAP_J2EEClusterNode="clusternode",SAP_J2EECluster="+j2eecluster);

ObjectName oname = new ObjectName(objectname);

java.io.Serializable value2 = (java.io.Serializable) mbsc.invoke(oname, "getEntries", null, null);

-


Thank you,

Alex

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Alaxander,

try this.

Henning

Object[][] val = (Object[][])mbsc.getAttribute(oname,"Entries");

for (int i = 0; i < val.length; i++)

{

for (int j = 0; j < val<i>.length; j++)

{

output.print(val<i>[j].getClass().toString());

}

output.println();

}