Details
-
Bug
-
Resolution: Done
-
Minor
-
None
-
None
Description
Download oracle jdbc driver at http://www.oracle.com/technetwork/database/features/jdbc/jdbc-ucp-122-3110062.html
Install the driver as a module and add the JDBC driver:
module add --name=com.oracle.jdbc --resources=/opt/Downloads/ojdbc8.jar --dependencies=[javax.api, javax.transaction.api] /subsystem=datasources/jdbc-driver=oracle:add(driver-name=oracle, driver-module-name=com.oracle.jdbc, driver-datasource-class-name=oracle.jdbc.pool.OracleDataSource, driver-class-name=oracle.jdbc.OracleDriver)
Then the following command will fail:
/subsystem=datasources:get-installed-driver(driver-name=oracle)
The fail message is like:
{ "outcome" => "failed", "failure-description" => "WFLYCTL0158: Operation handler failed: java.lang.IllegalArgumentException: newValue is null", "rolled-back" => true }
Attachments
Issue Links
- is related to
-
WFLY-10640 driver-datasource-class-name and driver-xa-datasource-class-name need to be validated when updating
- Closed