[jboss-user] [Clustering/JBoss] - Re: :: Question On JBoss Clustering with Hibernate Second Le

BhaktavatsalamReddy do-not-reply at jboss.com
Fri Jul 6 17:59:24 EDT 2007


Here is farm-service.xml
================
<?xml version="1.0" encoding="UTF-8"?>

<!-- ===================================================================== -->
<!--                                                                       -->
<!--  Farming Service Configuration                                   -->
<!--                                                                       -->
<!-- ===================================================================== -->


   
      
      
      <!-- We now inject the partition into the HAJNDI service instead
           of requiring that the partition name be passed -->
      <depends optional-attribute-name="PartitionName"
         proxy-type="attribute">jboss:service=${jboss.partition.name:DefaultPartition}    
   	
      jboss.web:service=WebServer           

    <!-- Uncomment (and comment/remove version below) to enable usage of the
      DeploymentCache
    <depends optional-attribute-name="Deployer">jboss.deployment:type=DeploymentCache
    -->
    <depends optional-attribute-name="Deployer">jboss.system:service=MainDeployer

    <!-- 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 last, and they will be sorted by
             extension as above with DeploymentSorter.
    -->
    org.jboss.deployment.DeploymentSorter
    
    <!--
    org.jboss.deployment.scanner.PrefixDeploymentSorter
    -->

    <!-- The Filter specifies a java.io.FileFilter for scanned
         directories.  Any file not accepted by this filter will not be
         deployed.  The org.jboss.deployment.scanner.DeploymentFilter 
         rejects the following patterns:
             "#*", "%*", ",*", ".*", "_$*", "*#", "*$", "*%", "*.BAK", 
             "*.old", "*.orig", "*.rej", "*.bak", "*,v", "*~", ".make.state", 
             ".nse_depinfo", "CVS", "CVS.admin", "RCS", "RCSLOG", "SCCS", 
             "TAGS", "core", "tags"
    -->
    org.jboss.deployment.scanner.DeploymentFilter

    5000

    <!-- URLs are comma seperated and unprefixed arguments are considered
       file URLs and resolve relative to server home(JBOSS_DIST/server/default)
       unless the given path is absolute. Any referenced directories cannot
       be unpackaged archives, use the parent directory of the unpacked
       archive.
     -->
    farm/
    
   
   



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

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



More information about the jboss-user mailing list