Hi,
I am trying to deploy 2 simple mbeans, A depends on B. I see the following behavior:
1) If they're in a single SAR, everything is good. B starts before A and A gets a
proxy ref to B.
2) If they're in separate SARs, A tries to start before B and I get a not registered
exception. A fails to deploy, B starts ok. If I remove the optional-attribute-name
and proxy-type tags from the depends element of A, both services start successfully
and in the correct order. However, I don't get the proxy ref to B automatically
injected, of course.
Here's the jboss-service.xml for A:
<depends optional-attribute-name="Echo"
proxy-type="attribute">my.hello:service=echo
and for B:
I know I can fix this by using the prefix deployer but I was hoping for a more magical
solution. Any ideas?
Thanks!
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840719#3840719
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840719
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user