Uploaded image for project: 'Keycloak'
  1. Keycloak
  2. KEYCLOAK-1958

JBoss EAP 6 server-overleay CLI misses Infinispan cache configuration

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Duplicate Issue
    • Affects Version/s: 1.6.0.Final
    • Fix Version/s: 1.6.0.Final
    • Component/s: Distribution
    • Labels:
      None

      Description

      I built KC from master and extracted keycloak-overlay-eap6-1.6.0.Final-SNAPSHOT.zip to fresh JBoss EAP 6.4.0.

      Then I installed KC based on docs: http://keycloak.github.io/docs/userguide/html/server-installation.html#d4e106

      KC didn't start properly because of missing Infinispan caches for KC.

      The stacktrace:

      10:28:06,701 INFO  [org.keycloak.services.resources.KeycloakApplication] (http-/127.0.0.1:8080-1) Load config from /Users/lkrzyzan/projects/apps/kc16/jboss-eap-6.4/standalone/configuration/keycloak-server.json
      10:28:06,792 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/auth].[Keycloak REST Interface]] (http-/127.0.0.1:8080-1) JBWEB000235: Allocate exception for servlet Keycloak REST Interface: javax.naming.NameNotFoundException: infinispan/Keycloak -- service jboss.naming.context.java.jboss.infinispan.Keycloak
      	at org.jboss.as.naming.ServiceBasedNamingStore.lookup(ServiceBasedNamingStore.java:104)
      

      Those CLI scripts doesn't add Inifnispan caches to standalone.xml so I guess this is missing.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  stianst Stian Thorgersen
                  Reporter:
                  lkrzyzanek Libor Krzy┼żanek
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: