[jboss-jira] [JBoss JIRA] (WFLY-3495) /subsystem=transactions/log-store=log-store type attribute should be read-only

Stefano Maestri (JIRA) issues at jboss.org
Fri Jun 13 11:18:38 EDT 2014


Stefano Maestri created WFLY-3495:
-------------------------------------

             Summary: /subsystem=transactions/log-store=log-store type attribute should be read-only
                 Key: WFLY-3495
                 URL: https://issues.jboss.org/browse/WFLY-3495
             Project: WildFly
          Issue Type: Task
      Security Level: Public (Everyone can see)
            Reporter: Stefano Maestri
            Assignee: Jason Greene


There is non-standard behavior of log-store "address" in jboss-cli.

If you want to change log store type via jboss-cli I suppose that supposed way is via command like:
 /subsystem=transactions:write-attribute(name=use-hornetq-store, value=true)
similarly with jdbc store.

But there is a second way how to get name the transaction object store in use:
/subsystem=transactions/log-store=log-store:read-attribute(name=type)

But when you try to set the type via this way:
/subsystem=transactions/log-store=log-store:write-attribute(name=type, value=hornetq)

you'll get operation success
{
    "outcome" => "success",
    "response-headers" => {
        "operation-requires-reload" => true,
        "process-state" => "reload-required"
    }
}
but no change in the model is realized.

There should be some info to user that this way is not supported or this way should correctly work.



--
This message was sent by Atlassian JIRA
(v6.2.6#6264)


More information about the jboss-jira mailing list