User: schaefera
  Date: 02/03/18 14:34:02

  Modified:    src/etc  farm-service.xml
  Log:
  Fixed the broken Farm Member Service. Now the Main Deployer is emitting JMX
  notification when an object is deployed / undeployed and the Farm Member
  Service is listening for.
  Also the Farm Member Service is self-contained meaning that you only have
  to adjust the farm-service.xml and deployed it (no further adjustments
  necessary even the creation of the farm directory).
  
  Also fixed a problem with URL Deployment Scanner which fails when a new
  directory is added (through addURL()) during startup by another MBean
  because list is changed without recreation of the iterator. Now the
  iterator is replaced by a generated array which does not change when the
  list changes.
  
  Revision  Changes    Path
  1.6       +11 -20    jbossmx/src/etc/farm-service.xml
  
  Index: farm-service.xml
  ===================================================================
  RCS file: /cvsroot/jboss/jbossmx/src/etc/farm-service.xml,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- farm-service.xml  24 Feb 2002 10:24:29 -0000      1.5
  +++ farm-service.xml  18 Mar 2002 22:34:01 -0000      1.6
  @@ -7,36 +7,27 @@
   <!-- ===================================================================== -->
   
   <server>
  -
  +   
      <classpath codebase="lib" archives="jbossha.jar"/>
  -
  +   
      <!--these depends tags no longer do anything
      <depends>jboss:service=Naming</depends>
      <depends>jboss.system:service=ServiceDeployer</depends>
      <depends>jboss:service=DefaultPartition</depends>
      -->
  -
  +   
      <!-- ==================================================================== -->
      <!-- Cluster Partition: defines cluster                                   -->
      <!-- ==================================================================== -->
  -
  +   
  +   <!--
  +        Farm Deploy Directory and Scanner Name must not be set here because this
  +        are the default values but when you want to change them do it here.
  +   -->
      <mbean code="org.jboss.ha.framework.server.FarmMemberService" 
name="jboss:service=FarmMember,partition=DefaultPartition" >
        <attribute name="PartitionName">DefaultPartition</attribute>
  +     <attribute name="FarmDeployDirectory">./deploy/farm</attribute>
  +     <attribute 
name="ScannerName">jboss.deployment:type=DeploymentScanner,flavor=URL</attribute>
      </mbean>
  -
  -   <mbean code="org.jboss.deployment.AutoDeployer" 
name="jboss:service=FarmAutoDeployer">
  -      <attribute name="Deployers">
  -         jboss:service=FarmMember,partition=DefaultPartition
  -      </attribute>
  -      <attribute name="URLs">
  -         ../deploy/farm
  -      </attribute>
  -      <attribute name="Timeout">
  -         3000
  -      </attribute>
  -      <attribute name="WithInitialRun">
  -         false
  -      </attribute>
  -   </mbean>
  -
  +   
   </server>
  
  
  

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to