Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-803

Subsystem "datasource": xa datasource created but not persisted

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Blocker
    • None
    • None
    • Domain Management, JCA
    • None

    Description

      I can create a xa datasource that will show up in-memory, but it's not written to xml:

      [domain@localhost:9999 /] /profile=default/subsystem=datasources/xa-data-source=myXA:read-resource
      {
          "outcome" => "success",
          "result" => {
              "xa-data-source-properties" => {"URL" => "jdbc:h2:mem:test"},
              "jndi-name" => "myXA",
              "driver-name" => "h2",
              "pool-name" => "myXA_Pool",
              "enabled" => true,
              "user-name" => "sa",
              "password" => "sa",
              "use-fast-fail" => undefined,
              "background-validation" => undefined,
              "max-pool-size" => undefined,
              "idle-timeout-minutes" => undefined,
              "blocking-timeout-wait-millis" => undefined,
              "background-validation-minutes" => undefined,
              "pool-use-strict-min" => undefined,
              "min-pool-size" => undefined,
              "pool-prefill" => undefined
          },
          "compensating-operation" => undefined
      }
      
      <subsystem xmlns="urn:jboss:domain:datasources:1.0">
                      <datasources>
                          <datasource jndi-name="java:/H2DS" pool-name="H2DS" enabled="true" use-java-context="true">
                              <connection-url>
                                  jdbc:h2:mem:test;DB_CLOSE_DELAY=-1
                              </connection-url>
                              <driver>
                                  h2
                              </driver>
                              <pool>
                                  <prefill>
                                      false
                                  </prefill>
                                  <use-strict-min>
                                      false
                                  </use-strict-min>
                              </pool>
                              <security>
                                  <user-name>
                                      sa
                                  </user-name>
                                  <password>
                                      sa
                                  </password>
                              </security>
                              <validation>
                                  <validate-on-match>
                                      false
                                  </validate-on-match>
                                  <background-validation>
                                      false
                                  </background-validation>
                                  <useFastFail>
                                      false
                                  </useFastFail>
                              </validation>
                              <statement/>
                          </datasource>
                          <drivers>
                              <driver name="h2" module="com.h2database.h2">
                                  <xa-datasource-class>
                                      org.h2.jdbcx.JdbcDataSource
                                  </xa-datasource-class>
                              </driver>
                          </drivers>
                      </datasources>
                  </subsystem>
      :
      
      

      Attachments

        Issue Links

          Activity

            People

              smaestri@redhat.com Stefano Maestri
              rhn-support-hbraun Heiko Braun
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: