Howdy,
I have an ear deployment as such:
| META-INF/
| META-INF/MANIFEST.MF
| x.rar
| y.jar
| META-INF/application.xml
I am having a problem deploying a RAR and and EJB-JAR in an EAR deployment. From above, if
I deploy the RAR and EJB-JAR seperately, no problems ... the EJB-JAR is a message endpoint
for the RAR, so I know this is set up properly. The problem is when all in an EAR, I get
the following error when looking at JBoss logs:
(Caused by: javax.management.InstanceNotFoundException:
jboss.jca:service=RARDeployment,name='x.rar' is not registered.)
Following the stack trace, it looks like the RAR is being deployed first, then the EJB-JAR
is trying to be deployed. The funny or odd thing is that after that error is shown in the
logs, I get a 'start' call on my Resource Adapter in the RAR. I think I read from
the JCA 1.5 spec that a RAR isn't considered 'deployed' until 'start'
is successfully returned? So, my question is how do I make the EJB-JAR
'completely' dependent on the deployed RAR?
Here's my applicaiton.xml:
| <application>
| <display-name>whatever</display-name>
| <module>
| <connector>x.rar</connector>
| </module>
| <module>
| <ejb>y.jar</ejb>
| </module>
| </application>
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4207061#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...