0 Replies Latest reply on Feb 3, 2009 12:10 PM by mcconnma

    deployment order/dependency of a rar and an ejb-jar in an ea

    mcconnma

      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>