Uploaded image for project: 'HAL'
  1. HAL
  2. HAL-663

DataSource created via console fails when test connection is done in WildFly 9

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 2.8.15
    • 2.4.x
    • General Configuration
    • None
    • Hide

      Try creating a MySQL DataSource from console (WildFly 9 CR1) and then test it

      Show
      Try creating a MySQL DataSource from console (WildFly 9 CR1) and then test it

      • When a datasource is created via Console (WildFly 9 CR1) then it always fails when test connection is done on MySQL datasource created via consle.

      Following error is thrown :

      Unexpected HTTP response: 500
      
      Request
      {
          "address" => [
              ("subsystem" => "datasources"),
              ("data-source" => "MySqlDS")
          ],
          "operation" => "test-connection-in-pool"
      }
      
      Response
      
      Internal Server Error
      {
          "outcome" => "failed",
          "failure-description" => "WFLYJCA0040: failed to invoke operation: WFLYJCA0042: failed to match pool. Check JndiName: java:/MySqlDS",
          "rolled-back" => true,
          "response-headers" => {"process-state" => "reload-required"}
      }
      
      • Even after reloading the whole standalone server the test always fails.

              rhn-support-hbraun Heiko Braun
              jaysensharma Jay SenSharma (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: