[keycloak-user] Error when upgrading from keycloak 2.1.0.Final to 2.5.0.Final
Stian Thorgersen
sthorger at redhat.com
Wed Jan 4 01:08:15 EST 2017
There's some changes required to standalone.xml that we've forgotten to
mention in the migration guide:
Replace <cache-container name="keycloak"
jndi-name="infinispan/Keycloak">....</cache-container> with:
<cache-container name="keycloak"
jndi-name="infinispan/Keycloak">
<local-cache name="realms">
<eviction max-entries="10000" strategy="LRU"/>
</local-cache>
<local-cache name="users">
<eviction max-entries="10000" strategy="LRU"/>
</local-cache>
<local-cache name="sessions"/>
<local-cache name="offlineSessions"/>
<local-cache name="loginFailures"/>
<local-cache name="work"/>
<local-cache name="authorization">
<eviction max-entries="100" strategy="LRU"/>
</local-cache>
<local-cache name="keys">
<eviction max-entries="1000" strategy="LRU"/>
<expiration max-idle="3600000"/>
</local-cache>
</cache-container>
On 4 January 2017 at 01:57, Phil Evans <philenz at gmail.com> wrote:
> Hi all,
>
> I'm trying to upgrade the version of Keycloak my application is using from
> 2.1.0.Final to 2.5.0.Final.
>
> Unfortunately, when my app starts up I see...
>
> [0m [31m00:35:14,234 ERROR
> [org.jboss.as.controller.management-operation] (Controller Boot
> Thread) WFLYCTL0013: Operation ("add") failed - address:
> ([("deployment" => "keycloak-server.war")]) - failure description:
> {"WFLYCTL0180: Services with missing/unavailable dependencies" => [
> "jboss.concurrent.ee.context.config.auth.auth is missing
> [jboss.infinispan.keycloak.keys]",
> "jboss.naming.context.java.module.auth.auth.InstanceName is
> missing [jboss.infinispan.keycloak.keys]",
> "jboss.deployment.unit.\"keycloak-server.war\".INSTALL is missing
> [jboss.infinispan.keycloak.keys]",
> "jboss.naming.context.java.module.auth.auth.ModuleName is missing
> [jboss.infinispan.keycloak.keys]",
> "jboss.deployment.unit.\"keycloak-server.war\".jca.
> cachedConnectionManagerSetupProcessor
> is missing [jboss.infinispan.keycloak.keys]",
> "jboss.naming.context.java.module.auth.auth is missing
> [jboss.infinispan.keycloak.keys]",
> "jboss.naming.context.java.module.auth.auth.Validator is missing
> [jboss.infinispan.keycloak.keys]",
> "jboss.naming.context.java.module.auth.auth.InAppClientContainer
> is missing [jboss.infinispan.keycloak.keys]",
> "jboss.naming.context.java.app.auth.AppName is missing
> [jboss.infinispan.keycloak.keys]",
> "jboss.deployment.unit.\"keycloak-server.war\".ejb3.
> client-context.registration-service
> is missing [jboss.infinispan.keycloak.keys]",
> "jboss.naming.context.java.app.auth is missing
> [jboss.infinispan.keycloak.keys]",
> "jboss.naming.context.java.module.auth.auth.ValidatorFactory is
> missing [jboss.infinispan.keycloak.keys]"
> ]}
> [0m [0m00:35:14,344 INFO [org.jboss.as.server] (ServerService Thread
> Pool -- 45) WFLYSRV0010: Deployed "keycloak-server.war" (runtime-name
> : "keycloak-server.war")
> [0m [0m00:35:14,348 INFO [org.jboss.as.controller] (Controller Boot
> Thread) WFLYCTL0183: Service status report
> WFLYCTL0184: New missing/unsatisfied dependencies:
> service jboss.infinispan.keycloak.keys (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.ValidatorFactory,
> WFLYCTL0208: ... and 9 more ]
>
>
> What's changed to cause this error I'm not seeing with version
> 2.1.0.Final???
>
> Thanks in advance,
> Phil
> _______________________________________________
> keycloak-user mailing list
> keycloak-user at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-user
>
More information about the keycloak-user
mailing list