Bug 1061631

Summary: (SET) (6.2.1) InitialContext swallows original exception cause
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Carlo de Wolf <cdewolf>
Component: NamingAssignee: Carlo de Wolf <cdewolf>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: urgent    
Version: 6.2.0CC: rdickens, zroubali
Target Milestone: CR4   
Target Release: EAP 6.2.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Cause: Instantiation of an InitialContext might fail with: javax.naming.NamingException: JBAS011843: Failed instantiate InitialContextFactory com.sun.jndi.ldap.LdapCtxFactory from classloader ModuleClassLoader for Module "deployment.externalContextBindingTest.jar:main" from Service Module Loader The actual cause is not visible. Consequence: Troubleshooting the actual cause is impossible. Fix: Expose the underlying cause. Result: The real cause is listed in the trace: javax.naming.NamingException: JBAS011843: Failed instantiate InitialContextFactory com.sun.jndi.ldap.LdapCtxFactory from classloader ModuleClassLoader for Module "deployment.externalContextBindingTest.jar:main" from Service Module Loader [Root exception is javax.naming.CommunicationException: 127.0.0.1:10389 [Root exception is java.net.ConnectException: Connection refused]]
Story Points: ---
Clone Of: 1061609 Environment:
Last Closed: 2014-02-24 20:16:18 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: 1061609    
Bug Blocks: 1027004    

Comment 2 Russell Dickenson 2014-02-11 14:04:12 UTC
This ticket's release notes entry has been added to the EAP 6.2.1 Release Notes, as can be confirmed here: http://docbuilder.usersys.redhat.com/22553/.