"Property cache-remote-host required but not specified" error when upgrading to Red Hat build of Keycloak 26.0.X
Issue
After upgrading to Red Hat build of Keycloak 26.0.X, the following error message is displayed:
ERROR [org.keycloak.quarkus.runtime.cli.ExecutionExceptionHandler] (main) Error details:: java.lang.RuntimeException: Failed to start embedded or remote cache manager
...
Caused by: java.util.concurrent.ExecutionException: java.lang.RuntimeException: Property cache-remote-host required but not specified
...
Caused by: java.lang.RuntimeException: Property cache-remote-host required but not specified
at org.keycloak.quarkus.runtime.storage.infinispan.CacheManagerFactory.lambda$requiredStringProperty$7(CacheManagerFactory.java:518)
at java.base/java.util.Optional.orElseThrow(Optional.java:403)
at org.keycloak.quarkus.runtime.storage.infinispan.CacheManagerFactory.requiredStringProperty(CacheManagerFactory.java:518)
at org.keycloak.quarkus.runtime.storage.infinispan.CacheManagerFactory.startRemoteCacheManager(CacheManagerFactory.java:144)
at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768)
at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1760)
at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387)
at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1312)
at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1843)
at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1808)
at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:188)
Environment
- Red Hat build of Keycloak
- 26.0.X
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.