Created
May 26, 2011 11:03
-
-
Save anonymous/992923 to your computer and use it in GitHub Desktop.
This file contains 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
Request | |
{ | |
"operation" => "add", | |
"address" => [ | |
("subsystem" => "datasources"), | |
("data-source" => "mysql") | |
], | |
"name" => "mysql", | |
"jndi-name" => "mysql", | |
"enabled" => true, | |
"driver-name" => "mysql-connector-java-5.1.15.jar", | |
"driver-class-name" => "com.mysql.jdbc.Driver", | |
"driver-major-version" => 5, | |
"driver-minor-version" => 1, | |
"pool-name" => "mysql_Pool", | |
"connection-url" => "url", | |
"user-name" => "user", | |
"password" => "pass" | |
} | |
Response | |
Internal Server Error | |
{ | |
"outcome" => "failed", | |
"failure-description" => {"New missing/unsatisfied dependencies" => ["service jboss.jdbc-driver.\"mysql-connector-java-5.1.15.jar\" (missing) required by [service jboss.data-source.mysql]"]} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment