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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.