Bug 1060997
Summary: | [GSS] (6.3.0) testConnection should account for deployment classloader | ||
---|---|---|---|
Product: | [JBoss] JBoss Enterprise Application Platform 6 | Reporter: | Jay SenSharma <jsenshar> |
Component: | Class Loading | Assignee: | David M. Lloyd <david.lloyd> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | high | ||
Version: | 6.2.0 | CC: | bmaxwell, jmartisk, kkhan, lcosti, myarboro, sjadhav |
Target Milestone: | DR0 | ||
Target Release: | EAP 6.3.0 | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: |
A bug was uncovered that could cause earlier versions of JBoss EAP to throw an exception when testing a datasource.
The exception presented while using the LDAP protocol in the datasource "connection-url" tag. The product was failing to instantiate +InitialContextFactory+ because the "org.jboss.as.connector" module was not able to access some of the JDK provided classes (such as +com.sun.jndi.ldap.LdapCtxFactory+). This resulted in a datasource connection test failure when the Datasource "connection-url" was using "ldap://" protocol.
This issue was resolved by adding a dependency on +sun.jdk+ to the +org.jboss.as.connector+ module. This makes the required JDK classes accessible from the connector module and the datasource testing using CLI using "test-connection-in-pool" operation succeeds.
|
Story Points: | --- |
Clone Of: | 1007181 | Environment: | |
Last Closed: | 2014-06-28 15:28:37 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 1007181 |
Description
Jay SenSharma
2014-02-04 06:47:44 UTC
Verified in 6.3.0.DR0. |