This content has been marked as final.
Show 1 reply
-
1. Re: Stopping hot deployment for all zipfiles under web conte
juhalindfors Jul 4, 2003 4:38 PM (in response to harlequinn)You could try the alternate hot deployer at the end of your jboss-service.xml file
<!-- An alternate hot deployer mbean. Use URLDirectoryScanner if you need to specify which urls are directories to scan, and which are urls to be deployed directly. URLDeploymentScanner assumes that all directories are to be scanned, which can cause problems if directory referred to in the deploy attribute is an exploded archive. <mbean code="org.jboss.deployment.scanner.URLDirectoryScanner" 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">5000</attribute> /* Each entry specifies either a dir (directory to be scanned), or url (url to be deployed). Like the URLs for the DeploymentScanner above, a file: protocol will be assumed if not specified otherwise. */ <attribute name="URLs"> <urls> <dir name="./deploy" /> <url name="./deploy/examples/myapp.ear" /> <dir name="./deploy/examples" /> <url name="http://www.test.com/samples/myapp.ear" /> </urls> </attribute> </mbean> -->