4 Replies Latest reply on Jun 21, 2006 3:17 AM by Stuart Smith

    XML Comments in JGroups config of tc5-cluster.sar

    Stuart Smith Newbie

      I notice that recently the default UDP configuration of the tc5-cluster.sar\META-INF\jboss-service.xml file has been changed along with the location of the configuration from the previous tc5-cluster-service.xml file.

      My concern is that there are XML comments inside of the UDP configuration which make it impossible to simply comment out the default UDP configuration and uncomment the alternate TCP configuration.

      Because of this embedded commenting any attempt to place comments around the outside of the default UDP tag fail because the end tag of the embedded comment is encountered and you end up with the last few lines of the UDP configuration being considered "outside" the comment.

      It would be ideal to be able to simply switch between these configurations by placing a few external comments but preserve the configuration for use later.

      The lines I am referring to are:

       <pbcast.GMS print_local_addr="true" join_timeout="3000"
       down_thread="false" up_thread="false"
       join_retry_timeout="2000" shun="true"/>
       <!-- If your CacheMode is set to REPL_SYNC we recommend you
       comment out the FC (flow control) protocol -->
       <FC max_credits="10000000" down_thread="false" up_thread="false"
       min_threshold="0.20"/>
       <FRAG2 frag_size="60000" down_thread="false" up_thread="false"/>
       <pbcast.STATE_TRANSFER down_thread="false" up_thread="false"/>
       </config>