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

Test connection fails every time

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 2.6.10
    • 2.6.10
    • None

      Test connection keeps failing in both, standalone and domain using HAL version 2.6.6.Final. Worked fine in 2.1.1.Final
      Standalone details:

      Unexpected HTTP response: 500
      
      Request
      {
          "address" => [
              ("subsystem" => "datasources"),
              ("data-source" => "Postgresql")
          ],
          "operation" => "test-connection-in-pool"
      }
      
      Response
      
      Internal Server Error
      {
          "outcome" => "failed",
          "failure-description" => "WFLYJCA0040: failed to invoke operation: WFLYJCA0047: Connection is not valid",
          "rolled-back" => true
      }
      

      Domain details:

      Unexpected HTTP response: 500
      
      Request
      {
          "address" => [],
          "operation" => "composite",
          "steps" => [{
              "operation" => "test-connection-in-pool",
              "address" => [
                  ("host" => "host2"),
                  ("server" => "server-one"),
                  ("subsystem" => "datasources"),
                  ("data-source" => "PostgresDS")
              ]
          }]
      }
      
      Response
      
      Internal Server Error
      {
          "outcome" => "failed",
          "result" => {"step-1" => {
              "outcome" => "failed",
              "failure-description" => "WFLYJCA0040: failed to invoke operation: WFLYJCA0047: Connection is not valid",
              "rolled-back" => true
          }},
          "failure-description" => "WFLYDC0022: Operation failed or was rolled back on all servers.",
          "rolled-back" => true,
          "server-groups" => {"main-server-group" => {"host" => {"host2" => {"server-one" => {"response" => {
              "outcome" => "failed",
              "result" => {"step-1" => {
                  "outcome" => "failed",
                  "failure-description" => "WFLYJCA0040: failed to invoke operation: WFLYJCA0047: Connection is not valid",
                  "rolled-back" => true
              }},
              "failure-description" => {"WFLYCTL0062: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-1" => "WFLYJCA0040: failed to invoke operation: WFLYJCA0047: Connection is not valid"}},
              "rolled-back" => true
          }}}}}}
      }
      

              hpehl@redhat.com Harald Pehl
              mkrajcov Michal Krajcovic (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: