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

Cache mode doesn't allow to modify from EAP 7.2

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Major
    • None
    • 7.2.4.GA, 7.3.0.CD17
    • Documentation
    • None
    • 3

    Description

      From EAP 7.2 doesn't allow to modify "mode" property as infinispan cache attribute.

      ERROR [org.jboss.as.controller] (Controller Boot Thread) 
      
      OPVDX001: Validation error in standalone-ha.xml --------------------------------
      |
      |  350: </replicated-cache>
      |  351: <replicated-cache name="routing"/>
      |  352: <distributed-cache name="dist" mode="SYNC">
      |                                      ^^^^ 'mode' isn't an allowed attribute for the 'distributed-cache' element
      |                                           
      |                                           Attributes allowed here are: 
      |                                             capacity-factor           owners                    
      |                                             consistent-hash-strategy  remote-timeout            
      |                                             l1-lifespan               segments                  
      |
      |  353:     <locking isolation="REPEATABLE_READ"/>
      |  354:     <transaction mode="BATCH"/>
      |  355:     <file-store/>
      |
      | 'mode' is allowed on elements: 
      | - server > profile > {urn:jboss:domain:infinispan:8.0}subsystem > cache-container > local-cache > transaction
      | - server > profile > {urn:jboss:domain:infinispan:8.0}subsystem > remote-cache-container > transaction
      |
      |
      | The primary underlying error message was:
      | > ParseError at [row,col]:[352,17]
      | > Message: WFLYCTL0197: Unexpected attribute 'mode' encountered
      |
      |-------------------------------------------------------------------------------
      

      7.2 and 7.3.beta documents describes the cache mode can be set the SYNC/ASYNC yet. These content seems to need to consider the "mode" description.

      • 24.3.2. Cache Containers
      • 24.3.3. Clustering Modes
      • 24.3.3.1. Configure the Cache Mode
      • 24.3.3.2. Cache Strategy Performance

      7.2
      https://access.redhat.com/documentation/en-us/red_hat_jboss_enterprise_application_platform/7.2/html/configuration_guide/configuring_high_availability#infinispan
      7.3.beta
      https://access.redhat.com/documentation/en-us/red_hat_jboss_enterprise_application_platform/7.3.beta/html/configuration_guide/configuring_high_availability#infinispan

      Attachments

        Activity

          People

            snelluli@redhat.com Sreelatha Nelluli
            rhn-support-hdaicho Hiroki Daicho (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: