-
1. Re: EJB dependencies
adrian.brock Jun 28, 2007 2:42 PM (in response to georgesberscheid)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. -
2. Re: EJB dependencies
georgesberscheid Jun 29, 2007 4:14 AM (in response to georgesberscheid)Hi Adrian,
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().
Cheers,
Georges -
3. Re: EJB dependencies
adrian.brock Jun 29, 2007 8:30 AM (in response to georgesberscheid)Try "Russian Doll" packaging
myrar.rar/myejb.jar
or the prefix ordering
01myejb.jar
02myrar.rar
See the docs/wiki (or other posts in these forums) for more info on these. -
4. Re: EJB dependencies
prasith Mar 27, 2008 5:15 PM (in response to georgesberscheid)Hi Adrian,
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.
Thanks -
5. Re: EJB dependencies
adrian.brock Mar 31, 2008 5:40 AM (in response to georgesberscheid)There's a jboss-ra.xml in JBoss5, but I don't see any support for a depends tag.
http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbossas/trunk/connector/src/resources/schema/jboss-ra.xsd?revision=54873&view=markup
Raise a feature request and/or provide a patch.