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

Use proper validator for DistributedCacheResourceDefinition.Attribute#L1_LIFESPAN

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • 7.1.0.DR10
    • 7.1.0.DR9
    • Clustering
    • None

      org.jboss.as.clustering.infinispan.subsystem.DistributedCacheResourceDefinition.Attribute#L1_LIFESPAN

      Fixes the log message from

      [standalone@embedded /] /subsystem=infinispan/cache-container=web/distributed-cache=dist/:write-attribute(name=l1-lifespan,value=-1
      {
          "outcome" => "failed",
          "failure-description" => "WFLYCLCOM0001: -1.00000 is not a valid value for parameter l1-lifespan. The value must be >= 0.00000",
          "rolled-back" => true,
          "response-headers" => {"process-state" => "reload-required"}
      }
      

      to

      *[standalone@embedded /] /subsystem=infinispan/cache-container=web/distributed-cache=dist/:write-attribute(name=l1-lifespan,value=-1.0
      {
          "outcome" => "failed",
          "failure-description" => "WFLYCTL0117: -1 is an invalid value for parameter l1-lifespan. A minimum value of 0 is required",
          "rolled-back" => true
      }
      

              rhn-engineering-rhusar Radoslav Husar
              rhn-engineering-rhusar Radoslav Husar
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: