Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-20889

Improve JDBC add/remove ops to include real cause of failure

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Trivial Trivial
    • 38.0.0.Final
    • None
    • None
    • None

      EDIT: for posterity - this is by design, when particular error is translated into OperationClientException, reason needs to be descriptive on its own merit.

      Essentially when module does not have defined name attribute( or maybe even if it does not match directory?), upon creation of JDBC driver reason for this wont be shown:

      14:09:08,620 ERROR [org.jboss.as.controller.management-operation] (ServerService Thread Pool – 43) WFLYCTL0013: Operation ("add") failed - address: ([
      ("subsystem" => "datasources"),
      ("jdbc-driver" => "com.mysql")
      ]) - Stage: (RUNTIME) - failure description: "WFLYJCA0041: Failed to load module for driver [com.mysql]"

      Essentially just a failure because failure.

              rhn-cservice-bbaranow Bartosz Baranowski
              rhn-cservice-bbaranow Bartosz Baranowski
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: