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.
The CLI component is for the client side tool. Please do not use it for issues related to server side behavior. In cases like this where the issue relates to low level operations, you're describing server side issues.
This issue seems to be related to the Narayana integration part, thus I am re-assigning it to Stefano. From my PoV the log-store attribute should be read-only and documentation fixed.
For EAP 6, according to attributes description of use-hornetq-store and log-store under Table 15.2 https://access.redhat.com/site/documentation/en-US/JBoss_Enterprise_Application_Platform/6/html/Administration_and_Configuration_Guide/chap-Transaction_Subsystem.html Both attributes should be set if write one of them. However, for EAP 6.1 Table 18.2 https://access.redhat.com/site/documentation/en-US/JBoss_Enterprise_Application_Platform/6.1/html/Administration_and_Configuration_Guide/chap-Transaction_Subsystem.html it does not mention this part. Agreed with Ivo to set to read-only attribute, if we keep that two attributes synchronization for further release then maybe we could use a new handler extends AbstractWriteAttributeHandler to achieve that.
I Agree. The read-only property for the attribute would solve this problem. Thank you Ondra
PR sent https://github.com/jbossas/jboss-eap/pull/1456
Command /subsystem=transactions/log-store=log-store:write-attribute(name=type, value=hornetq) is set as read only and it can't be modified that way. Verified for EAP 6.3.0.ER8