0 Replies Latest reply on Jun 22, 2004 4:19 PM by troypoppe

    Deployer re-deploys all deployment units in a second deploym

    troypoppe Newbie

      I made what I thought was a small modification to the conf/jboss-service.xml file to add in another deploy directory. The intention was to create a directory in Linux that allowed another group to deploy their applications without having to have permissions to the main deploy directory.



       <mbean code="org.jboss.deployment.scanner.URLDeploymentScanner"
       name="jboss.deployment:type=DeploymentScanner,flavor=URL">
       <depends optional-attribute-name="Deployer">jboss.system:service=MainDeployer</depends>
      
       <attribute name="URLComparator">org.jboss.deployment.DeploymentSorter</attribute>
       <attribute name="Filter">org.jboss.deployment.scanner.DeploymentFilter</attribute>
      
       <attribute name="ScanPeriod">15000</attribute>
      
       <attribute name="URLs">
       deploy/,othergroupdeploy/
       </attribute>
       </mbean>
      


      Unfortunately, whenever one of the files in their deploy directory (othergroupdeploy/) gets updated, ALL the files get redeployed.

      Anyone have any idea what this might be happening and how to fix it?