Hi,
I created an MBean using the @Service annotation which is packaged in a .jar file which
goes in a .ear file.
In the same .ear file there is a resource adapter (.rar) that depends on that service.
Unfortunately, JBoss deploys and starts the resource adapter first and can therefore not
find the MBean reference, because it's only deployed later in the same EAR
deployment.
How do I define a dependency of the resource adapter to the MBean?
I tried @Depends on the resource adapter class but I guess that annotation only works for
other MBeans. Also the RA's deployment descriptor doesn't seem to offer anything
suitable.
Any ideas?
Thanks
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3965560#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...