Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-906

Failed to create mysql datasource

    Details

      Description

      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"
      }
      
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  maeste Stefano Maestri
                  Reporter:
                  heiko.braun Heiko Braun
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: