2 Replies Latest reply on Sep 22, 2003 3:05 PM by mmandarr

    Error while deploying JMS queue

    mmandarr Newbie

      Hi,
      I have the following xml in a xml file in my custom deploy directory. This directory is added properly in the jboss-service.xml file. All other jars from this directory get deployed without any errors.

      myq.xml
      -------------


      <!--
      queue/mq1
      -->
      <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager


      -------------

      When I start the JBoss 3.2.1 server in default mode, it shows the following error on console

      -------------------------------------------------------
      10:49:11,967 INFO [MainDeployer] Starting deployment of package: file:/mydir/jboss/deploy/myq.xml
      10:49:11,967 INFO [MainDeployer] deployment waiting for deployer: file:/mydir/jboss/deploy/myq.xml
      10:49:11,967 INFO [MainDeployer] Deployment of package: file:/mydir/jboss/deploy/myq.xml is waiting for an appriate deployer.
      10:49:11,967 ERROR [URLDeploymentScanner] MBeanException: Exception in MBean operation 'checkIncompleteDeployments()'
      Cause: Incomplete Deployment listing:
      Packages waiting for a deployer:
      [org.jboss.deployment.DeploymentInfo@dd280b9b { url=file:/mydir/jboss/deploy/myq.xml }
      deployer: null
      status: null
      state: INIT_WAITING_DEPLOYER
      watch: file:/mydir/jboss/deploy/myq.xml
      lastDeployed: 1064242151967
      lastModified: 1064242151967
      mbeans:
      ]Incompletely deployed packages:
      [org.jboss.deployment.DeploymentInfo@dd280b9b { url=file:/mydir/jboss/deploy/myq.xml }
      deployer: null
      status: null
      state: INIT_WAITING_DEPLOYER
      watch: file:/mydir/jboss/deploy/myq.xml
      lastDeployed: 1064242151967
      lastModified: 1064242151967
      mbeans:
      ]MBeans waiting for classes:

      MBeans waiting for other MBeans:

      -------------------------------------------------------


      If I put the above entry in the default/server/deploy/jms/jbossmq-destinations-service.xml file, it works fine.

      What is the difference between having my own xml file and adding the entry to the default file ?


      Thanks
      Mandar