[jboss-jira] [JBoss JIRA] (WFLY-10949) IllegalArgumentException when get jdbc driver info if xa-datasource-class is not defined

James Perkins (Jira) issues at jboss.org
Tue Dec 11 13:08:01 EST 2018


     [ https://issues.jboss.org/browse/WFLY-10949?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

James Perkins updated WFLY-10949:
---------------------------------
    Fix Version/s: 15.0.0.Final


> IllegalArgumentException when get jdbc driver info if xa-datasource-class is not defined
> ----------------------------------------------------------------------------------------
>
>                 Key: WFLY-10949
>                 URL: https://issues.jboss.org/browse/WFLY-10949
>             Project: WildFly
>          Issue Type: Bug
>          Components: JCA
>            Reporter: Lin Gao
>            Assignee: Lin Gao
>            Priority: Minor
>             Fix For: 15.0.0.Beta1, 15.0.0.Final
>
>   Original Estimate: 1 day
>  Remaining Estimate: 1 day
>
> 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:
> {code:bash}
> 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)
> {code}
> Then the following command will fail:
> {code:}
> /subsystem=datasources:get-installed-driver(driver-name=oracle)
> {code}
> The fail message is like:
> {code:java}
> {
>     "outcome" => "failed",
>     "failure-description" => "WFLYCTL0158: Operation handler failed: java.lang.IllegalArgumentException: newValue is null",
>     "rolled-back" => true
> }
> {code}



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the jboss-jira mailing list