3 Replies Latest reply on Mar 19, 2003 2:56 PM by adrian.brock

    Queue definitions deployed via EAR

    todd

      Is it possible to include '..service.xml' that defines some queues in an EAR and have the queues successfully deploy? If so how is it done?

      Thx

      Todd

        • 1. Re: Queue definitions deployed via EAR

          Put a myqueues-service.xml in the ear
          and reference it using jboss-app.xml

          Regards,
          Adrian

          • 2. Re: Queue definitions deployed via EAR
            todd

            > Put a myqueues-service.xml in the ear
            > and reference it using jboss-app.xml
            >
            > Regards,
            > Adrian

            Thx for the reply Adrian.

            Still have an issue. I get the following upon deploying the ear:
            org.jboss.deployment.DeploymentException: Failed to find module file: queue-def.xml

            My jboss-app.xml is:

            <jboss-app>

            queue-def.xml

            </jboss-app>

            My .ear structure is:

            a.ear
            |_META-INF
            | |_MANIFEST.MF
            | |_application.xml
            | |_jboss-app.xml
            |_queue-def.xml
            |_myejb.jar
            |_mywar.war
            |_ajar.jar

            Have you any thoughts?

            Thx

            Todd


            • 3. Re: Queue definitions deployed via EAR

              It must end -service.xml to be a service definition.

              Regards,
              Adrian