This content has been marked as final. Show 2 replies
I used a different method
MBeanServer server = MBeanServerLocator.locate(); Foo foo = (Foo) MBeanProxyExt.create( Foo.class, name, server); return foo.operation();
which gave me a different error and I was able to track that down to multiple jars on the classpath.
i had the same problem. If you add a parameter to the method, for instance a boolean, then it works.
strange behaviour if you ask me,