[jboss-user] [Management, JMX/JBoss] - MyMBean depending on MyOtherMBean issues

FrankTheTank do-not-reply at jboss.com
Tue Feb 26 11:58:50 EST 2008


Hi!

I have two MBeans, MyMBean and MyOtherMBean and I want the first to depend on the latter.

Each is in its own sar and both have services. (the faq mentions non-service issues)
I have my mbeans mapped in their jboss-service.xml.
Everything works fine if I hot-deploy it and they all show up in the jmx-console.

But when I restart the server, I get

  | javax.management.InstanceNotFoundException: com.example.mymbean:service=MyService is not registered
  | 

I have been surfing the web for the better of two days trying to figure out what I am doing wrong.

I am probably missing something really simple and any help is appreciated.

Thanks!

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

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



More information about the jboss-user mailing list