[keycloak-user] Database war is not deployable on Jboss EAP 6.2 with 1.1.0.Final version

Bill Burke bburke at redhat.com
Thu Nov 19 13:21:00 EST 2015


We don't support older community versions of Keycloak.

My guess is that you did not enable the adapter in standalone.xml. 
Please see our documentation on how to install the adapter.

On 11/19/2015 9:58 AM, Ismail Shaik wrote:
>
> Hi All,
>
> I am trying the version 1.1.0 final with EAP 6.2 I am able to configure
> the applications and users and roles with demo realm.
>
> But some how database application is not deployable in Jboss EAP 6.2
>
> I am getting the following issue when I try to login in demo realm to
> access the customer-portal
>
> session of subresource org.keycloak.protocol.oidc.OpenIDConnectService
> will not be injected according to spec
>
>
> while deploying in jboss with  command   mvn jboss-as:deploy  is having
> the below stack trace in my server
>
>
> 14:58:22,857 INFO  [org.jboss.as.server.deployment] (MSC service thread
> 1-3) JBAS015876: Starting deployment of "database.war" (runtime-name:
> "database.war")
>
> 14:58:22,888 INFO  [org.jboss.web] (ServerService Thread Pool -- 61)
> JBAS018210: Register web context: /database
>
> 14:58:22,892 ERROR [org.apache.catalina.startup] (ServerService Thread
> Pool -- 61) JBWEB001034: Cannot configure an authenticator for method
> KEYCLOAK
>
> 14:58:22,893 ERROR [org.jboss.web] (ServerService Thread Pool -- 61)
> JBAS018206: Webapp [/database] is unavailable due to startup errors
>
> 14:58:22,893 ERROR [org.apache.catalina.core] (ServerService Thread Pool
> -- 61) JBWEB001103: Error detected during context /database start, will
> stop it
>
> 14:58:22,896 ERROR [org.jboss.msc.service.fail] (ServerService Thread
> Pool -- 61) MSC000001: Failed to start service
> jboss.web.deployment.default-host./database:
> org.jboss.msc.service.StartException in service
> jboss.web.deployment.default-host./database:
> org.jboss.msc.service.StartException in anonymous service: JBAS018040:
> Failed to start context
>
> at
> org.jboss.as.web.deployment.WebDeploymentService$1.run(WebDeploymentService.java:96)
>
> at
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
> [rt.jar:1.7.0_75]
>
> at java.util.concurrent.FutureTask.run(FutureTask.java:262)
> [rt.jar:1.7.0_75]
>
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> [rt.jar:1.7.0_75]
>
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> [rt.jar:1.7.0_75]
>
> at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_75]
>
> at org.jboss.threads.JBossThread.run(JBossThread.java:122)
>
> 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:161)
>
> at
> org.jboss.as.web.deployment.WebDeploymentService.access$000(WebDeploymentService.java:60)
>
> at
> org.jboss.as.web.deployment.WebDeploymentService$1.run(WebDeploymentService.java:93)
>
> ... 6 more
>
>
> 14:58:23,109 ERROR [org.jboss.as.server] (management-handler-thread - 6)
> JBAS015870: Deploy of deployment "database.war" was rolled back with the
> following failure message:
>
> {"JBAS014671: Failed services" =>
> {"jboss.web.deployment.default-host./database" =>
> "org.jboss.msc.service.StartException in service
> jboss.web.deployment.default-host./database:
> 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"}}
>
>
>
> Can you please me with that, I am not able to login in demo with the
> create roles . Thanks,
>
> Ismail
>
> --
> Thanks,
> Ismail Shaik - 908 922 9571
>
>
> _______________________________________________
> keycloak-user mailing list
> keycloak-user at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-user
>

-- 
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com


More information about the keycloak-user mailing list