0 Replies Latest reply on Oct 7, 2004 5:12 AM by tmkarthi

    Configuring multiple deploy directories logs error message d

    tmkarthi

      Hi,

      I've configured JBoss to deploy files from two directories, because I wanted PrefixDeploymentSorter to determine my application deployment order. For this I added another deployer in conf/jboss-service.xml as follows:

      <mbean code="org.jboss.deployment.scanner.URLDeploymentScanner"
       name="jboss.deployment:type=MyDeploymentScanner,flavor=URL">
       <depends optional-attribute-name="Deployer">jboss.system:service=MainDeployer</depends>
       <depends>jboss.deployment:type=DeploymentScanner,flavor=URL</depends>
       <attribute name="URLComparator">org.jboss.deployment.scanner.PrefixDeploymentSorter</attribute>
       <attribute name="Filter">org.jboss.deployment.scanner.DeploymentFilter</attribute>
       <attribute name="ScanPeriod">5000</attribute>
       <attribute name="URLs">
       nadeploy/
       </attribute>
       <attribute name="RecursiveSearch">True</attribute>
       </mbean>
      

      Everything works fine, but I see the following error message logged during start up.
      ERROR [org.jboss.deployment.scanner.URLDeploymentScanner] MBeanException: Exception in MBean operation 'checkIncompleteDeployments()'
      Cause: Incomplete Deployment listing:
      Packages waiting for a deployer:
       <none>
      Incompletely deployed packages:
       <none>
      MBeans waiting for classes:
       <none>
      MBeans waiting for other MBeans:
      [ObjectName: jboss.deployment:type=MyDeploymentScanner,flavor=URL
       state: CREATED
       I Depend On: jboss.system:service=MainDeployer
       jboss.deployment:type=DeploymentScanner,flavor=URL
      
       Depends On Me: ]


      I went through the code & this message looks harmless i.e. just a check by deployment scanner for complete deployment. Anyhow, is there a way i can disable this log message or is there a better methodology for configuring multiple deploy directories?

      Thanks in advance,
      Karthi