Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-12121

Transaction JDBC object store CLI operation fails when set to false with information JDBC connection is needed

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Minor
    • None
    • None
    • Transactions
    • None

    Description

      If the JDBC store is for to be disabled it's needed to be used CLI command

      /subsystem=transactions:write-attribute(name=use-jdbc-store, value=false)
      

      (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 data source is not configured then even when it's to be set to false there is an error that such operation is not possible

      {
          "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
      }
      

      I would expect that when I want to disable the jdbc store I don't need to provide a data source for a connection before. Setting-up the false should not throw an error in CLI.

      Attachments

        Issue Links

          Activity

            People

              ochaloup@redhat.com Ondrej Chaloupka (Inactive)
              ochaloup@redhat.com Ondrej Chaloupka (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: