2 Replies Latest reply on Jul 21, 2004 12:33 PM by Rudi Vankeirsbilck

    Nested deployment of jms-destinations-service.xml file

    Rudi Vankeirsbilck Newbie

      Hi all,

      I have created a bluespace-jms-destinations-service.xml file that describes the topics my app is using. Like for a ds.xml file (containing the datasource descriptions), I initially put this file in my .jar file.

      However, I have noticed that JBoss does not pick up this .xml file as a nested deployment (as it does for the datasources). I have as a quickfix copied the file manually to the server/default/deploy directory but I don't think this is the appropriate way to be doing this. Nested deployment is much better I think.

      What could I be doing wrong here?
      Any thoughts are welcome.

      Many thanks,

      Rudi

        • 1. Re: Nested deployment of jms-destinations-service.xml file
          Adrian Brock Master

          There is a test for this in the testsuite.

          [ejort@htimes2 jboss-head]$ jar -tf ~/jboss-3.2/workspace/testsuite/output/lib/mdb.jar
          META-INF/
          META-INF/MANIFEST.MF
          org/
          org/jboss/
          org/jboss/test/
          org/jboss/test/mdb/
          org/jboss/test/mdb/bean/
          org/jboss/test/util/
          org/jboss/test/util/ejb/
          org/jboss/test/mdb/bean/BMPBean.class
          org/jboss/test/mdb/bean/CustomMessage.class
          org/jboss/test/mdb/bean/ExQueueBean.class
          org/jboss/test/mdb/bean/ObjectMessageBean.class
          org/jboss/test/mdb/bean/QueueBean.class
          org/jboss/test/mdb/bean/TXTimeOutBean.class
          org/jboss/test/mdb/bean/TopicBean.class
          org/jboss/test/util/ejb/EJBTestCase.class
          org/jboss/test/util/ejb/EJBTestRunner.class
          org/jboss/test/util/ejb/EJBTestRunnerBean.class
          org/jboss/test/util/ejb/EJBTestRunnerHome.class
          org/jboss/test/util/ejb/EnterpriseSupport.class
          org/jboss/test/util/ejb/EntitySupport.class
          org/jboss/test/util/ejb/RemoteAssertionFailedError.class
          org/jboss/test/util/ejb/RemoteTestException.class
          org/jboss/test/util/ejb/SessionSupport.class
          META-INF/ejb-jar.xml
          META-INF/jboss.xml
          jboss-service.xml
          


          jboss-service.xml holds the queue definitions (it can be called anything-service.xml)

          • 2. Re: Nested deployment of jms-destinations-service.xml file
            Rudi Vankeirsbilck Newbie

            Ok, many thanks.

            I had put the service.xml file also in the META-INF directory.

            Regards,

            Rudi.