[jboss-jira] [JBoss JIRA] (WFLY-12121) Transaction JDBC object store CLI operation fails when set to false with information JDBC connection is needed
Ondrej Chaloupka (Jira)
issues at jboss.org
Fri May 24 04:59:00 EDT 2019
Ondrej Chaloupka created WFLY-12121:
---------------------------------------
Summary: Transaction JDBC object store CLI operation fails when set to false with information JDBC connection is needed
Key: WFLY-12121
URL: https://issues.jboss.org/browse/WFLY-12121
Project: WildFly
Issue Type: Bug
Components: Transactions
Reporter: Ondrej Chaloupka
Assignee: Ondrej Chaloupka
If the JDBC store is for to be disabled it's needed to be used CLI command
{code}
/subsystem=transactions:write-attribute(name=use-jdbc-store, value=false)
{code}
(see documentation https://access.redhat.com/documentation/en-us/red_hat_jboss_enterprise_application_platform/7.2/html-single/managing_transactions_on_jboss_eap/index#using_jdbc_datasource_as_transactions_object_store)
but when a datasource is not configured then even when it's to be set to false there is error that such operation is not possible
{code}
{
"outcome" => "failed",
"failure-description" => "WFLYCTL0380: Attribute 'jdbc-store-datasource' needs to be set or passed before attribute 'use-jdbc-store' can be correctly set",
"rolled-back" => true
}
{code}
I would expect that when I won't to disable jdbc store I don't need to provide a datasource for connection before. Setting-up the {{false}} should not throw an error in CLI.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
More information about the jboss-jira
mailing list