[jboss-dev-forums] [Design of JBoss Deployment Framework] - MBean Dependency not working as expected .

vickyk do-not-reply at jboss.com
Wed Aug 6 07:39:03 EDT 2008


I have the following contents in the MBean deployment descriptor 


  | <?xml version="1.0" encoding="UTF-8"?>
  | <server>
  |   <mbean code="org.jboss.test.jca.mbean.RaDependsOnMe"
  |          name="jboss.test:test=RaDependsOnMeMBean">
  | <depends>jboss.test:name=test</depends>
  | 	</mbean>
  | </server>

The jboss.test:name=test is not present so I would expect that the RaDependsOnMe not to get registered/available for usage 

But to my surprise I see the MBean jboss.test:test=RaDependsOnMeMBean available from the jmx-console and I am able to call the sayHello() operation from the jmx-console .

I tried this on Jboss5 , Jboss4.2 and Jboss4.0.5 .

This looks to me as the bug .



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

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



More information about the jboss-dev-forums mailing list