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

[QA](7.3.z) WFLY-14384 - Unable to set capacity-factor attribute in distributed cache in Infinispan

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • None
    • Clustering
    • False
    • False
    • Undefined
    • Hide

      Run server with attached configuration

      Show
      Run server with attached configuration

      Running with configured mod cluster extension (see attached xml) I get:

      13:27:16,815 ERROR [org.jboss.as.controller.management-operation] (ServerService Thread Pool -- 60) WFLYCTL0013: Operation ("add") failed - address: ([
       ("subsystem" => "infinispan"),
       ("cache-container" => "ejb"),
       ("distributed-cache" => "dist")
      ]): java.lang.NumberFormatException: For input string: "1.0"
       at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
       at java.lang.Integer.parseInt(Integer.java:580)
       at java.lang.Integer.parseInt(Integer.java:615)
       at org.jboss.dmr.StringModelValue.asInt(StringModelValue.java:142)
       at org.jboss.dmr.ModelNode.asInt(ModelNode.java:288)
       at org.jboss.as.clustering.infinispan.subsystem.DistributedCacheServiceConfigurator.configure(DistributedCacheServiceConfigurator.java:53)
       at org.jboss.as.clustering.infinispan.subsystem.CacheServiceHandler.installServices(CacheServiceHandler.java:85)
       at org.jboss.as.clustering.controller.AddStepHandler.performRuntime(AddStepHandler.java:220)
       at org.jboss.as.controller.AbstractAddStepHandler.performRuntime(AbstractAddStepHandler.java:343)
       at org.jboss.as.controller.AbstractAddStepHandler$1.execute(AbstractAddStepHandler.java:164)
       at org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:1005)
       at org.jboss.as.controller.AbstractOperationContext.processStages(AbstractOperationContext.java:744)
       at org.jboss.as.controller.AbstractOperationContext.executeOperation(AbstractOperationContext.java:468)
       at org.jboss.as.controller.ParallelBootOperationStepHandler$ParallelBootTask.run(ParallelBootOperationStepHandler.java:384)
       at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
       at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1990)
       at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)
       at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1348)
       at java.lang.Thread.run(Thread.java:748)
       at org.jboss.threads.JBossThread.run(JBossThread.java:513)
      
      

      The problem is that the attribute is double, however in add operation handler is parsed as int.

              chaowan@redhat.com Chao Wang
              padamec@redhat.com Petr Adamec
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: