[infinispan-issues] [JBoss JIRA] (ISPN-10116) Missing persistence element when reading a template resource

Ryan Emerson (Jira) issues at jboss.org
Fri Apr 5 06:51:02 EDT 2019


Ryan Emerson created ISPN-10116:
-----------------------------------

             Summary: Missing persistence element when reading a template resource
                 Key: ISPN-10116
                 URL: https://issues.jboss.org/browse/ISPN-10116
             Project: Infinispan
          Issue Type: Bug
          Components: Server
    Affects Versions: 9.4.12.Final, 10.0.0.Beta3
            Reporter: Ryan Emerson
            Assignee: Ryan Emerson
             Fix For: 10.0.0.Beta4, 9.4.13.Final


When reading a template resource, e.g via.

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

The following is thrown:

{code:java}
[standalone at 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
}
{code}

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.



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the infinispan-issues mailing list