1) What does the import statement for @Depends look like (there is a @Depends annotaiton
in MC as well as EJB3, so want to make sure you are using the correct one).
2) In that other post, you mentioned you are adding a @Depends on the HornetQServer like
this:
@Depends(value={"jboss.deployment:id=HornetQServer,type=Component"})
That's a MBean created for the deployment of the HornetQServer MC bean. I don't
think, adding that dependency will work (although i am not sure).
From what you have been explaining, i guess you want this:
@org.jboss.beans.metadata.api.annotations.Depends(value={"HornetQServer"})
By the way, on what component are you placing this dependency? EJB? And please post the
complete exception stacktrace that you see.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4254408#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...