Bug 1265877
Summary: | [GSS] (6.4.z) ClassNotFoundException due to ldap config for HornetQ | ||
---|---|---|---|
Product: | [JBoss] JBoss Enterprise Application Platform 6 | Reporter: | Hisanobu Okuda <hokuda> |
Component: | Class Loading | Assignee: | Ivo Studensky <istudens> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.4.0 | CC: | bkundal, bmaxwell, csuconic, david.lloyd, istudens, msvehla, rsvoboda |
Target Milestone: | CR1 | Keywords: | Reopened |
Target Release: | EAP 6.4.6 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2017-01-17 11:43:58 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: | 1235746 |
Description
Hisanobu Okuda
2015-09-24 03:02:37 UTC
Adding <module name="sun.jdk"/> to the module.xml resolves the issue. Next time you open a bug, please look at where it's failing... On this case your failure is way bellow hornetq... so it would be either a failure on security or a configuration issue, what it turned out to be the case. Clebert, thank you for the suggestion. However, it is an issue on class loading of HornetQ module in EAP6. Therefore, I added "HornetQ" and "Class Loader" to the "Component". It should be fixed same as https://issues.jboss.org/browse/WFLY-3205. Issue was reproduced on EAP 6.4.5.CP. If traces are enabled then in log there is: 11:23:25,304 TRACE [org.jboss.as.domain.management.security] (Old I/O server worker (parentId: 2050620633, [id: 0x7a39fcd9, /127.0.0.1:5445])) Unable to verify identity.: javax.naming.NamingException: JBAS011843: Failed instantiate InitialContextFactory com.sun.jndi.ldap.LdapCtxFactory from classloader ModuleClassLoader for Module "org.jboss.as.messaging:main" from local module loader @16f65612 (finder: local module finder @311d617d (roots: /home/mnovak/tmp/jboss-eap-6.4/modules,/home/mnovak/tmp/jboss-eap-6.4/modules/system/layers/base/.overlays/layer-base-jboss-eap-6.4.5.CP,/home/mnovak/tmp/jboss-eap-6.4/modules/system/layers/base)) [Root exception is java.lang.ClassNotFoundException: com.sun.jndi.ldap.LdapCtxFactory from [Module "org.jboss.as.messaging:main" from local module loader @16f65612 (finder: local module finder @311d617d (roots: /home/mnovak/tmp/jboss-eap-6.4/modules,/home/mnovak/tmp/jboss-eap-6.4/modules/system/layers/base/.overlays/layer-base-jboss-eap-6.4.5.CP,/home/mnovak/tmp/jboss-eap-6.4/modules/system/layers/base))]] .... Caused by: java.lang.ClassNotFoundException: com.sun.jndi.ldap.LdapCtxFactory from [Module "org.jboss.as.messaging:main" from local module loader @16f65612 (finder: local module finder @311d617d (roots: /home/mnovak/tmp/jboss-eap-6.4/modules,/home/mnovak/tmp/jboss-eap-6.4/modules/system/layers/base/.overlays/layer-base-jboss-eap-6.4.5.CP,/home/mnovak/tmp/jboss-eap-6.4/modules/system/layers/base))] at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:213) [jboss-modules.jar:1.3.7.Final-redhat-1] On EAP 6.4.6.CP.CR2 there is no ClassNotFoundException any more and client connecting to HornetQ authenticated successfully. Setting as verified. Retroactively bulk-closing issues from released EAP 6.4 cumulative patches. |