<div dir="ltr">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 .<div><br></div><div>Thanks,</div><div>Ismail</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Nov 19, 2015 at 12:21 PM, Bill Burke <span dir="ltr"><<a href="mailto:bburke@redhat.com" target="_blank">bburke@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">We don't support older community versions of Keycloak.<br>
<br>
My guess is that you did not enable the adapter in standalone.xml.<br>
Please see our documentation on how to install the adapter.<br>
<div><div class="h5"><br>
On 11/19/2015 9:58 AM, Ismail Shaik wrote:<br>
><br>
> Hi All,<br>
><br>
> I am trying the version 1.1.0 final with EAP 6.2 I am able to configure<br>
> the applications and users and roles with demo realm.<br>
><br>
> But some how database application is not deployable in Jboss EAP 6.2<br>
><br>
> I am getting the following issue when I try to login in demo realm to<br>
> access the customer-portal<br>
><br>
> session of subresource org.keycloak.protocol.oidc.OpenIDConnectService<br>
> will not be injected according to spec<br>
><br>
><br>
> while deploying in jboss with command mvn jboss-as:deploy is having<br>
> the below stack trace in my server<br>
><br>
><br>
> 14:58:22,857 INFO [org.jboss.as.server.deployment] (MSC service thread<br>
> 1-3) JBAS015876: Starting deployment of "database.war" (runtime-name:<br>
> "database.war")<br>
><br>
> 14:58:22,888 INFO [org.jboss.web] (ServerService Thread Pool -- 61)<br>
> JBAS018210: Register web context: /database<br>
><br>
> 14:58:22,892 ERROR [org.apache.catalina.startup] (ServerService Thread<br>
> Pool -- 61) JBWEB001034: Cannot configure an authenticator for method<br>
> KEYCLOAK<br>
><br>
> 14:58:22,893 ERROR [org.jboss.web] (ServerService Thread Pool -- 61)<br>
> JBAS018206: Webapp [/database] is unavailable due to startup errors<br>
><br>
> 14:58:22,893 ERROR [org.apache.catalina.core] (ServerService Thread Pool<br>
> -- 61) JBWEB001103: Error detected during context /database start, will<br>
> stop it<br>
><br>
> 14:58:22,896 ERROR [org.jboss.msc.service.fail] (ServerService Thread<br>
> Pool -- 61) MSC000001: Failed to start service<br>
> jboss.web.deployment.default-host./database:<br>
> org.jboss.msc.service.StartException in service<br>
> jboss.web.deployment.default-host./database:<br>
> org.jboss.msc.service.StartException in anonymous service: JBAS018040:<br>
> Failed to start context<br>
><br>
> at<br>
> org.jboss.as.web.deployment.WebDeploymentService$1.run(WebDeploymentService.java:96)<br>
><br>
> at<br>
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)<br>
> [rt.jar:1.7.0_75]<br>
><br>
> at java.util.concurrent.FutureTask.run(FutureTask.java:262)<br>
> [rt.jar:1.7.0_75]<br>
><br>
> at<br>
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)<br>
> [rt.jar:1.7.0_75]<br>
><br>
> at<br>
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)<br>
> [rt.jar:1.7.0_75]<br>
><br>
> at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_75]<br>
><br>
> at org.jboss.threads.JBossThread.run(JBossThread.java:122)<br>
><br>
> Caused by: org.jboss.msc.service.StartException in anonymous service:<br>
> JBAS018040: Failed to start context<br>
><br>
> at<br>
> org.jboss.as.web.deployment.WebDeploymentService.doStart(WebDeploymentService.java:161)<br>
><br>
> at<br>
> org.jboss.as.web.deployment.WebDeploymentService.access$000(WebDeploymentService.java:60)<br>
><br>
> at<br>
> org.jboss.as.web.deployment.WebDeploymentService$1.run(WebDeploymentService.java:93)<br>
><br>
> ... 6 more<br>
><br>
><br>
> 14:58:23,109 ERROR [org.jboss.as.server] (management-handler-thread - 6)<br>
> JBAS015870: Deploy of deployment "database.war" was rolled back with the<br>
> following failure message:<br>
><br>
> {"JBAS014671: Failed services" =><br>
> {"jboss.web.deployment.default-host./database" =><br>
> "org.jboss.msc.service.StartException in service<br>
> jboss.web.deployment.default-host./database:<br>
> org.jboss.msc.service.StartException in anonymous service: JBAS018040:<br>
> Failed to start context<br>
><br>
> Caused by: org.jboss.msc.service.StartException in anonymous<br>
> service: JBAS018040: Failed to start context"}}<br>
><br>
><br>
><br>
> Can you please me with that, I am not able to login in demo with the<br>
> create roles . Thanks,<br>
><br>
> Ismail<br>
><br>
> --<br>
> Thanks,<br>
> Ismail Shaik - 908 922 9571<br>
><br>
><br>
</div></div>> _______________________________________________<br>
> keycloak-user mailing list<br>
> <a href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a><br>
> <a href="https://lists.jboss.org/mailman/listinfo/keycloak-user" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/keycloak-user</a><br>
><br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Bill Burke<br>
JBoss, a division of Red Hat<br>
<a href="http://bill.burkecentral.com" rel="noreferrer" target="_blank">http://bill.burkecentral.com</a><br>
_______________________________________________<br>
keycloak-user mailing list<br>
<a href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/keycloak-user" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/keycloak-user</a><br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div>Thanks,</div><div>Ismail Shaik - 908 922 9571</div></div>
</div>