I have a class that is a facade for an MBean. The facade has many static methods. The facade is there for a couple of reasons. 1) To hide the proxy create code 2) The static methods are very convenient in the inplementation
My issue is that when jboss deploys the static methods are loaded and of course I have to have a reference to the MBean, well it blows up when trying to create the reference(Exception below). How can I get around this? Does this mean I can't use static methods to reference an MBean? I am assuming I am doing something incorrect, but I have been spinning my wheels on this for a while. Thanks in advance 2004-05-12 17:14:03,777 ERROR [STDERR] org.jboss.util.NestedRuntimeException: Error creating MBeanProxy: MyDomain:service=MyService; - nested throwable: (javax.management.InstanceNotFoundException: MyDomain:service=MyService is not registered.) 2004-05-12 17:14:03,779 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.(MBeanProxyExt.java:79) 2004-05-12 17:14:03,780 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.create(MBeanProxyExt.java:283) 2004-05-12 17:14:03,781 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.create(MBeanProxyExt.java:248) 2004-05-12 17:14:03,783 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.create(MBeanProxyExt.java:217) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3834708#3834708 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3834708 ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
