Keycloak Server 1.9.x and later is no longer supported (or even works) on EAP 6.x, only latest Wildfly and EAP 7.  Its too much extra maintenance for us.  Our supported keycloak product will run on EAP7.

The Keycloak client adapters (SAML and OIDC/OAuth) should all still work with AS7, EAP 6.x, Wildfly 8-10, Jetty 8.1-9.2, Tomcat 6-8.

On 4/1/2016 3:31 PM, venito camelas wrote:
Hi, im trying to use keycloak 1.9 on a jboss eap-6.4
I downloaded keycloak 1.9.1 and keycloak overlay 1.9.1.

When I try to start jboss I get the following error:

Caused by: java.lang.NoSuchMethodError: org.jboss.as.controller.ExtensionContext.registerSubsystem(Ljava/lang/String;Lorg/jboss/as/controller/ModelVersion;)Lorg/jboss/as/controller/SubsystemRegistration;
        at org.keycloak.subsystem.server.extension.KeycloakExtension.initialize(KeycloakExtension.java:70)
        at org.jboss.as.controller.extension.ExtensionAddHandler.initializeExtension(ExtensionAddHandler.java:97) [jboss-as-controller-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]
        at org.jboss.as.controller.extension.ParallelExtensionAddHandler$ExtensionInitializeTask.call(ParallelExtensionAddHandler.java:139) [jboss-as-controller-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]
        at org.jboss.as.controller.extension.ParallelExtensionAddHandler$ExtensionInitializeTask.call(ParallelExtensionAddHandler.java:125) [jboss-as-controller-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]
        at java.util.concurrent.FutureTask.run(FutureTask.java:266) [rt.jar:1.8.0_45]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [rt.jar:1.8.0_45]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [rt.jar:1.8.0_45]
        at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_45]
        at org.jboss.threads.JBossThread.run(JBossThread.java:122) [jboss-threads-2.1.2.Final-redhat-1.jar:2.1.2.Final-redhat-1]


For what I understood reading the code, it is trying to call the method register subsystem using 2 arguments and the ExtensionContext that jboss eap 6.4 uses doesn't support 2 arguments, it supports 2 or more.

What am I missing?


_______________________________________________
keycloak-user mailing list
keycloak-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-user

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