1 Reply Latest reply on Aug 18, 2014 4:28 AM by piotr.tarnowski

    Issues with creating a cache container

    javajoy

      Hi:

       

      I have jboss-as-7.1.1.Final on an windows pc.  I have started Jboss and trying to add a cache container using jboss-cli.  I am getting the following errors

       

      (1) Add a cache container with nested attributes

      /subsystem=infinispan/cache-container=X:add(default-cache=default, listener-executor=W, transport.stack=udp, transport.lock-

      timeout=100)

      'transport.stack' is not a valid parameter name.

       

      (2) Multi-step configuration

      /subsystem=infinispan/cache-container=X:add(default-cache=Y, jndi-name=Z)

      {"outcome" => "success"}

       

      /subsystem=infinispan/cache-container=X:write-attribute(name=jndi-name, value=W)

      {

          "outcome" => "success",

          "response-headers" => {

              "operation-requires-reload" => true,

              "process-state" => "reload-required"

          }

      }

       

      /subsystem=infinispan/cache-container=X/transport=TRANSPORT:write-attribute(name=stack, value=udp)

      {

          "outcome" => "failed",

          "failure-description" => "JBAS014807: Management resource '[

          (\"subsystem\" => \"infinispan\"),

          (\"cache-container\" => \"X\"),

          (\"transport\" => \"TRANSPORT\")

      ]' not found",

          "rolled-back" => true,

          "response-headers" => {"process-state" => "reload-required"}

      }

       

      Any idea why this is happening?