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

    Configuring multiple deploy directories logs error message d

    Karthikeyan Marudhachalam Newbie


      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"
       <depends optional-attribute-name="Deployer">jboss.system:service=MainDeployer</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">
       <attribute name="RecursiveSearch">True</attribute>

      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:
      Incompletely deployed packages:
      MBeans waiting for classes:
      MBeans waiting for other MBeans:
      [ObjectName: jboss.deployment:type=MyDeploymentScanner,flavor=URL
       state: CREATED
       I Depend On: jboss.system:service=MainDeployer
       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,