Getting deployment error when registering Oracle Driver in EAP 7

Solution Verified - Updated -

Issue

  • We are getting the following error when registering an oracle datasource driver in Jboss CLI.

    "WFLYJCA0117: null is not a valid javax.sql.DataSource implementation"
    
    • This happens running one of the following CLI commands

      /subsystem=datasources/jdbc-driver=oracle:add(driver-name=oracle,driver-module-name=com.oracle,driver-xa-datasource-class-name=oracle.jdbc.pool.OracleConnectionPoolDataSource)
      

      or

      /subsystem=datasources/jdbc-driver=oracle:add(driver-name=oracle, driver-module-name=com.oracle, driver-xa-datasource-class-name=oracle.jdbc.driver.OracleDriver)
      

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 7.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content