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

Ataraxus atx at binaryninja.de
Thu Nov 19 14:36:33 EST 2015


As discussed quite detailed. It is not going to happen, the dev team (as 
far I understand) won't support you, since it's not their focus. _only_ 
the adapter for JBoss 6.2 is supported. If you want to use keycloak with 
jboss EAP 6.2 you have to run keycloak standalone and use the adapter 
for JBoss 6.2. Keycloak on EAP 6.2 won't happen (which also affects me, 
but i also can't/wont spend time on porting it back).

Am 19.11.15 um 20:32 schrieb Ismail Shaik:
> can any one suggest, how to get workable key cloak on jboss lap 6.2 ? 
>  with the latest 1.6.1 final version. I am not getting much useful 
> help to resolve this issue , running with lots of issues .
>
> Thanks,
> Ismail
>
> On Thu, Nov 19, 2015 at 12:21 PM, Bill Burke <bburke at redhat.com 
> <mailto:bburke at redhat.com>> wrote:
>
>     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 <mailto: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
>     _______________________________________________
>     keycloak-user mailing list
>     keycloak-user at lists.jboss.org <mailto:keycloak-user at lists.jboss.org>
>     https://lists.jboss.org/mailman/listinfo/keycloak-user
>
>
>
>
> -- 
> Thanks,
> Ismail Shaik - 908 922 9571
>
>
> _______________________________________________
> keycloak-user mailing list
> keycloak-user at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-user

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/keycloak-user/attachments/20151119/e672f8e4/attachment.html 


More information about the keycloak-user mailing list