Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-10115

Missing persistence element when reading a template resource

    XMLWordPrintable

Details

    • Bug
    • Resolution: Obsolete
    • Major
    • None
    • 9.4.12.Final, 10.0.0.Beta3
    • Server
    • None

    Description

      When reading a template resource, e.g via.

      /subsystem=datagrid-infinispan/cache-container=local/configurations=CONFIGURATIONS/local-cache-configuration=my-template:read-resource
      

      The following is thrown:

      [standalone@localhost:9990 /] /subsystem=datagrid-infinispan/cache-container=local/configurations=CONFIGURATIONS/local-cache-configuration=my-template:read-resource
      {
          "outcome" => "failed",
          "failure-description" => "WFLYCTL0216: Management resource '[
          (\"subsystem\" => \"datagrid-infinispan\"),
          (\"cache-container\" => \"local\"),
          (\"configurations\" => \"CONFIGURATIONS\"),
          (\"local-cache-configuration\" => \"my-template\"),
          (\"persistence\" => \"PERSISTENCE\")
      ]' not found",
          "rolled-back" => true
      }
      

      The problem is caused by the persistence=PERSISTENCE element not being created by the xml reader. This is now necessary as the aliases to the old store entries refer to persistence=PERSISTENCE/file-store etc, which is called during a read-resource operation.

      Attachments

        Activity

          People

            remerson@redhat.com Ryan Emerson
            remerson@redhat.com Ryan Emerson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: