Can Tabular data be edited with JConsole ?

I have an Open MBean with tabular data attribute wich is defined as

Readable and Writable in the Bean's meta data.

It reads fine - I can see and navigate through the data, but I can't see any

way of modifying a row or adding a new one ( Which I initially assumed would

trigger the Bean's setAttributes() )

Did I do anything wrong, or is tabular data can only be read with jConsole

and not modified ?

Thank you so much.

[474 byte] By [forestera] at [2007-11-27 1:57:34]
# 1

Hi,

No, you're right.

JConsole does not yet support edition of CompositeData/TabularData.

You could do that programatically with a JMX client, and/or use

JConsole Script Shell plugin to script your modifications. This might

be more or less friendly depending on whether you're using JDK 6

with MXBeans - or JDK 5 with regular MBeans (MXBeans often make

it easier to work with the exposed data).

regards,

-- daniel

JMX, SNMP, Java, etc...

http://blogs.sun.com/jmxetc/

dfuchsa at 2007-7-12 1:33:18 > top of Java-index,Core,Monitoring & Management...