Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-12517

Remove commented cache configurations

XMLWordPrintable

      The current state (taken from standalone-ha.xml):

                  <cache-container name="web" default-cache="dist" module="org.wildfly.clustering.web.infinispan">
      ...
                      <!-- Alternate configuration to reduce lock contention for applications that make use of concurrent access to a web session -->
                      <!-- Web sessions will be locked more frequently, but for shorter periods of time -->
                      <!--
                        ~ distributed-cache name="concurrent">
                        ~                     <file-store/>
                        ~                 </distributed-cache
                        -->
                  </cache-container>
      

      After uncommenting, the resulting text is not a valid xml file.

      Please change it to:

                  <cache-container name="web" default-cache="dist" module="org.wildfly.clustering.web.infinispan">
      ...
                      <!-- Alternate configuration to reduce lock contention for applications that make use of concurrent access to a web session -->
                      <!-- Web sessions will be locked more frequently, but for shorter periods of time -->       
                      <!-- 
                      <distributed-cache name="concurrent">
                          <file-store/>
                      </distributed-cache>
                      -->
                  </cache-container>
      

              pferraro@redhat.com Paul Ferraro
              mvinkler1@redhat.com Michal Vinkler
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: