Created
May 6, 2011 13:55
-
-
Save heiko-braun/958985 to your computer and use it in GitHub Desktop.
XA datasource creation error
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Unexpected HTTP response500 | |
| Request | |
| { | |
| "operation" => "add", | |
| "address" => [ | |
| ("profile" => "default"), | |
| ("subsystem" => "datasources"), | |
| ("xa-data-source" => "myXA") | |
| ], | |
| "name" => "myXA", | |
| "jndi-name" => "jdbc/myXA", | |
| "enabled" => true, | |
| "xa-data-source-class" => "org.h2.jdbcx.JdbcDataSource", | |
| "pool-name" => "myXA_Pool", | |
| "user-name" => "sa", | |
| "password" => "sa", | |
| "xa-data-source-properties" => [("URL" => "jdbc:h2:mem:test")], | |
| "child-type" => undefined | |
| } | |
| Response | |
| Internal Server Error | |
| { | |
| "outcome" => "failed", | |
| "result" => {"server-groups" => {"main-server-group" => { | |
| "server-two" => { | |
| "host" => "local", | |
| "response" => { | |
| "outcome" => "failed", | |
| "failure-description" => "java.util.NoSuchElementException: No child 'driver' exists" | |
| } | |
| }, | |
| "server-one" => { | |
| "host" => "local", | |
| "response" => { | |
| "outcome" => "failed", | |
| "failure-description" => "java.util.NoSuchElementException: No child 'driver' exists" | |
| } | |
| } | |
| }}}, | |
| "failure-description" => "Operation was not applied successfully to any servers" | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment