[jboss-jira] [JBoss JIRA] (WFLY-5393) Using deprecated attribute use-hornetq-store in CLI does not have any effect being set
Ondřej Chaloupka (JIRA)
issues at jboss.org
Fri Nov 6 02:28:00 EST 2015
[ https://issues.jboss.org/browse/WFLY-5393?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13126240#comment-13126240 ]
Ondřej Chaloupka edited comment on WFLY-5393 at 11/6/15 2:27 AM:
-----------------------------------------------------------------
[~zhfeng] it's possible by looking at the resource description
{code}
/subsystem=transactions:read-resource-description()
{code}
and it's already mentioned there
{code}
"use-hornetq-store" => {
"type" => BOOLEAN,
"description" => "Use the hornetq store for writing transaction logs. Set to true to enable and to false to use the default log store type. The default log store is normally one file system file per transaction log. The server should be restarted for this setting to take effect. It's alternative to jdbc based store.",
"expressions-allowed" => false,
"nillable" => true,
"default" => false,
"alternatives" => ["use-jdbc-store"],
"deprecated" => {
"since" => "3.0.0",
"reason" => "Use use-journal-store"
},
"access-type" => "read-write",
"storage" => "configuration",
"restart-required" => "jvm"
}
{code}
was (Author: ochaloup):
[~zhfeng] it's possible by looking at the resource description
{code}
/subsystem=transactions:read-resource-description()
{code}
and it's already mentioned there
{code}
"use-jdbc-store" => {
"type" => BOOLEAN,
"description" => "Use the jdbc store for writing transaction logs. Set to true to enable and to false to use the default log store type. The default log store is normally one file system file per transaction log. The server should be restarted for this setting to take effect. It's alternative to Horneq based store",
"expressions-allowed" => false,
"nillable" => true,
"default" => false,
"alternatives" => ["use-journal-store"],
"access-type" => "read-write",
"storage" => "configuration",
"restart-required" => "jvm"
}
{code}
> Using deprecated attribute use-hornetq-store in CLI does not have any effect being set
> --------------------------------------------------------------------------------------
>
> Key: WFLY-5393
> URL: https://issues.jboss.org/browse/WFLY-5393
> Project: WildFly
> Issue Type: Bug
> Components: Transactions
> Affects Versions: 10.0.0.CR1
> Reporter: Ondřej Chaloupka
> Assignee: Amos Feng
> Fix For: 10.0.0.Final
>
>
> Attribute {{use-hornetq-store}} was deprecated for EAP7 and {{use-journal-store}} should be used instead. But even the attribute is deprecated it still should provide its old functionality.
> I think that using {{use-hornetq-store}} would have the same effect as when {{use-journal-store}} is used.
> I would think that when one of the attribute is set then the other one should present the same settings.
> {code}
> /subsystem=transactions:read-attribute(name=use-hornetq-store)
> {
> "outcome" => "success",
> "result" => false
> }
> /subsystem=transactions:read-attribute(name=use-journal-store)
> {
> "outcome" => "success",
> "result" => false
> }
> /subsystem=transactions:write-attribute(name=use-journal-store, value=true)
> {
> "outcome" => "success",
> "response-headers" => {
> "operation-requires-restart" => true,
> "process-state" => "restart-required"
> }
> }
> :shutdown(restart=true)
> {"outcome" => "success"}
> /subsystem=transactions:read-attribute(name=use-journal-store)
> {
> "outcome" => "success",
> "result" => true
> }
> /subsystem=transactions:read-attribute(name=use-hornetq-store)
> {
> "outcome" => "success",
> "result" => false
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jboss-jira
mailing list