Skip to content

Instantly share code, notes, and snippets.

@heiko-braun
Created May 6, 2011 13:55
Show Gist options
  • Select an option

  • Save heiko-braun/958985 to your computer and use it in GitHub Desktop.

Select an option

Save heiko-braun/958985 to your computer and use it in GitHub Desktop.
XA datasource creation error
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