[JCA] New message: "Re: How to reference an embedded JCA resource adapater"
by Shane McEneaney
User development,
A new message was posted in the thread "How to reference an embedded JCA resource adapater":
http://community.jboss.org/message/529148#529148
Author : Shane McEneaney
Profile : http://community.jboss.org/people/smceneaney
Message:
--------------------------------------------------------------
Hi C G,
I too have a RAR contained inside an EAR. We build using maven 2 and use a variable property to define the name of the EAR and RAR. In our case the version number changes all of the time. Ant has similar capabilities to include property values that are filtered/replaced at build time.
See jboss.xml snippet below.
<jboss>
<enterprise-beans>
<message-driven>
<ejb-name>SampleOneMDB</ejb-name>
<resource-adapter-name>my-system-${project.version}.ear#my-rar-${project.version}.rar</resource-adapter-name>
</message-driven>
<message-driven>
<ejb-name>SampleTwoMDB</ejb-name>
<resource-adapter-name>my-system-${project.version}.ear#my-rar-${project.version}.rar</resource-adapter-name>
</message-driven>
<message-driven>
<ejb-name>SampleOThreeMDB</ejb-name>
<resource-adapter-name>my-system-${project.version}.ear#my-rar-${project.version}.rar</resource-adapter-name>
</message-driven>
</enterprise-beans>
</jboss>
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/529148#529148
16 years, 1 month
[JCA] New message: "JBoss (5.0.0 EAP) RAR contained in EAR no longer deployed before EJB Jars"
by Shane McEneaney
User development,
A new message was posted in the thread "JBoss (5.0.0 EAP) RAR contained in EAR no longer deployed before EJB Jars":
http://community.jboss.org/message/529147#529147
Author : Shane McEneaney
Profile : http://community.jboss.org/people/smceneaney
Message:
--------------------------------------------------------------
I have an EAR containing EJB JARs and three RARs. In JBoss 4.2.3 the deployment order was RARs followed by EJB JARs. This is a requirement as some of the MDBs and EJBs depend on the ResourceAdapters contained in the RARs.
In JBoss 5 the deployment order has changed. The EJB JARs are deployed first and then subsequently the RARs. I have attempted using strict module deployment ordering but this no longer works. In addition, I have added @Depends annotations to my MDBs but this does not work either.
If I disable my MDBs and allow JBoss to start without them I can see all of the the EJBs and MDBs in my application being deployed followed by my ResourceAdapters.
*Is there any way to force JBoss to deploy an EJB Jar after all RARs as in JBoss 4.2.3?*
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/529147#529147
16 years, 1 month