Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1061609 - InitialContext swallows original exception cause
InitialContext swallows original exception cause
Status: CLOSED CURRENTRELEASE
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: Naming (Show other bugs)
6.2.0
Unspecified Unspecified
urgent Severity medium
: DR0
: EAP 6.3.0
Assigned To: Carlo de Wolf
:
Depends On:
Blocks: 1061631
  Show dependency treegraph
 
Reported: 2014-02-05 03:14 EST by Carlo de Wolf
Modified: 2014-06-28 11:30 EDT (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
In previous versions of EAP 6, instantiation of an InitialContext might fail with the following message: ---- 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 ---- From this message, however, the underlying cause was not visible, making troubleshooting impossible. To resolve this issue, the underlying cause has now been exposed. If this issue now occurs, the error message now reveals the root cause: ---- 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:
: 1061631 (view as bug list)
Environment:
Last Closed: 2014-06-28 11:30:35 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
JBoss Issue Tracker WFLY-2868 Critical Resolved Expose underlying cause during InitialContextFactory instantiation 2015-07-14 10:35:24 EDT

  None (edit)
Description Carlo de Wolf 2014-02-05 03:14:50 EST
Instantiation an InitialContext might fail with just the follow cause:
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 underlying cause is no longer available.
Comment 4 Jan Martiska 2014-02-21 07:23:08 EST
Verified in 6.3.0.DR0.
Comment 5 Scott Mumford 2014-04-24 00:01:07 EDT
Included release note from bug 1061631 (duplicate) written for EAP 6.2.1 Release Notes.

Marking for inclusion in documentation.
Comment 6 sgilda 2014-05-12 15:58:57 EDT
Changed <screen></screen> tags in Doc Text to ticks (`) to fix Bug 1096865

Note You need to log in before you can comment on or make changes to this bug.