Bug 1157687 - HR server fails to load Kerberos login module
Summary: HR server fails to load Kerberos login module
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Data Grid 6
Classification: JBoss
Component: Server
Version: 6.4.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ER3
: 6.4.0
Assignee: Tristan Tarrant
QA Contact: Martin Gencur
URL:
Whiteboard:
Depends On:
Blocks: jdg64-Beta-Blockers
TreeView+ depends on / blocked
 
Reported: 2014-10-27 13:50 UTC by Vojtech Juranek
Modified: 2015-01-28 13:31 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Vojtech Juranek 2014-10-27 13:50:34 UTC
HotRod server fails to load Kerberos login module. HotRod SASL auth via Kerberos fails with

ESC[0mESC[31m14:42:31,669 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC000001: Failed to start service jboss.endpoint.hotrod.hotrod-connector: org.jboss.msc.service.StartException in service jboss.endpoint.hotrod.hotrod-connector: JDGS010004: Failed to start HotRodServer
        at org.infinispan.server.endpoint.subsystem.ProtocolServerService.start(ProtocolServerService.java:142)
        at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1980) [jboss-msc-1.1.5.Final-redhat-1.jar:1.1.5.Final-redhat-1]
        at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1913) [jboss-msc-1.1.5.Final-redhat-1.jar:1.1.5.Final-redhat-1]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_55]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_55]
        at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_55]
Caused by: javax.security.auth.login.LoginException: unable to find LoginModule class: org.jboss.security.negotiation.KerberosLoginModule from [Module "org.infinispan.server.endpoint:main" from local module loader @77dbc064 (finder: local module finder @7c3422b5 (roots: /infinispan/server/integration/testsuite/target/server/node1/modules,/infinispan/server/integration/testsuite/target/server/node1/modules/system/layers/base))]
        at javax.security.auth.login.LoginContext.invoke(LoginContext.java:800) [rt.jar:1.7.0_55]
        at javax.security.auth.login.LoginContext.access$000(LoginContext.java:203) [rt.jar:1.7.0_55]
        at javax.security.auth.login.LoginContext$4.run(LoginContext.java:690) [rt.jar:1.7.0_55]
        at javax.security.auth.login.LoginContext$4.run(LoginContext.java:688) [rt.jar:1.7.0_55]
        at java.security.AccessController.doPrivileged(Native Method) [rt.jar:1.7.0_55]
        at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:687) [rt.jar:1.7.0_55]
        at javax.security.auth.login.LoginContext.login(LoginContext.java:595) [rt.jar:1.7.0_55]
        at org.infinispan.server.endpoint.subsystem.ProtocolServerService.getServerSubject(ProtocolServerService.java:252)
        at org.infinispan.server.endpoint.subsystem.ProtocolServerService.start(ProtocolServerService.java:123)
        ... 5 more

Comment 2 Vojtech Juranek 2014-10-27 16:10:35 UTC
https://github.com/infinispan/jdg/pull/311

Comment 3 Sebastian Łaskawiec 2014-10-30 08:32:29 UTC
https://github.com/infinispan/jdg/pull/311


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