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.