Hi,
Sorry about this very basic question, but I have hit a bit of a brick wall.
I am trying to deploy the XMBean example that accompanies the JBoss 3.2.x documentation. I have deployed a SAR file containing the JNDIMap MBean and associated deployment descriptors. This shows up fine in the jmx-console agent.
When I invoke the put() and get() operations on the MBean via the jmx-console agent the arguments are being passed as null values. This problem does not occur with setting and getting attributes. Has anyone else experienced this behaviour? If so I would appreciate tips regarding how I might overcome the problem.
I have deployed the example to JBoss 3.2.3.
Thanks and regards,
Andrew
Hi,
Ok - I have identified the problem relates to the use of the 'java.lang.Object' type for the get() and put() operations. If these are set to java.lang.String the behaviour is as I expected.
Thanks and regards,
Andrew