The DeploymentScanner is meant for this. Have a look at the same in jboss-service.xml present in %JBOSS_HOME%/server/default/conf directory which contain the following:
anonymous wrote : <!-- The URLComparator can be used to specify a deployment ordering | for deployments found in a scanned directory. The class specified | must be an implementation of java.util.Comparator, it must be able | to compare two URL objects, and it must have a no-arg constructor. | Two deployment comparators are shipped with JBoss: | - org.jboss.deployment.DeploymentSorter | Sorts by file extension, as follows: | "sar", "service.xml", "rar", "jar", "war", "wsr", "ear", "zip", | "*" | - org.jboss.deployment.scanner.PrefixDeploymentSorter | If the name portion of the url begins with 1 or more digits, those | digits are converted to an int (ignoring leading zeroes), and | files are deployed in that order. Files that do not start with | any digits will be deployed first, and they will be sorted by | extension as above with DeploymentSorter. | --> | org.jboss.deployment.DeploymentSorter You can even specify your own DeploymentScanner. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3945974#3945974 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3945974 ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user