1 Reply Latest reply on Dec 20, 2006 9:30 AM by Emiliano Marino

    Establish Dependency between a Resource Adapter and an EJB

    Emiliano Marino Newbie

      Hi!
      I did a Resource Adapter that requires some data objects (entities) provided by an Stateless EJB. The problem is that when the server starts, the RA start first and fails because look for the EJB that was not deployed yet.

      I saw in datasources XML (like MyDB-ds.xml) exist a tags named by i tried to use it in my ra.xml and did not work. i think that tag must be in a jboss specific xml file but i don't know.

      how i stablish that my RA depends on a EJB?

      Thanks

        • 1. Re: Establish Dependency between a Resource Adapter and an E
          Emiliano Marino Newbie

          Sorry, the message came wrong :P the second paragraph should said:

          I saw in datasources XML (like MyDB-ds.xml) exist a tags named "depends" by i tried to use it in my ra.xml and did not work. i think that tag must be in a jboss specific xml file but i don't know.

          "ejmarino" wrote:
          Hi!
          I did a Resource Adapter that requires some data objects (entities) provided by an Stateless EJB. The problem is that when the server starts, the RA start first and fails because look for the EJB that was not deployed yet.

          I saw in datasources XML (like MyDB-ds.xml) exist a tags named <depends> by i tried to use it in my ra.xml and did not work. i think that tag must be in a jboss specific xml file but i don't know.

          how i stablish that my RA depends on a EJB?

          Thanks