[
https://issues.jboss.org/browse/AS7-906?page=com.atlassian.jira.plugin.sy...
]
Heiko Braun updated AS7-906:
----------------------------
Description:
{noformat}
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]"]}
}
=========================================
error in domain mode:
Unexpected HTTP response: 500
Request
{
"operation" => "add",
"address" => [
("profile" => "default"),
("subsystem" => "datasources"),
("data-source" => "mysql")
],
"name" => "mysql",
"jndi-name" => "jdbc/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",
"result" => {"server-groups" =>
{"main-server-group" => {
"server-two" => {
"host" => "local",
"response" => {
"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.jdbc/mysql]"]}
}
},
"server-one" => {
"host" => "local",
"response" => {
"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.jdbc/mysql]"]}
}
}
}}},
"failure-description" => "Operation was not applied successfully to
any servers"
}
{noformat}
was:https://gist.github.com/992931
Failed to create mysql datasource
---------------------------------
Key: AS7-906
URL:
https://issues.jboss.org/browse/AS7-906
Project: Application Server 7
Issue Type: Bug
Components: Domain Management, JCA
Reporter: Heiko Braun
Assignee: Stefano Maestri
Fix For: 7.0.0.CR1
{noformat}
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]"]}
}
=========================================
error in domain mode:
Unexpected HTTP response: 500
Request
{
"operation" => "add",
"address" => [
("profile" => "default"),
("subsystem" => "datasources"),
("data-source" => "mysql")
],
"name" => "mysql",
"jndi-name" => "jdbc/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",
"result" => {"server-groups" =>
{"main-server-group" => {
"server-two" => {
"host" => "local",
"response" => {
"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.jdbc/mysql]"]}
}
},
"server-one" => {
"host" => "local",
"response" => {
"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.jdbc/mysql]"]}
}
}
}}},
"failure-description" => "Operation was not applied successfully to
any servers"
}
{noformat}
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira