[jboss-user] [Installation, Configuration & DEPLOYMENT] - deployment order/dependency of a rar and an ejb-jar in an ea

mcconnma do-not-reply at jboss.com
Tue Feb 3 12:10:01 EST 2009


I have an ear as such:

META-INF/
  | META-INF/MANIFEST.MF
  | x.rar
  | y.jar
  | META-INF/application.xml

The y.jar file is message endpoint for inbound x.rar.
When the jar and rar are deployed seperately, no problems.
But when packaged in an ear, the rar doesn't fully deploy prior to the jar.
How do I make sure the RA is fully deployed prior to the jar?
In my logs, I see that the RA 'start' method is called after an error (Caused by: javax.management.InstanceNotFoundException: jboss.jca:service=RARDeployment,name='x.rar' is not registered.) from the jar about my rar not being deployed. I annotate the jar with @ResourceAdaptor and the application.xml file is as such.

  | <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=4206652#4206652

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4206652



More information about the jboss-user mailing list