[keycloak-user] Cannot configure an authenticator for method KEYCLOAK

Ataraxus atx at binaryninja.de
Wed Nov 18 06:48:40 EST 2015


Hello,

having trouble to get my or the example app "customer-portal" working 
with keycloak... I installed keycloak 1.6.1 on an EAP 6.4 via the 
overlay and followed the youtube tutorials. Is there anything else i 
have to configure, so that jboss finds the authenticator KEYCLOAK. The 
apps are deployed on the

11:38:38,317 INFO  [org.jboss.web] (ServerService Thread Pool -- 57) 
JBAS018210: Register web context: /customer-portal
11:38:38,332 ERROR [org.apache.catalina.startup] (ServerService Thread 
Pool -- 57) JBWEB001034: Cannot configure an authenticator for method 
KEYCLOAK
11:38:38,332 ERROR [org.jboss.web] (ServerService Thread Pool -- 57) 
JBAS018206: Webapp [/customer-portal] is unavailable due to startup errors
11:38:38,333 ERROR [org.apache.catalina.core] (ServerService Thread Pool 
-- 57) JBWEB001103: Error detected during context /customer-portal 
start, will stop it
11:38:38,365 ERROR [org.jboss.msc.service.fail] (ServerService Thread 
Pool -- 57) MSC000001: Failed to start service 
jboss.web.deployment.default-host./customer-portal: 
org.jboss.msc.service.StartException in service 
jboss.web.deployment.default-host./customer-portal: 
org.jboss.msc.service.StartException in anonymous service: JBAS018040: 
Failed to start context
         at 
org.jboss.as.web.deployment.WebDeploymentService$1.run(WebDeploymentService.java:99)
         at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) 
[rt.jar:1.7.0_85]
         at java.util.concurrent.FutureTask.run(FutureTask.java:262) 
[rt.jar:1.7.0_85]
         at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) 
[rt.jar:1.7.0_85]
         at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) 
[rt.jar:1.7.0_85]
         at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_85]
         at org.jboss.threads.JBossThread.run(JBossThread.java:122) 
[jboss-threads-2.1.2.Final-redhat-1.jar:2.1.2.Final-redhat-1]
Caused by: org.jboss.msc.service.StartException in anonymous service: 
JBAS018040: Failed to start context
         at 
org.jboss.as.web.deployment.WebDeploymentService.doStart(WebDeploymentService.java:168)
         at 
org.jboss.as.web.deployment.WebDeploymentService.access$000(WebDeploymentService.java:61)
         at 
org.jboss.as.web.deployment.WebDeploymentService$1.run(WebDeploymentService.java:96)
         ... 6 more

11:38:38,372 ERROR [org.jboss.as.controller.management-operation] 
(HttpManagementService-threads - 3) JBAS014612: Operation ("add") failed 
- address: ([{"deployment" => "customer-portal.war"}]) - failure 
description: {"JBAS014671: Failed services" => 
{"jboss.web.deployment.default-host./customer-portal" => 
"org.jboss.msc.service.StartException in service 
jboss.web.deployment.default-host./customer-portal: 
org.jboss.msc.service.StartException in anonymous service: JBAS018040: 
Failed to start context
     Caused by: org.jboss.msc.service.StartException in anonymous 
service: JBAS018040: Failed to start context"}}
11:38:38,385 ERROR [org.jboss.as.server] (HttpManagementService-threads 
- 3) JBAS015870: Deploy of deployment "customer-portal.war" was rolled 
back with the following failure message:
{"JBAS014671: Failed services" => 
{"jboss.web.deployment.default-host./customer-portal" => 
"org.jboss.msc.service.StartException in service 
jboss.web.deployment.default-host./customer-portal: 
org.jboss.msc.service.StartException in anonymous service: JBAS018040: 
Failed to start context
     Caused by: org.jboss.msc.service.StartException in anonymous 
service: JBAS018040: Failed to start context"}}
11:38:38,399 INFO  [org.jboss.as.server.deployment] (MSC service thread 
1-2) JBAS015877: Stopped deployment customer-portal.war (runtime-name: 
customer-portal.war) in 21ms
11:38:38,401 INFO  [org.jboss.as.controller] 
(HttpManagementService-threads - 3) JBAS014774: Service status report
JBAS014775:    New missing/unsatisfied dependencies:
       service 
jboss.deployment.unit."customer-portal.war".component."com.sun.faces.config.ConfigureListener".START 
(missing) dependents: [service 
jboss.deployment.unit."customer-portal.war".deploymentCompleteService]
       service 
jboss.deployment.unit."customer-portal.war".component."javax.faces.webapp.FacetTag".START 
(missing) dependents: [service 
jboss.deployment.unit."customer-portal.war".deploymentCompleteService]
       service 
jboss.deployment.unit."customer-portal.war".component."javax.servlet.jsp.jstl.tlv.PermittedTaglibsTLV".START 
(missing) dependents: [service 
jboss.deployment.unit."customer-portal.war".deploymentCompleteService]
       service 
jboss.deployment.unit."customer-portal.war".component."javax.servlet.jsp.jstl.tlv.ScriptFreeTLV".START 
(missing) dependents: [service 
jboss.deployment.unit."customer-portal.war".deploymentCompleteService]
       service 
jboss.deployment.unit."customer-portal.war".component."org.apache.catalina.servlets.DefaultServlet".START 
(missing) dependents: [service 
jboss.deployment.unit."customer-portal.war".deploymentCompleteService]
       service 
jboss.deployment.unit."customer-portal.war".component."org.apache.jasper.servlet.JspServlet".START 
(missing) dependents: [service 
jboss.deployment.unit."customer-portal.war".deploymentCompleteService]
       service jboss.web.deployment.default-host./customer-portal 
(missing) dependents: [service 
jboss.deployment.unit."customer-portal.war".deploymentCompleteService]
       service jboss.web.deployment.default-host./customer-portal.realm 
(missing) dependents: [service 
jboss.deployment.unit."customer-portal.war".deploymentCompleteService]
JBAS014777:   Services which failed to start:      service 
jboss.web.deployment.default-host./customer-portal


More information about the keycloak-user mailing list