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

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3850601#3850601

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3850601


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to