Uploaded image for project: 'Thorntail'
  1. Thorntail
  2. THORN-1737

Keycloak Server fails to start in 2017.12.1

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 2017.12.1
    • Fix Version/s: 2018.1.0
    • Component/s: core, servers
    • Labels:
      None
    • Story Points:
      5
    • Steps to Reproduce:
      Hide
      1. Go to http://wildfly-swarm.io/generator/
      2. Choose the Keycloak Server fraction
      3. Make sure the WF Swarm version is 2017.12.1
      4. Press Generate and unzip the generated ZIP somewhere
      5. Run mvn wildfly-swarm:run
      Show
      Go to http://wildfly-swarm.io/generator/ Choose the Keycloak Server fraction Make sure the WF Swarm version is 2017.12.1 Press Generate and unzip the generated ZIP somewhere Run mvn wildfly-swarm:run
    • Workaround:
      Workaround Exists
    • Workaround Description:
      Hide

      Use WildFly Swarm 2017.11.0

      Show
      Use WildFly Swarm 2017.11.0

      Description

      The following error prevents the Keycloak server to start in 2017.12.1:

      2017-12-13 23:58:23,428 INFO  [org.wildfly.swarm] (main) WFSWARM0013: Installed fraction:                  Logging - STABLE          org.wildfly.swarm:logging:2017.12.1
      2017-12-13 23:58:23,441 INFO  [org.wildfly.swarm] (main) WFSWARM0013: Installed fraction:                      JMX - STABLE          org.wildfly.swarm:jmx:2017.12.1
      2017-12-13 23:58:23,443 INFO  [org.wildfly.swarm] (main) WFSWARM0013: Installed fraction:             Transactions - STABLE          org.wildfly.swarm:transactions:2017.12.1
      2017-12-13 23:58:23,443 INFO  [org.wildfly.swarm] (main) WFSWARM0013: Installed fraction:               Infinispan - STABLE          org.wildfly.swarm:infinispan:2017.12.1
      2017-12-13 23:58:23,444 INFO  [org.wildfly.swarm] (main) WFSWARM0013: Installed fraction:                      JCA - STABLE          org.wildfly.swarm:jca:2017.12.1
      2017-12-13 23:58:23,445 INFO  [org.wildfly.swarm] (main) WFSWARM0013: Installed fraction:                  Elytron - STABLE          org.wildfly.swarm:elytron:2017.12.1
      2017-12-13 23:58:23,445 INFO  [org.wildfly.swarm] (main) WFSWARM0013: Installed fraction:              Datasources - STABLE          org.wildfly.swarm:datasources:2017.12.1
      2017-12-13 23:58:23,446 INFO  [org.wildfly.swarm] (main) WFSWARM0013: Installed fraction:                   JAX-RS - STABLE          org.wildfly.swarm:jaxrs:2017.12.1
      2017-12-13 23:58:23,447 WARN  [org.wildfly.swarm] (main) WFSWARM0013: Installed fraction:          Keycloak Server - UNSTABLE        org.wildfly.swarm:keycloak-server:2017.12.1
      2017-12-13 23:58:23,448 INFO  [org.wildfly.swarm] (main) WFSWARM0013: Installed fraction:                 Remoting - STABLE          org.wildfly.swarm:remoting:2017.12.1
      2017-12-13 23:58:23,449 INFO  [org.wildfly.swarm] (main) WFSWARM0013: Installed fraction:                 Undertow - STABLE          org.wildfly.swarm:undertow:2017.12.1
      2017-12-13 23:58:25,745 WARN  [org.wildfly.swarm.datasources] (main) WFSWARM1005: Not creating a default datasource due to lack of JDBC driver
      2017-12-13 23:58:25,767 INFO  [org.wildfly.swarm.jmx] (main) JMX not configured for remote access
      2017-12-13 23:58:26,760 INFO  [org.jboss.msc] (main) JBoss MSC version 1.2.7.SP1
      2017-12-13 23:58:27,046 INFO  [org.jboss.as] (MSC service thread 1-8) WFLYSRV0049: WildFly Swarm 2017.12.1 (WildFly Core 3.0.8.Final) starting
      2017-12-13 23:58:27,114 INFO  [org.wildfly.swarm] (MSC service thread 1-8) WFSWARM0019: Install MSC service for command line args: []
      2017-12-13 23:58:28,152 INFO  [org.wildfly.security] (ServerService Thread Pool -- 11) ELY00001: WildFly Elytron version 1.1.6.Final
      2017-12-13 23:58:28,316 INFO  [org.jboss.as.naming] (ServerService Thread Pool -- 18) WFLYNAM0001: Activating Naming Subsystem
      2017-12-13 23:58:28,321 INFO  [org.jboss.as.jaxrs] (ServerService Thread Pool -- 19) WFLYRS0016: RESTEasy version 3.0.24.Final
      2017-12-13 23:58:28,337 WARN  [org.jboss.as.txn] (ServerService Thread Pool -- 20) WFLYTX0013: The node-identifier attribute on the /subsystem=transactions is set to the default value. This is a danger for environments running multiple servers. Please make sure the attribute value is unique.
      2017-12-13 23:58:28,407 INFO  [org.jboss.as.naming] (MSC service thread 1-2) WFLYNAM0003: Starting Naming Service
      2017-12-13 23:58:28,425 INFO  [org.xnio] (ServerService Thread Pool -- 21) XNIO version 3.5.4.Final
      2017-12-13 23:58:28,437 INFO  [org.xnio.nio] (ServerService Thread Pool -- 21) XNIO NIO Implementation Version 3.5.4.Final
      2017-12-13 23:58:28,442 INFO  [org.jboss.as.security] (ServerService Thread Pool -- 25) WFLYSEC0002: Activating Security Subsystem
      2017-12-13 23:58:28,460 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 24) WFLYCLINF0001: Activating Infinispan subsystem.
      2017-12-13 23:58:28,481 INFO  [org.jboss.as.security] (MSC service thread 1-6) WFLYSEC0001: Current PicketBox version=5.0.2.Final
      2017-12-13 23:58:28,522 INFO  [org.jboss.as.connector] (MSC service thread 1-2) WFLYJCA0009: Starting JCA Subsystem (WildFly/IronJacamar 1.4.6.Final)
      2017-12-13 23:58:28,543 INFO  [org.wildfly.extension.io] (ServerService Thread Pool -- 21) WFLYIO001: Worker 'default' has auto-configured to 8 core threads with 64 task threads based on your 4 available processors
      2017-12-13 23:58:28,549 INFO  [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 30) WFLYJCA0004: Deploying JDBC-compliant driver class org.h2.Driver (version 1.4)
      2017-12-13 23:58:28,557 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-2) WFLYJCA0018: Started Driver service with driver-name = h2
      2017-12-13 23:58:28,582 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-2) WFLYUT0003: Undertow 1.4.18.Final starting
      2017-12-13 23:58:28,952 INFO  [org.jboss.remoting] (MSC service thread 1-1) JBoss Remoting version 5.0.5.Final
      2017-12-13 23:58:29,191 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-4) WFLYUT0012: Started server default-server.
      2017-12-13 23:58:29,276 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-7) WFLYUT0006: Undertow HTTP listener default listening on [0:0:0:0:0:0:0:0]:8080
      2017-12-13 23:58:29,280 WARN  [org.jboss.as.remoting] (MSC service thread 1-6) ****** All authentication is ANONYMOUS for org.jboss.as.remoting.RemotingHttpUpgradeService
      2017-12-13 23:58:29,412 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-5) WFLYSRV0027: Starting deployment of "keycloak-server.war" (runtime-name: "keycloak-server.war")
      2017-12-13 23:58:29,592 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-2) WFLYJCA0001: Bound data source [java:jboss/datasources/KeycloakDS]
      2017-12-13 23:58:29,797 INFO  [org.infinispan.factories.GlobalComponentRegistry] (MSC service thread 1-7) ISPN000128: Infinispan version: Infinispan 'Chakra' 8.2.8.Final
      2017-12-13 23:58:30,422 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 38) WFLYCLINF0002: Started realms cache from keycloak container
      2017-12-13 23:58:30,423 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 34) WFLYCLINF0002: Started users cache from keycloak container
      2017-12-13 23:58:30,423 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 37) WFLYCLINF0002: Started keys cache from keycloak container
      2017-12-13 23:58:30,424 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 33) WFLYCLINF0002: Started work cache from keycloak container
      2017-12-13 23:58:30,425 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 35) WFLYCLINF0002: Started sessions cache from keycloak container
      2017-12-13 23:58:30,426 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 36) WFLYCLINF0002: Started authorization cache from keycloak container
      2017-12-13 23:58:30,425 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 40) WFLYCLINF0002: Started loginFailures cache from keycloak container
      2017-12-13 23:58:30,436 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 39) WFLYCLINF0002: Started offlineSessions cache from keycloak container
      2017-12-13 23:58:30,452 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([("deployment" => "keycloak-server.war")]) - failure description: {
          "WFLYCTL0412: Required services that are not installed:" => [
              "org.wildfly.clustering.infinispan.cache.keycloak.authenticationSessions",
              "org.wildfly.clustering.infinispan.cache.keycloak.actionTokens"
          ],
          "WFLYCTL0180: Services with missing/unavailable dependencies" => [
              "jboss.concurrent.ee.context.config.auth.auth is missing [org.wildfly.clustering.infinispan.cache.keycloak.authenticationSessions, org.wildfly.clustering.infinispan.cache.keycloak.actionTokens]",
              "jboss.naming.context.java.module.auth.auth.InstanceName is missing [org.wildfly.clustering.infinispan.cache.keycloak.authenticationSessions, org.wildfly.clustering.infinispan.cache.keycloak.actionTokens]",
              "jboss.deployment.unit.\"keycloak-server.war\".jca.cachedConnectionManagerSetupProcessor is missing [org.wildfly.clustering.infinispan.cache.keycloak.authenticationSessions, org.wildfly.clustering.infinispan.cache.keycloak.actionTokens]",
              "jboss.naming.context.java.module.auth.auth.ModuleName is missing [org.wildfly.clustering.infinispan.cache.keycloak.authenticationSessions, org.wildfly.clustering.infinispan.cache.keycloak.actionTokens]",
              "jboss.naming.context.java.module.auth.auth is missing [org.wildfly.clustering.infinispan.cache.keycloak.authenticationSessions, org.wildfly.clustering.infinispan.cache.keycloak.actionTokens]",
              "jboss.naming.context.java.app.auth.AppName is missing [org.wildfly.clustering.infinispan.cache.keycloak.authenticationSessions, org.wildfly.clustering.infinispan.cache.keycloak.actionTokens]",
              "jboss.naming.context.java.module.auth.auth.InAppClientContainer is missing [org.wildfly.clustering.infinispan.cache.keycloak.authenticationSessions, org.wildfly.clustering.infinispan.cache.keycloak.actionTokens]",
              "jboss.deployment.unit.\"keycloak-server.war\".INSTALL is missing [org.wildfly.clustering.infinispan.cache.keycloak.authenticationSessions, org.wildfly.clustering.infinispan.cache.keycloak.actionTokens]",
              "jboss.naming.context.java.app.auth is missing [org.wildfly.clustering.infinispan.cache.keycloak.authenticationSessions, org.wildfly.clustering.infinispan.cache.keycloak.actionTokens]"
          ]
      }
      2017-12-13 23:58:30,567 INFO  [org.jboss.as.server] (ServerService Thread Pool -- 31) WFLYSRV0010: Deployed "keycloak-server.war" (runtime-name : "keycloak-server.war")
      2017-12-13 23:58:30,569 INFO  [org.jboss.as.controller] (Controller Boot Thread) WFLYCTL0183: Service status report
      WFLYCTL0184:    New missing/unsatisfied dependencies:
            service org.wildfly.clustering.infinispan.cache.keycloak.actionTokens (missing) dependents: [service jboss.naming.context.java.app.auth.AppName, service jboss.deployment.unit."keycloak-server.war".jca.cachedConnectionManagerSetupProcessor, service jboss.naming.context.java.module.auth.auth.InAppClientContainer, service jboss.naming.context.java.module.auth.auth.ModuleName, WFLYCTL0208: ... and 6 more ] 
            service org.wildfly.clustering.infinispan.cache.keycloak.authenticationSessions (missing) dependents: [service jboss.naming.context.java.app.auth.AppName, service jboss.deployment.unit."keycloak-server.war".jca.cachedConnectionManagerSetupProcessor, service jboss.naming.context.java.module.auth.auth.InAppClientContainer, service jboss.naming.context.java.module.auth.auth.ModuleName, WFLYCTL0208: ... and 6 more ] 
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  kenfinni Ken Finnigan
                  Reporter:
                  gastaldi George Gastaldi
                • Votes:
                  1 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: