[keycloak-dev] dockerimage for jboss/keycloak-examples seems to be broken

Stian Thorgersen sthorger at redhat.com
Wed Feb 27 03:58:40 EST 2019


Keycloak examples are deprecated and no longer maintained. We are now
focusing on the QuickStarts [1].

We should remove the example image as it really isn't a good showcase of
Keycloak due to the fact that it leverages Keycloak deployed to standard
WildFly server including JEE apps on the same container. This is not a
deployment we support and its also way to Java focused. Keycloak is a
solution for apps written any language, not just Java, but the fact that so
much of our examples/docs focus on Java has given the community a false
impression here.

[1] https://github.com/keycloak/keycloak-quickstarts

On Mon, 25 Feb 2019 at 12:18, Thomas Darimont <
thomas.darimont at googlemail.com> wrote:

> Hello,
>
> just noticed that the jboss/keycloak-examples image doesn't start anymore,
> see below:
>
> Cheers,
> Thomas
>
> $ docker run -e KEYCLOAK_USER=admin -e KEYCLOAK_PASSWORD=admin
> jboss/keycloak-examples
> Unable to find image 'jboss/keycloak-examples:latest' locally
> latest: Pulling from jboss/keycloak-examples
> aeb7866da422: Already exists
> 157601a0b538: Already exists
> 642f4164f381: Already exists
> ee2abcb9139a: Already exists
> 10f7cea861e1: Pull complete
> 276721013b76: Pull complete
> 1c8d22278e14: Pull complete
> f1339a2aa9d9: Pull complete
> d6446eeff2ef: Pull complete
> Digest:
> sha256:e141cdcd0634813b3d1c4ce1b3c6683088c332ffce5bf74a2a01b194db46b449
> Status: Downloaded newer image for jboss/keycloak-examples:latest
> =========================================================================
>
>   JBoss Bootstrap Environment
>
>   JBOSS_HOME: /opt/jboss/keycloak-demo/keycloak
>
>   JAVA: /usr/lib/jvm/java/bin/java
>
>   JAVA_OPTS:  -server -Xms64m -Xmx512m -XX:MetaspaceSize=96M
> -XX:MaxMetaspaceSize=256m -Djava.net.preferIPv4Stack=true
> -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true
>
> =========================================================================
>
> 11:13:33,660 INFO  [org.jboss.modules] (main) JBoss Modules version
> 1.8.5.Final
> 11:13:33,841 INFO  [org.jboss.msc] (main) JBoss MSC version 1.4.2.Final
> 11:13:33,849 INFO  [org.jboss.threads] (main) JBoss Threads version
> 2.3.2.Final
> 11:13:33,932 INFO  [org.jboss.as] (MSC service thread 1-2) WFLYSRV0049:
> WildFly Full 13.0.0.Final (WildFly Core 5.0.0.Final) starting
> 11:13:34,457 ERROR [org.jboss.as.controller] (Controller Boot Thread)
>
> OPVDX001: Validation error in standalone.xml
> -----------------------------------
> |
> |  32:     <extension module="org.wildfly.extension.security.manager"/>
> |  33:     <extension module="org.wildfly.extension.undertow"/>
> |  34:     <extension module="org.keycloak.keycloak-server-subsystem"
> xmlns=""/>
> |          ^^^^ 'extension' can't appear more than once within the
> extensions element
> |
> |  35:     <extension module="org.keycloak.keycloak-adapter-subsystem"
> xmlns=""/>
> |  36:     <extension module="org.keycloak.keycloak-saml-adapter-subsystem"
> xmlns=""/>
> |  37: </extensions>
> |
> | A 'extension' element first appears here:
> |
> |  33:     <extension module="org.wildfly.extension.undertow"/>
> |  34:     <extension module="org.keycloak.keycloak-server-subsystem"
> xmlns=""/>
> |  35:     <extension module="org.keycloak.keycloak-adapter-subsystem"
> xmlns=""/>
> |          ^^^^
> |
> |  36:     <extension module="org.keycloak.keycloak-saml-adapter-subsystem"
> xmlns=""/>
> |  37: </extensions>
> |  38: <management>
> |
> | The primary underlying error message was:
> | > ParseError at [row,col]:[34,9]
> | > Message: WFLYCTL0198: Unexpected element 'extension' encountered
> |
>
> |-------------------------------------------------------------------------------
>
> 11:13:34,458 ERROR [org.jboss.as.server] (Controller Boot Thread)
> WFLYSRV0055: Caught exception during boot:
> org.jboss.as.controller.persistence.ConfigurationPersistenceException:
> WFLYCTL0085: Failed to parse configuration
> at
>
> org.jboss.as.controller.persistence.XmlConfigurationPersister.load(XmlConfigurationPersister.java:143)
> at org.jboss.as.server.ServerService.boot(ServerService.java:377)
> at
>
> org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:372)
> at java.lang.Thread.run(Thread.java:748)
>
> 11:13:34,459 FATAL [org.jboss.as.server] (Controller Boot Thread)
> WFLYSRV0056: Server boot has failed in an unrecoverable manner; exiting.
> See previous messages for details.
> 11:13:34,470 INFO  [org.jboss.as] (MSC service thread 1-1) WFLYSRV0050:
> WildFly Full 13.0.0.Final (WildFly Core 5.0.0.Final) stopped in 6ms
> _______________________________________________
> keycloak-dev mailing list
> keycloak-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-dev
>


More information about the keycloak-dev mailing list