[jboss-jira] [JBoss JIRA] Created: (AS7-803) Subsystem "datasource": xa datasource created but not persisted

Heiko Braun (JIRA) jira-events at lists.jboss.org
Tue May 17 09:20:01 EDT 2011


Subsystem "datasource": xa datasource created but not persisted
---------------------------------------------------------------

                 Key: AS7-803
                 URL: https://issues.jboss.org/browse/AS7-803
             Project: Application Server 7
          Issue Type: Bug
          Components: Domain Management, JCA
            Reporter: Heiko Braun
            Assignee: Stefano Maestri
            Priority: Blocker


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

{noformat}
[domain at 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
}
{noformat}

{noformat}
<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>
:

{noformat}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list