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>
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: ]