Oracle Datasource Test Connection fails with LDAP URL

Solution Verified - Updated -

Issue

  • When using an LDAP URL in the database connection string, the "Test connection" option from EAP 6 admin console no longer works because it is missing dependencies for making an LDAP connection.Is there a way to circumvent that so the test option works?
Unknown error
Unexpected HTTP response: 500
Request
{
    "address" => [
        ("subsystem" => "datasources"),
        ("data-source" => "trpar")
    ],
    "operation" => "test-connection-in-pool"
}

Response
Internal Server Error
{
    "outcome" => "failed",
    "failure-description" => "JBAS010440: failed to invoke operation: JBAS010447: Connection is not valid",
    "rolled-back" => true
}

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6.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