[jboss-user] [Beginners Corner] - Re: jmx-console

editha do-not-reply at jboss.com
Mon Nov 6 10:30:41 EST 2006


Now I'm facing another problem:

Invoking some methods of the LoaderRepository mbean works, and invoking other methods doesn't work:

e.g. 
mconn.invoke(new ObjectName(mbean), "getUrls", new Object[]{} ,newString[]{});

works, whereas

mconn.invoke(new ObjectName(mbean), "getLoaders", new Object[]{} ,newString[]{});

throws a ReflectionException caused by an IllegalArgumentException: Unable to find operation getLoaders()  in AbstractMBeanInvoker.

The method getLoaders() doesn't take any arguments, so I do not know why this exception is thrown. Any ideas? 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3983466#3983466

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983466



More information about the jboss-user mailing list