There's currently no way for a rar to depend on anything.
Hypothetically, there should be a META-INF/jboss-ra.xml
where you could specify:
<jboss-ra> <depends>jboss.j2ee:service=EJB,name=whatever</depends> </jboss-ra>
but this doesn't exist, so raise a feature request or provide a patch.
thanks a lot for that clear statement. I will go ahead and submit a feature request; I don't think I'm up to the task of creating a patch myself in a reasonable amount of time.
In the meantime I will try to play around with deployment order and see if I can get my EJBs to deploy before ResourceAdapter.start().
Try "Russian Doll" packaging
or the prefix ordering
See the docs/wiki (or other posts in these forums) for more info on these.
We would need this feature too in the future. Does this change in JBoss 5?
What would going into building a patch for this issue?
We might be able to help out if someone can guide us.
There's a jboss-ra.xml in JBoss5, but I don't see any support for a depends tag.
Raise a feature request and/or provide a patch.