Hello,
I got the following error when I try to use an MBean.
16:34:59,225 ERROR [MyTesterBean] testJMX()
java.lang.reflect.UndeclaredThrowableException
at $Proxy40.isRegistered(Unknown Source)
The code looks like this:
InitialContext initialContext = new InitialContext(System.getProperties());
| RMIAdaptor adaptor = (RMIAdaptor)
initialContext.lookup("jmx/invoker/RMIAdaptor");
|
| ObjectName on2 = new ObjectName(
| "jboss:service=KeyGeneratorFactory,type=UUID");
|
| log.info("==jmx: " + adaptor.isRegistered(on2));
I hope someone can help me...
Regards
zsofi
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3918691#3918691
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3918691
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user