I"m not sure exactly how is this supposed to work, but what does the jndi have to do with it?
The following seems to work fine. Do you know how I compose JMX RMI url equivalent to access this object?
[x@xxxx bin]$ ./twiddle.sh -s myhost:1099 get diagnostics.shs:service=ADCStatusService DummyCounter
I figured it out. I needed to also add the following property to the run.conf:
and then use the URL: