]
Ján Lieskovský commented on WFLY-13608:
---------------------------------------
Based on further previous debugging, the NPE happens [when creating new
]
is _null_ in this specific case / run.
The issue disappears [when _<object-memory size="...."/> elements for all
local caches are commented
],
in that case Wildfly 20 starts / runs correct (but the eviction strategy isn't set for
those caches).
Similarly, it's not possible to use Infinispan programmatic API to configure / set the
eviction strategy to _EvictionStrategy.REMOVE_ and object memory configuration to
aforementioned size. [Attempt to do
],
leads to the very same / similar NPE, but in different subpart of KEYCLOAK code.
See the stacktraces in KEYCLOAK-14502 and KEYCLOAK-14487 for further details in both of
these cases.
WFLY20 - NPE in DataContainerFactory's
createBoundedDataContainer() due to uninitialized DataContainerConfiguration when running
Keycloak updated to WFLY20 & Infinispan 10.1.8.Final
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Key: WFLY-13608
URL:
https://issues.redhat.com/browse/WFLY-13608
Project: WildFly
Issue Type: Component Upgrade
Components: Clustering
Affects Versions: 20.0.0.Final
Reporter: Ján Lieskovský
Assignee: Paul Ferraro
Priority: Major
Getting the following null pointer exception, trying to start / run [*] latest Keycloak
snapshot (upgraded to Wildfly 20 and Infinispan 10.1.8.Final within the
[
KEYCLOAK-13692|https://issues.redhat.com/browse/KEYCLOAK-13692]), on top of Wildfly 20,
when creating local caches, declared by Keycloak and these local caches utilize
{noformat} <object-memory size="10000"/>{noformat}
{noformat}
[iankko@localhost distribution]$ cd keycloak-11.0.0-SNAPSHOT/bin/
[iankko@localhost bin]$
[iankko@localhost bin]$ ./standalone.sh
=========================================================================
JBoss Bootstrap Environment
JBOSS_HOME: /tmp/test/distribution/keycloak-11.0.0-SNAPSHOT
JAVA: 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
=========================================================================
17:08:03,098 INFO [org.jboss.modules] (main) JBoss Modules version 1.10.1.Final
17:08:03,317 INFO [org.jboss.msc] (main) JBoss MSC version 1.4.11.Final
17:08:03,324 INFO [org.jboss.threads] (main) JBoss Threads version 2.3.3.Final
17:08:03,401 INFO [org.jboss.as] (MSC service thread 1-1) WFLYSRV0049: Keycloak
11.0.0-SNAPSHOT (WildFly Core 12.0.1.Final) starting
17:08:03,880 INFO [org.wildfly.security] (ServerService Thread Pool -- 16) ELY00001:
WildFly Elytron version 1.12.1.Final
17:08:04,227 INFO [org.jboss.as.controller.management-deprecated] (Controller Boot
Thread) WFLYCTL0028: Attribute 'security-realm' in the resource at address
'/core-service=management/management-interface=http-interface' is deprecated, and
may be removed in a future version. See the attribute description in the output of the
read-resource-description operation to learn more about the deprecation.
17:08:04,246 INFO [org.jboss.as.controller.management-deprecated] (ServerService Thread
Pool -- 3) WFLYCTL0028: Attribute 'security-realm' in the resource at address
'/subsystem=undertow/server=default-server/https-listener=https' is deprecated,
and may be removed in a future version. See the attribute description in the output of the
read-resource-description operation to learn more about the deprecation.
17:08:04,326 INFO [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0039: Creating
http management service using socket-binding (management-http)
17:08:04,338 INFO [org.xnio] (MSC service thread 1-1) XNIO version 3.8.1.Final
17:08:04,344 INFO [org.xnio.nio] (MSC service thread 1-1) XNIO NIO Implementation
Version 3.8.1.Final
17:08:04,372 INFO [org.wildfly.extension.io] (ServerService Thread Pool -- 36)
WFLYIO001: Worker 'default' has auto-configured to 16 IO threads with 128 max task
threads based on your 8 available processors
17:08:04,374 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 37)
WFLYCLINF0001: Activating Infinispan subsystem.
17:08:04,378 INFO [org.jboss.as.connector.subsystems.datasources] (ServerService Thread
Pool -- 32) WFLYJCA0004: Deploying JDBC-compliant driver class org.h2.Driver (version
1.4)
17:08:04,387 WARN [org.jboss.as.txn] (ServerService Thread Pool -- 49) 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.
17:08:04,416 INFO [org.jboss.as.security] (ServerService Thread Pool -- 48) WFLYSEC0002:
Activating Security Subsystem
17:08:04,417 INFO [org.wildfly.extension.microprofile.config.smallrye._private]
(ServerService Thread Pool -- 51) WFLYCONF0001: Activating WildFly MicroProfile Config
Subsystem
17:08:04,416 INFO [org.jboss.as.naming] (ServerService Thread Pool -- 43) WFLYNAM0001:
Activating Naming Subsystem
17:08:04,423 INFO [org.jboss.as.jaxrs] (ServerService Thread Pool -- 38) WFLYRS0016:
RESTEasy version 3.12.1.Final
17:08:04,428 INFO [org.jboss.as.connector] (MSC service thread 1-2) WFLYJCA0009:
Starting JCA Subsystem (WildFly/IronJacamar 1.4.22.Final)
17:08:04,428 INFO [org.jboss.as.security] (MSC service thread 1-6) WFLYSEC0001: Current
PicketBox version=5.0.3.Final-redhat-00005
17:08:04,434 INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-6)
WFLYJCA0018: Started Driver service with driver-name = h2
17:08:04,437 INFO [org.wildfly.extension.microprofile.metrics.smallrye] (ServerService
Thread Pool -- 53) WFLYMETRICS0001: Activating Eclipse MicroProfile Metrics Subsystem
17:08:04,446 INFO [org.wildfly.extension.microprofile.health.smallrye] (ServerService
Thread Pool -- 52) WFLYHEALTH0001: Activating Eclipse MicroProfile Health Subsystem
17:08:04,448 INFO [org.jboss.as.naming] (MSC service thread 1-2) WFLYNAM0003: Starting
Naming Service
17:08:04,453 INFO [org.jboss.as.mail.extension] (MSC service thread 1-2) WFLYMAIL0001:
Bound mail session [java:jboss/mail/Default]
17:08:04,470 INFO [org.wildfly.extension.undertow] (MSC service thread 1-4) WFLYUT0003:
Undertow 2.1.3.Final starting
17:08:04,506 WARN [org.wildfly.clustering.web.undertow] (ServerService Thread Pool --
54) WFLYCLWEBUT0007: No routing provider found for default-server; using legacy provider
based on static configuration
17:08:04,511 INFO [org.jboss.as.ejb3] (MSC service thread 1-8) WFLYEJB0482: Strict pool
mdb-strict-max-pool is using a max instance size of 32 (per class), which is derived from
the number of CPUs on this host.
17:08:04,511 INFO [org.jboss.as.ejb3] (MSC service thread 1-3) WFLYEJB0481: Strict pool
slsb-strict-max-pool is using a max instance size of 128 (per class), which is derived
from thread worker pool sizing.
17:08:04,516 INFO [org.jboss.remoting] (MSC service thread 1-5) JBoss Remoting version
5.0.18.Final
17:08:04,596 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 54)
WFLYUT0014: Creating file handler for path
'/tmp/test/distribution/keycloak-11.0.0-SNAPSHOT/welcome-content' with options
[directory-listing: 'false', follow-symlink: 'false', case-sensitive:
'true', safe-symlink-paths: '[]']
17:08:04,603 INFO [org.wildfly.extension.undertow] (MSC service thread 1-5) WFLYUT0012:
Started server default-server.
17:08:04,606 INFO [org.wildfly.extension.undertow] (MSC service thread 1-2) WFLYUT0018:
Host default-host starting
17:08:04,673 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-5) MSC000001:
Failed to start service org.wildfly.undertow.listener.default:
org.jboss.msc.service.StartException in service org.wildfly.undertow.listener.default:
Address already in use /127.0.0.1:8080
at org.wildfly.extension.undertow.ListenerService.start(ListenerService.java:209)
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1739)
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.execute(ServiceControllerImpl.java:1701)
at
org.jboss.msc.service.ServiceControllerImpl$ControllerTask.run(ServiceControllerImpl.java:1559)
at
org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1982)
at
org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)
at
org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1377)
at java.lang.Thread.run(Thread.java:748)
17:08:04,757 INFO [org.jboss.as.ejb3] (MSC service thread 1-3) WFLYEJB0493: EJB
subsystem suspension complete
17:08:04,773 INFO [org.jboss.as.patching] (MSC service thread 1-2) WFLYPAT0050: Keycloak
cumulative patch ID is: base, one-off patches include: none
17:08:04,799 WARN [org.jboss.as.domain.management.security] (MSC service thread 1-8)
WFLYDM0111: Keystore
/tmp/test/distribution/keycloak-11.0.0-SNAPSHOT/standalone/configuration/application.keystore
not found, it will be auto generated on first use with a self signed certificate for host
localhost
17:08:04,810 INFO [org.jboss.as.server.deployment.scanner] (MSC service thread 1-8)
WFLYDS0013: Started FileSystemDeploymentService for directory
/tmp/test/distribution/keycloak-11.0.0-SNAPSHOT/standalone/deployments
17:08:04,813 INFO [org.jboss.as.server.deployment] (MSC service thread 1-7) WFLYSRV0027:
Starting deployment of "keycloak-server.war" (runtime-name:
"keycloak-server.war")
17:08:04,833 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread
1-3) WFLYJCA0001: Bound data source [java:jboss/datasources/KeycloakDS]
17:08:04,835 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread
1-1) WFLYJCA0001: Bound data source [java:jboss/datasources/ExampleDS]
17:08:04,874 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-7) MSC000001:
Failed to start service org.wildfly.management.http.extensible:
org.jboss.msc.service.StartException in service org.wildfly.management.http.extensible:
java.net.BindException: Address already in use /127.0.0.1:9990
at
org.jboss.as.server.mgmt.UndertowHttpManagementService.start(UndertowHttpManagementService.java:399)
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1739)
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.execute(ServiceControllerImpl.java:1701)
at
org.jboss.msc.service.ServiceControllerImpl$ControllerTask.run(ServiceControllerImpl.java:1559)
at
org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1982)
at
org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)
at
org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1377)
at java.lang.Thread.run(Thread.java:748)
17:08:04,881 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-5) MSC000001:
Failed to start service org.wildfly.undertow.listener.https:
org.jboss.msc.service.StartException in service org.wildfly.undertow.listener.https:
Address already in use /127.0.0.1:8443
at org.wildfly.extension.undertow.ListenerService.start(ListenerService.java:209)
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1739)
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.execute(ServiceControllerImpl.java:1701)
at
org.jboss.msc.service.ServiceControllerImpl$ControllerTask.run(ServiceControllerImpl.java:1559)
at
org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1982)
at
org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)
at
org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1377)
at java.lang.Thread.run(Thread.java:748)
17:08:05,421 INFO [org.infinispan.PERSISTENCE] (MSC service thread 1-4) ISPN000556:
Starting user marshaller
'org.wildfly.clustering.infinispan.marshalling.jboss.JBossMarshaller'
17:08:05,421 INFO [org.infinispan.PERSISTENCE] (MSC service thread 1-2) ISPN000556:
Starting user marshaller
'org.wildfly.clustering.infinispan.marshalling.jboss.JBossMarshaller'
17:08:05,437 INFO [org.infinispan.CONTAINER] (MSC service thread 1-4) ISPN000128:
Infinispan version: Infinispan 'Turia' 10.1.8.Final
17:08:05,568 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 57)
MSC000001: Failed to start service org.wildfly.clustering.infinispan.cache.keycloak.keys:
org.jboss.msc.service.StartException in service
org.wildfly.clustering.infinispan.cache.keycloak.keys:
org.infinispan.commons.CacheConfigurationException: Failed to construct component
org.infinispan.container.impl.InternalDataContainer, path
org.infinispan.container.impl.InternalDataContainer
<< org.infinispan.stats.impl.StatsCollector
<< org.infinispan.AdvancedCache
at org.wildfly.clustering.service.FunctionalService.start(FunctionalService.java:66)
at
org.wildfly.clustering.service.AsyncServiceConfigurator$AsyncService.lambda$start$0(AsyncServiceConfigurator.java:117)
at
org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1982)
at
org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)
at
org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1348)
at java.lang.Thread.run(Thread.java:748)
at org.jboss.threads.JBossThread.run(JBossThread.java:485)
Caused by: org.infinispan.commons.CacheConfigurationException: Failed to construct
component org.infinispan.container.impl.InternalDataContainer, path
org.infinispan.container.impl.InternalDataContainer
<< org.infinispan.stats.impl.StatsCollector
<< org.infinispan.AdvancedCache
at
org.infinispan.factories.impl.BasicComponentRegistryImpl.doInstantiateWrapper(BasicComponentRegistryImpl.java:189)
at
org.infinispan.factories.impl.BasicComponentRegistryImpl.instantiateWrapper(BasicComponentRegistryImpl.java:176)
at
org.infinispan.factories.impl.BasicComponentRegistryImpl.getComponent0(BasicComponentRegistryImpl.java:141)
at org.infinispan.factories.impl.WireContext.get(WireContext.java:20)
at org.infinispan.stats.impl.CorePackageImpl$2.wire(CorePackageImpl.java:43)
at org.infinispan.stats.impl.CorePackageImpl$2.wire(CorePackageImpl.java:39)
at
org.infinispan.factories.impl.BasicComponentRegistryImpl.invokeInjection(BasicComponentRegistryImpl.java:334)
at
org.infinispan.factories.impl.BasicComponentRegistryImpl.doWireWrapper(BasicComponentRegistryImpl.java:231)
at
org.infinispan.factories.impl.BasicComponentRegistryImpl.wireWrapper(BasicComponentRegistryImpl.java:212)
at
org.infinispan.factories.impl.BasicComponentRegistryImpl.getComponent0(BasicComponentRegistryImpl.java:147)
at org.infinispan.factories.impl.WireContext.get(WireContext.java:20)
at org.infinispan.cache.impl.CorePackageImpl$3.wire(CorePackageImpl.java:75)
at org.infinispan.cache.impl.CorePackageImpl$3.wire(CorePackageImpl.java:73)
at
org.infinispan.factories.impl.BasicComponentRegistryImpl.invokeInjection(BasicComponentRegistryImpl.java:334)
at
org.infinispan.factories.impl.BasicComponentRegistryImpl.wireDependencies(BasicComponentRegistryImpl.java:242)
at org.infinispan.cache.impl.EncoderCache.wireRealCache(EncoderCache.java:125)
at org.infinispan.cache.impl.CorePackageImpl$4.wire(CorePackageImpl.java:94)
at org.infinispan.cache.impl.CorePackageImpl$4.wire(CorePackageImpl.java:90)
at
org.infinispan.factories.impl.BasicComponentRegistryImpl.invokeInjection(BasicComponentRegistryImpl.java:334)
at
org.infinispan.factories.impl.BasicComponentRegistryImpl.doWireWrapper(BasicComponentRegistryImpl.java:231)
at
org.infinispan.factories.impl.BasicComponentRegistryImpl.wireWrapper(BasicComponentRegistryImpl.java:212)
at
org.infinispan.factories.impl.BasicComponentRegistryImpl.registerComponent(BasicComponentRegistryImpl.java:371)
at
org.infinispan.factories.impl.BasicComponentRegistry.registerComponent(BasicComponentRegistry.java:100)
at
org.infinispan.factories.InternalCacheFactory.createSimpleCache(InternalCacheFactory.java:151)
at
org.infinispan.factories.InternalCacheFactory.createCache(InternalCacheFactory.java:81)
at
org.infinispan.manager.DefaultCacheManager.wireAndStartCache(DefaultCacheManager.java:696)
at org.infinispan.manager.DefaultCacheManager.createCache(DefaultCacheManager.java:645)
at
org.infinispan.manager.DefaultCacheManager.internalGetCache(DefaultCacheManager.java:530)
at org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:511)
at org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:504)
at
org.jboss.as.clustering.infinispan.DefaultCacheContainer.getCache(DefaultCacheContainer.java:92)
at
org.wildfly.clustering.infinispan.spi.service.CacheServiceConfigurator.get(CacheServiceConfigurator.java:77)
at
org.wildfly.clustering.infinispan.spi.service.CacheServiceConfigurator.get(CacheServiceConfigurator.java:55)
at org.wildfly.clustering.service.FunctionalService.start(FunctionalService.java:63)
... 7 more
Caused by: java.lang.NullPointerException
at
org.wildfly.clustering.infinispan.spi.DataContainerFactory.createBoundedDataContainer(DataContainerFactory.java:113)
at
org.wildfly.clustering.infinispan.spi.DataContainerFactory.construct(DataContainerFactory.java:72)
at
org.infinispan.factories.impl.BasicComponentRegistryImpl.doInstantiateWrapper(BasicComponentRegistryImpl.java:186)
... 40 more
17:08:05,568 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 56)
MSC000001: Failed to start service
org.wildfly.clustering.infinispan.cache.keycloak.realms:
org.jboss.msc.service.StartException in service
org.wildfly.clustering.infinispan.cache.keycloak.realms:
org.infinispan.commons.CacheConfigurationException: Failed to construct component
org.infinispan.container.impl.InternalDataContainer, path
org.infinispan.container.impl.InternalDataContainer
<< org.infinispan.stats.impl.StatsCollector
<< org.infinispan.AdvancedCache
at org.wildfly.clustering.service.FunctionalService.start(FunctionalService.java:66)
at
org.wildfly.clustering.service.AsyncServiceConfigurator$AsyncService.lambda$start$0(AsyncServiceConfigurator.java:117)
at
org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1982)
at
org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)
at
org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1348)
at java.lang.Thread.run(Thread.java:748)
at org.jboss.threads.JBossThread.run(JBossThread.java:485)
Caused by: org.infinispan.commons.CacheConfigurationException: Failed to construct
component org.infinispan.container.impl.InternalDataContainer, path
org.infinispan.container.impl.InternalDataContainer
<< org.infinispan.stats.impl.StatsCollector
<< org.infinispan.AdvancedCache
at
org.infinispan.factories.impl.BasicComponentRegistryImpl.doInstantiateWrapper(BasicComponentRegistryImpl.java:189)
at
org.infinispan.factories.impl.BasicComponentRegistryImpl.instantiateWrapper(BasicComponentRegistryImpl.java:176)
at
org.infinispan.factories.impl.BasicComponentRegistryImpl.getComponent0(BasicComponentRegistryImpl.java:141)
at org.infinispan.factories.impl.WireContext.get(WireContext.java:20)
at org.infinispan.stats.impl.CorePackageImpl$2.wire(CorePackageImpl.java:43)
at org.infinispan.stats.impl.CorePackageImpl$2.wire(CorePackageImpl.java:39)
at
org.infinispan.factories.impl.BasicComponentRegistryImpl.invokeInjection(BasicComponentRegistryImpl.java:334)
at
org.infinispan.factories.impl.BasicComponentRegistryImpl.doWireWrapper(BasicComponentRegistryImpl.java:231)
at
org.infinispan.factories.impl.BasicComponentRegistryImpl.wireWrapper(BasicComponentRegistryImpl.java:212)
at
org.infinispan.factories.impl.BasicComponentRegistryImpl.getComponent0(BasicComponentRegistryImpl.java:147)
at org.infinispan.factories.impl.WireContext.get(WireContext.java:20)
at org.infinispan.cache.impl.CorePackageImpl$3.wire(CorePackageImpl.java:75)
at org.infinispan.cache.impl.CorePackageImpl$3.wire(CorePackageImpl.java:73)
at
org.infinispan.factories.impl.BasicComponentRegistryImpl.invokeInjection(BasicComponentRegistryImpl.java:334)
at
org.infinispan.factories.impl.BasicComponentRegistryImpl.wireDependencies(BasicComponentRegistryImpl.java:242)
at org.infinispan.cache.impl.EncoderCache.wireRealCache(EncoderCache.java:125)
at org.infinispan.cache.impl.CorePackageImpl$4.wire(CorePackageImpl.java:94)
at org.infinispan.cache.impl.CorePackageImpl$4.wire(CorePackageImpl.java:90)
at
org.infinispan.factories.impl.BasicComponentRegistryImpl.invokeInjection(BasicComponentRegistryImpl.java:334)
at
org.infinispan.factories.impl.BasicComponentRegistryImpl.doWireWrapper(BasicComponentRegistryImpl.java:231)
at
org.infinispan.factories.impl.BasicComponentRegistryImpl.wireWrapper(BasicComponentRegistryImpl.java:212)
at
org.infinispan.factories.impl.BasicComponentRegistryImpl.registerComponent(BasicComponentRegistryImpl.java:371)
at
org.infinispan.factories.impl.BasicComponentRegistry.registerComponent(BasicComponentRegistry.java:100)
at
org.infinispan.factories.InternalCacheFactory.createSimpleCache(InternalCacheFactory.java:151)
at
org.infinispan.factories.InternalCacheFactory.createCache(InternalCacheFactory.java:81)
at
org.infinispan.manager.DefaultCacheManager.wireAndStartCache(DefaultCacheManager.java:696)
at org.infinispan.manager.DefaultCacheManager.createCache(DefaultCacheManager.java:645)
at
org.infinispan.manager.DefaultCacheManager.internalGetCache(DefaultCacheManager.java:530)
at org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:511)
at org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:504)
at
org.jboss.as.clustering.infinispan.DefaultCacheContainer.getCache(DefaultCacheContainer.java:92)
at
org.wildfly.clustering.infinispan.spi.service.CacheServiceConfigurator.get(CacheServiceConfigurator.java:77)
at
org.wildfly.clustering.infinispan.spi.service.CacheServiceConfigurator.get(CacheServiceConfigurator.java:55)
at org.wildfly.clustering.service.FunctionalService.start(FunctionalService.java:63)
... 7 more
Caused by: java.lang.NullPointerException
at
org.wildfly.clustering.infinispan.spi.DataContainerFactory.createBoundedDataContainer(DataContainerFactory.java:113)
at
org.wildfly.clustering.infinispan.spi.DataContainerFactory.construct(DataContainerFactory.java:72)
at
org.infinispan.factories.impl.BasicComponentRegistryImpl.doInstantiateWrapper(BasicComponentRegistryImpl.java:186)
... 40 more
17:08:05,568 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 61)
MSC000001: Failed to start service
org.wildfly.clustering.infinispan.cache.keycloak.authorization:
org.jboss.msc.service.StartException in service
org.wildfly.clustering.infinispan.cache.keycloak.authorization:
org.infinispan.commons.CacheConfigurationException: Failed to construct component
org.infinispan.container.impl.InternalDataContainer, path
org.infinispan.container.impl.InternalDataContainer
<< org.infinispan.stats.impl.StatsCollector
<< org.infinispan.AdvancedCache
at org.wildfly.clustering.service.FunctionalService.start(FunctionalService.java:66)
at
org.wildfly.clustering.service.AsyncServiceConfigurator$AsyncService.lambda$start$0(AsyncServiceConfigurator.java:117)
at
org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1982)
at
org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)
at
org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1348)
at java.lang.Thread.run(Thread.java:748)
at org.jboss.threads.JBossThread.run(JBossThread.java:485)
Caused by: org.infinispan.commons.CacheConfigurationException: Failed to construct
component org.infinispan.container.impl.InternalDataContainer, path
org.infinispan.container.impl.InternalDataContainer
<< org.infinispan.stats.impl.StatsCollector
<< org.infinispan.AdvancedCache
at
org.infinispan.factories.impl.BasicComponentRegistryImpl.doInstantiateWrapper(BasicComponentRegistryImpl.java:189)
at
org.infinispan.factories.impl.BasicComponentRegistryImpl.instantiateWrapper(BasicComponentRegistryImpl.java:176)
at
org.infinispan.factories.impl.BasicComponentRegistryImpl.getComponent0(BasicComponentRegistryImpl.java:141)
at org.infinispan.factories.impl.WireContext.get(WireContext.java:20)
at org.infinispan.stats.impl.CorePackageImpl$2.wire(CorePackageImpl.java:43)
at org.infinispan.stats.impl.CorePackageImpl$2.wire(CorePackageImpl.java:39)
at
org.infinispan.factories.impl.BasicComponentRegistryImpl.invokeInjection(BasicComponentRegistryImpl.java:334)
at
org.infinispan.factories.impl.BasicComponentRegistryImpl.doWireWrapper(BasicComponentRegistryImpl.java:231)
at
org.infinispan.factories.impl.BasicComponentRegistryImpl.wireWrapper(BasicComponentRegistryImpl.java:212)
at
org.infinispan.factories.impl.BasicComponentRegistryImpl.getComponent0(BasicComponentRegistryImpl.java:147)
at org.infinispan.factories.impl.WireContext.get(WireContext.java:20)
at org.infinispan.cache.impl.CorePackageImpl$3.wire(CorePackageImpl.java:75)
at org.infinispan.cache.impl.CorePackageImpl$3.wire(CorePackageImpl.java:73)
at
org.infinispan.factories.impl.BasicComponentRegistryImpl.invokeInjection(BasicComponentRegistryImpl.java:334)
at
org.infinispan.factories.impl.BasicComponentRegistryImpl.wireDependencies(BasicComponentRegistryImpl.java:242)
at org.infinispan.cache.impl.EncoderCache.wireRealCache(EncoderCache.java:125)
at org.infinispan.cache.impl.CorePackageImpl$4.wire(CorePackageImpl.java:94)
at org.infinispan.cache.impl.CorePackageImpl$4.wire(CorePackageImpl.java:90)
at
org.infinispan.factories.impl.BasicComponentRegistryImpl.invokeInjection(BasicComponentRegistryImpl.java:334)
at
org.infinispan.factories.impl.BasicComponentRegistryImpl.doWireWrapper(BasicComponentRegistryImpl.java:231)
at
org.infinispan.factories.impl.BasicComponentRegistryImpl.wireWrapper(BasicComponentRegistryImpl.java:212)
at
org.infinispan.factories.impl.BasicComponentRegistryImpl.registerComponent(BasicComponentRegistryImpl.java:371)
at
org.infinispan.factories.impl.BasicComponentRegistry.registerComponent(BasicComponentRegistry.java:100)
at
org.infinispan.factories.InternalCacheFactory.createSimpleCache(InternalCacheFactory.java:151)
at
org.infinispan.factories.InternalCacheFactory.createCache(InternalCacheFactory.java:81)
at
org.infinispan.manager.DefaultCacheManager.wireAndStartCache(DefaultCacheManager.java:696)
at org.infinispan.manager.DefaultCacheManager.createCache(DefaultCacheManager.java:645)
at
org.infinispan.manager.DefaultCacheManager.internalGetCache(DefaultCacheManager.java:530)
at org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:511)
at org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:504)
at
org.jboss.as.clustering.infinispan.DefaultCacheContainer.getCache(DefaultCacheContainer.java:92)
at
org.wildfly.clustering.infinispan.spi.service.CacheServiceConfigurator.get(CacheServiceConfigurator.java:77)
at
org.wildfly.clustering.infinispan.spi.service.CacheServiceConfigurator.get(CacheServiceConfigurator.java:55)
at org.wildfly.clustering.service.FunctionalService.start(FunctionalService.java:63)
... 7 more
Caused by: java.lang.NullPointerException
at
org.wildfly.clustering.infinispan.spi.DataContainerFactory.createBoundedDataContainer(DataContainerFactory.java:113)
at
org.wildfly.clustering.infinispan.spi.DataContainerFactory.construct(DataContainerFactory.java:72)
at
org.infinispan.factories.impl.BasicComponentRegistryImpl.doInstantiateWrapper(BasicComponentRegistryImpl.java:186)
... 40 more
17:08:05,568 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 60)
MSC000001: Failed to start service org.wildfly.clustering.infinispan.cache.keycloak.users:
org.jboss.msc.service.StartException in service
org.wildfly.clustering.infinispan.cache.keycloak.users:
org.infinispan.commons.CacheConfigurationException: Failed to construct component
org.infinispan.container.impl.InternalDataContainer, path
org.infinispan.container.impl.InternalDataContainer
<< org.infinispan.stats.impl.StatsCollector
<< org.infinispan.AdvancedCache
at org.wildfly.clustering.service.FunctionalService.start(FunctionalService.java:66)
at
org.wildfly.clustering.service.AsyncServiceConfigurator$AsyncService.lambda$start$0(AsyncServiceConfigurator.java:117)
at
org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1982)
at
org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)
at
org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1348)
at java.lang.Thread.run(Thread.java:748)
at org.jboss.threads.JBossThread.run(JBossThread.java:485)
Caused by: org.infinispan.commons.CacheConfigurationException: Failed to construct
component org.infinispan.container.impl.InternalDataContainer, path
org.infinispan.container.impl.InternalDataContainer
<< org.infinispan.stats.impl.StatsCollector
<< org.infinispan.AdvancedCache
at
org.infinispan.factories.impl.BasicComponentRegistryImpl.doInstantiateWrapper(BasicComponentRegistryImpl.java:189)
at
org.infinispan.factories.impl.BasicComponentRegistryImpl.instantiateWrapper(BasicComponentRegistryImpl.java:176)
at
org.infinispan.factories.impl.BasicComponentRegistryImpl.getComponent0(BasicComponentRegistryImpl.java:141)
at org.infinispan.factories.impl.WireContext.get(WireContext.java:20)
at org.infinispan.stats.impl.CorePackageImpl$2.wire(CorePackageImpl.java:43)
at org.infinispan.stats.impl.CorePackageImpl$2.wire(CorePackageImpl.java:39)
at
org.infinispan.factories.impl.BasicComponentRegistryImpl.invokeInjection(BasicComponentRegistryImpl.java:334)
at
org.infinispan.factories.impl.BasicComponentRegistryImpl.doWireWrapper(BasicComponentRegistryImpl.java:231)
at
org.infinispan.factories.impl.BasicComponentRegistryImpl.wireWrapper(BasicComponentRegistryImpl.java:212)
at
org.infinispan.factories.impl.BasicComponentRegistryImpl.getComponent0(BasicComponentRegistryImpl.java:147)
at org.infinispan.factories.impl.WireContext.get(WireContext.java:20)
at org.infinispan.cache.impl.CorePackageImpl$3.wire(CorePackageImpl.java:75)
at org.infinispan.cache.impl.CorePackageImpl$3.wire(CorePackageImpl.java:73)
at
org.infinispan.factories.impl.BasicComponentRegistryImpl.invokeInjection(BasicComponentRegistryImpl.java:334)
at
org.infinispan.factories.impl.BasicComponentRegistryImpl.wireDependencies(BasicComponentRegistryImpl.java:242)
at org.infinispan.cache.impl.EncoderCache.wireRealCache(EncoderCache.java:125)
at org.infinispan.cache.impl.CorePackageImpl$4.wire(CorePackageImpl.java:94)
at org.infinispan.cache.impl.CorePackageImpl$4.wire(CorePackageImpl.java:90)
at
org.infinispan.factories.impl.BasicComponentRegistryImpl.invokeInjection(BasicComponentRegistryImpl.java:334)
at
org.infinispan.factories.impl.BasicComponentRegistryImpl.doWireWrapper(BasicComponentRegistryImpl.java:231)
at
org.infinispan.factories.impl.BasicComponentRegistryImpl.wireWrapper(BasicComponentRegistryImpl.java:212)
at
org.infinispan.factories.impl.BasicComponentRegistryImpl.registerComponent(BasicComponentRegistryImpl.java:371)
at
org.infinispan.factories.impl.BasicComponentRegistry.registerComponent(BasicComponentRegistry.java:100)
at
org.infinispan.factories.InternalCacheFactory.createSimpleCache(InternalCacheFactory.java:151)
at
org.infinispan.factories.InternalCacheFactory.createCache(InternalCacheFactory.java:81)
at
org.infinispan.manager.DefaultCacheManager.wireAndStartCache(DefaultCacheManager.java:696)
at org.infinispan.manager.DefaultCacheManager.createCache(DefaultCacheManager.java:645)
at
org.infinispan.manager.DefaultCacheManager.internalGetCache(DefaultCacheManager.java:530)
at org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:511)
at org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:504)
at
org.jboss.as.clustering.infinispan.DefaultCacheContainer.getCache(DefaultCacheContainer.java:92)
at
org.wildfly.clustering.infinispan.spi.service.CacheServiceConfigurator.get(CacheServiceConfigurator.java:77)
at
org.wildfly.clustering.infinispan.spi.service.CacheServiceConfigurator.get(CacheServiceConfigurator.java:55)
at org.wildfly.clustering.service.FunctionalService.start(FunctionalService.java:63)
... 7 more
Caused by: java.lang.NullPointerException
at
org.wildfly.clustering.infinispan.spi.DataContainerFactory.createBoundedDataContainer(DataContainerFactory.java:113)
at
org.wildfly.clustering.infinispan.spi.DataContainerFactory.construct(DataContainerFactory.java:72)
at
org.infinispan.factories.impl.BasicComponentRegistryImpl.doInstantiateWrapper(BasicComponentRegistryImpl.java:186)
... 40 more
17:08:05,597 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 65)
WFLYCLINF0002: Started offlineSessions cache from keycloak container
17:08:05,597 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 64)
WFLYCLINF0002: Started actionTokens cache from keycloak container
17:08:05,597 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 62)
WFLYCLINF0002: Started authenticationSessions cache from keycloak container
17:08:05,598 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 67)
WFLYCLINF0002: Started loginFailures cache from keycloak container
17:08:05,598 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 66)
WFLYCLINF0002: Started offlineClientSessions cache from keycloak container
17:08:05,598 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 63)
WFLYCLINF0002: Started sessions cache from keycloak container
17:08:05,600 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 58)
WFLYCLINF0002: Started work cache from keycloak container
17:08:05,600 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 59)
WFLYCLINF0002: Started clientSessions cache from keycloak container
17:08:05,650 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 68)
WFLYCLINF0002: Started client-mappings cache from ejb container
17:08:05,658 ERROR [org.jboss.as.controller.management-operation] (Controller Boot
Thread) WFLYCTL0013: Operation ("add") failed - address: ([
("core-service" => "management"),
("management-interface" => "http-interface")
]) - failure description: {"WFLYCTL0080: Failed services" =>
{"org.wildfly.management.http.extensible" => "java.net.BindException:
Address already in use /127.0.0.1:9990"}}
17:08:05,716 ERROR [org.jboss.as.controller.management-operation] (Controller Boot
Thread) WFLYCTL0013: Operation ("add") failed - address: ([
("subsystem" => "infinispan"),
("cache-container" => "keycloak"),
("local-cache" => "realms")
]) - failure description: {"WFLYCTL0080: Failed services" =>
{"org.wildfly.clustering.infinispan.cache.keycloak.realms" =>
"org.infinispan.commons.CacheConfigurationException: Failed to construct component
org.infinispan.container.impl.InternalDataContainer, path
org.infinispan.container.impl.InternalDataContainer
<< org.infinispan.stats.impl.StatsCollector
<< org.infinispan.AdvancedCache
Caused by: org.infinispan.commons.CacheConfigurationException: Failed to construct
component org.infinispan.container.impl.InternalDataContainer, path
org.infinispan.container.impl.InternalDataContainer
<< org.infinispan.stats.impl.StatsCollector
<< org.infinispan.AdvancedCache
Caused by: java.lang.NullPointerException"}}
17:08:05,716 ERROR [org.jboss.as.controller.management-operation] (Controller Boot
Thread) WFLYCTL0013: Operation ("add") failed - address: ([
("subsystem" => "infinispan"),
("cache-container" => "keycloak"),
("local-cache" => "users")
]) - failure description: {"WFLYCTL0080: Failed services" =>
{"org.wildfly.clustering.infinispan.cache.keycloak.users" =>
"org.infinispan.commons.CacheConfigurationException: Failed to construct component
org.infinispan.container.impl.InternalDataContainer, path
org.infinispan.container.impl.InternalDataContainer
<< org.infinispan.stats.impl.StatsCollector
<< org.infinispan.AdvancedCache
Caused by: org.infinispan.commons.CacheConfigurationException: Failed to construct
component org.infinispan.container.impl.InternalDataContainer, path
org.infinispan.container.impl.InternalDataContainer
<< org.infinispan.stats.impl.StatsCollector
<< org.infinispan.AdvancedCache
Caused by: java.lang.NullPointerException"}}
17:08:05,716 ERROR [org.jboss.as.controller.management-operation] (Controller Boot
Thread) WFLYCTL0013: Operation ("add") failed - address: ([
("subsystem" => "ejb3"),
("service" => "remote")
]) - failure description: {
"WFLYCTL0412: Required services that are not installed:" =>
["jboss.remoting.remotingConnectorInfoService.http-remoting-connector"],
"WFLYCTL0180: Services with missing/unavailable dependencies" =>
["org.wildfly.clustering.cache.registry-entry.ejb.client-mappings is missing
[jboss.remoting.remotingConnectorInfoService.http-remoting-connector]"]
}
17:08:05,717 ERROR [org.jboss.as.controller.management-operation] (Controller Boot
Thread) WFLYCTL0013: Operation ("add") failed - address: ([
("subsystem" => "undertow"),
("server" => "default-server"),
("http-listener" => "default")
]) - failure description: {"WFLYCTL0080: Failed services" =>
{"org.wildfly.undertow.listener.default" => "Address already in use
/127.0.0.1:8080"}}
17:08:05,717 ERROR [org.jboss.as.controller.management-operation] (Controller Boot
Thread) WFLYCTL0013: Operation ("add") failed - address: ([
("subsystem" => "undertow"),
("server" => "default-server"),
("https-listener" => "https")
]) - failure description: {"WFLYCTL0080: Failed services" =>
{"org.wildfly.undertow.listener.https" => "Address already in use
/127.0.0.1:8443"}}
17:08:05,717 ERROR [org.jboss.as.controller.management-operation] (Controller Boot
Thread) WFLYCTL0013: Operation ("add") failed - address: ([
("subsystem" => "infinispan"),
("cache-container" => "keycloak"),
("local-cache" => "authorization")
]) - failure description: {"WFLYCTL0080: Failed services" =>
{"org.wildfly.clustering.infinispan.cache.keycloak.authorization" =>
"org.infinispan.commons.CacheConfigurationException: Failed to construct component
org.infinispan.container.impl.InternalDataContainer, path
org.infinispan.container.impl.InternalDataContainer
<< org.infinispan.stats.impl.StatsCollector
<< org.infinispan.AdvancedCache
Caused by: org.infinispan.commons.CacheConfigurationException: Failed to construct
component org.infinispan.container.impl.InternalDataContainer, path
org.infinispan.container.impl.InternalDataContainer
<< org.infinispan.stats.impl.StatsCollector
<< org.infinispan.AdvancedCache
Caused by: java.lang.NullPointerException"}}
17:08:05,717 ERROR [org.jboss.as.controller.management-operation] (Controller Boot
Thread) WFLYCTL0013: Operation ("add") failed - address: ([
("subsystem" => "infinispan"),
("cache-container" => "keycloak"),
("local-cache" => "keys")
]) - failure description: {"WFLYCTL0080: Failed services" =>
{"org.wildfly.clustering.infinispan.cache.keycloak.keys" =>
"org.infinispan.commons.CacheConfigurationException: Failed to construct component
org.infinispan.container.impl.InternalDataContainer, path
org.infinispan.container.impl.InternalDataContainer
<< org.infinispan.stats.impl.StatsCollector
<< org.infinispan.AdvancedCache
Caused by: org.infinispan.commons.CacheConfigurationException: Failed to construct
component org.infinispan.container.impl.InternalDataContainer, path
org.infinispan.container.impl.InternalDataContainer
<< org.infinispan.stats.impl.StatsCollector
<< org.infinispan.AdvancedCache
Caused by: java.lang.NullPointerException"}}
17:08:05,718 ERROR [org.jboss.as.controller.management-operation] (Controller Boot
Thread) WFLYCTL0013: Operation ("add") failed - address: ([
("subsystem" => "infinispan"),
("cache-container" => "keycloak"),
("local-cache" => "realms"),
("component" => "expiration")
]) - failure description: {"WFLYCTL0080: Failed services" =>
{"org.wildfly.clustering.infinispan.cache.keycloak.realms" =>
"org.infinispan.commons.CacheConfigurationException: Failed to construct component
org.infinispan.container.impl.InternalDataContainer, path
org.infinispan.container.impl.InternalDataContainer
<< org.infinispan.stats.impl.StatsCollector
<< org.infinispan.AdvancedCache
Caused by: org.infinispan.commons.CacheConfigurationException: Failed to construct
component org.infinispan.container.impl.InternalDataContainer, path
org.infinispan.container.impl.InternalDataContainer
<< org.infinispan.stats.impl.StatsCollector
<< org.infinispan.AdvancedCache
Caused by: java.lang.NullPointerException"}}
17:08:05,718 ERROR [org.jboss.as.controller.management-operation] (Controller Boot
Thread) WFLYCTL0013: Operation ("add") failed - address: ([
("subsystem" => "infinispan"),
("cache-container" => "keycloak"),
("local-cache" => "realms"),
("component" => "locking")
]) - failure description: {"WFLYCTL0080: Failed services" =>
{"org.wildfly.clustering.infinispan.cache.keycloak.realms" =>
"org.infinispan.commons.CacheConfigurationException: Failed to construct component
org.infinispan.container.impl.InternalDataContainer, path
org.infinispan.container.impl.InternalDataContainer
<< org.infinispan.stats.impl.StatsCollector
<< org.infinispan.AdvancedCache
Caused by: org.infinispan.commons.CacheConfigurationException: Failed to construct
component org.infinispan.container.impl.InternalDataContainer, path
org.infinispan.container.impl.InternalDataContainer
<< org.infinispan.stats.impl.StatsCollector
<< org.infinispan.AdvancedCache
Caused by: java.lang.NullPointerException"}}
17:08:05,718 ERROR [org.jboss.as.controller.management-operation] (Controller Boot
Thread) WFLYCTL0013: Operation ("add") failed - address: ([
("subsystem" => "infinispan"),
("cache-container" => "keycloak"),
("local-cache" => "realms"),
("component" => "transaction")
]) - failure description: {"WFLYCTL0080: Failed services" =>
{"org.wildfly.clustering.infinispan.cache.keycloak.realms" =>
"org.infinispan.commons.CacheConfigurationException: Failed to construct component
org.infinispan.container.impl.InternalDataContainer, path
org.infinispan.container.impl.InternalDataContainer
<< org.infinispan.stats.impl.StatsCollector
<< org.infinispan.AdvancedCache
Caused by: org.infinispan.commons.CacheConfigurationException: Failed to construct
component org.infinispan.container.impl.InternalDataContainer, path
org.infinispan.container.impl.InternalDataContainer
<< org.infinispan.stats.impl.StatsCollector
<< org.infinispan.AdvancedCache
Caused by: java.lang.NullPointerException"}}
17:08:05,719 ERROR [org.jboss.as.controller.management-operation] (Controller Boot
Thread) WFLYCTL0013: Operation ("add") failed - address: ([
("subsystem" => "infinispan"),
("cache-container" => "keycloak"),
("local-cache" => "realms"),
("store" => "none")
]) - failure description: {"WFLYCTL0080: Failed services" =>
{"org.wildfly.clustering.infinispan.cache.keycloak.realms" =>
"org.infinispan.commons.CacheConfigurationException: Failed to construct component
org.infinispan.container.impl.InternalDataContainer, path
org.infinispan.container.impl.InternalDataContainer
<< org.infinispan.stats.impl.StatsCollector
<< org.infinispan.AdvancedCache
Caused by: org.infinispan.commons.CacheConfigurationException: Failed to construct
component org.infinispan.container.impl.InternalDataContainer, path
org.infinispan.container.impl.InternalDataContainer
<< org.infinispan.stats.impl.StatsCollector
<< org.infinispan.AdvancedCache
Caused by: java.lang.NullPointerException"}}
17:08:05,719 ERROR [org.jboss.as.controller.management-operation] (Controller Boot
Thread) WFLYCTL0013: Operation ("add") failed - address: ([
("subsystem" => "infinispan"),
("cache-container" => "keycloak"),
("local-cache" => "users"),
("component" => "expiration")
]) - failure description: {"WFLYCTL0080: Failed services" =>
{"org.wildfly.clustering.infinispan.cache.keycloak.users" =>
"org.infinispan.commons.CacheConfigurationException: Failed to construct component
org.infinispan.container.impl.InternalDataContainer, path
org.infinispan.container.impl.InternalDataContainer
<< org.infinispan.stats.impl.StatsCollector
<< org.infinispan.AdvancedCache
Caused by: org.infinispan.commons.CacheConfigurationException: Failed to construct
component org.infinispan.container.impl.InternalDataContainer, path
org.infinispan.container.impl.InternalDataContainer
<< org.infinispan.stats.impl.StatsCollector
<< org.infinispan.AdvancedCache
Caused by: java.lang.NullPointerException"}}
17:08:05,719 ERROR [org.jboss.as.controller.management-operation] (Controller Boot
Thread) WFLYCTL0013: Operation ("add") failed - address: ([
("subsystem" => "infinispan"),
("cache-container" => "keycloak"),
("local-cache" => "users"),
("component" => "locking")
]) - failure description: {"WFLYCTL0080: Failed services" =>
{"org.wildfly.clustering.infinispan.cache.keycloak.users" =>
"org.infinispan.commons.CacheConfigurationException: Failed to construct component
org.infinispan.container.impl.InternalDataContainer, path
org.infinispan.container.impl.InternalDataContainer
<< org.infinispan.stats.impl.StatsCollector
<< org.infinispan.AdvancedCache
Caused by: org.infinispan.commons.CacheConfigurationException: Failed to construct
component org.infinispan.container.impl.InternalDataContainer, path
org.infinispan.container.impl.InternalDataContainer
<< org.infinispan.stats.impl.StatsCollector
<< org.infinispan.AdvancedCache
Caused by: java.lang.NullPointerException"}}
17:08:05,719 ERROR [org.jboss.as.controller.management-operation] (Controller Boot
Thread) WFLYCTL0013: Operation ("add") failed - address: ([
("subsystem" => "infinispan"),
("cache-container" => "keycloak"),
("local-cache" => "users"),
("component" => "transaction")
]) - failure description: {"WFLYCTL0080: Failed services" =>
{"org.wildfly.clustering.infinispan.cache.keycloak.users" =>
"org.infinispan.commons.CacheConfigurationException: Failed to construct component
org.infinispan.container.impl.InternalDataContainer, path
org.infinispan.container.impl.InternalDataContainer
<< org.infinispan.stats.impl.StatsCollector
<< org.infinispan.AdvancedCache
Caused by: org.infinispan.commons.CacheConfigurationException: Failed to construct
component org.infinispan.container.impl.InternalDataContainer, path
org.infinispan.container.impl.InternalDataContainer
<< org.infinispan.stats.impl.StatsCollector
<< org.infinispan.AdvancedCache
Caused by: java.lang.NullPointerException"}}
17:08:05,720 ERROR [org.jboss.as.controller.management-operation] (Controller Boot
Thread) WFLYCTL0013: Operation ("add") failed - address: ([
("subsystem" => "infinispan"),
("cache-container" => "keycloak"),
("local-cache" => "users"),
("store" => "none")
]) - failure description: {"WFLYCTL0080: Failed services" =>
{"org.wildfly.clustering.infinispan.cache.keycloak.users" =>
"org.infinispan.commons.CacheConfigurationException: Failed to construct component
org.infinispan.container.impl.InternalDataContainer, path
org.infinispan.container.impl.InternalDataContainer
<< org.infinispan.stats.impl.StatsCollector
<< org.infinispan.AdvancedCache
Caused by: org.infinispan.commons.CacheConfigurationException: Failed to construct
component org.infinispan.container.impl.InternalDataContainer, path
org.infinispan.container.impl.InternalDataContainer
<< org.infinispan.stats.impl.StatsCollector
<< org.infinispan.AdvancedCache
Caused by: java.lang.NullPointerException"}}
17:08:05,720 ERROR [org.jboss.as.controller.management-operation] (Controller Boot
Thread) WFLYCTL0013: Operation ("add") failed - address: ([
("subsystem" => "infinispan"),
("cache-container" => "keycloak"),
("local-cache" => "authorization"),
("component" => "expiration")
]) - failure description: {"WFLYCTL0080: Failed services" =>
{"org.wildfly.clustering.infinispan.cache.keycloak.authorization" =>
"org.infinispan.commons.CacheConfigurationException: Failed to construct component
org.infinispan.container.impl.InternalDataContainer, path
org.infinispan.container.impl.InternalDataContainer
<< org.infinispan.stats.impl.StatsCollector
<< org.infinispan.AdvancedCache
Caused by: org.infinispan.commons.CacheConfigurationException: Failed to construct
component org.infinispan.container.impl.InternalDataContainer, path
org.infinispan.container.impl.InternalDataContainer
<< org.infinispan.stats.impl.StatsCollector
<< org.infinispan.AdvancedCache
Caused by: java.lang.NullPointerException"}}
17:08:05,720 ERROR [org.jboss.as.controller.management-operation] (Controller Boot
Thread) WFLYCTL0013: Operation ("add") failed - address: ([
("subsystem" => "infinispan"),
("cache-container" => "keycloak"),
("local-cache" => "authorization"),
("component" => "locking")
]) - failure description: {"WFLYCTL0080: Failed services" =>
{"org.wildfly.clustering.infinispan.cache.keycloak.authorization" =>
"org.infinispan.commons.CacheConfigurationException: Failed to construct component
org.infinispan.container.impl.InternalDataContainer, path
org.infinispan.container.impl.InternalDataContainer
<< org.infinispan.stats.impl.StatsCollector
<< org.infinispan.AdvancedCache
Caused by: org.infinispan.commons.CacheConfigurationException: Failed to construct
component org.infinispan.container.impl.InternalDataContainer, path
org.infinispan.container.impl.InternalDataContainer
<< org.infinispan.stats.impl.StatsCollector
<< org.infinispan.AdvancedCache
Caused by: java.lang.NullPointerException"}}
17:08:05,721 ERROR [org.jboss.as.controller.management-operation] (Controller Boot
Thread) WFLYCTL0013: Operation ("add") failed - address: ([
("subsystem" => "infinispan"),
("cache-container" => "keycloak"),
("local-cache" => "authorization"),
("component" => "transaction")
]) - failure description: {"WFLYCTL0080: Failed services" =>
{"org.wildfly.clustering.infinispan.cache.keycloak.authorization" =>
"org.infinispan.commons.CacheConfigurationException: Failed to construct component
org.infinispan.container.impl.InternalDataContainer, path
org.infinispan.container.impl.InternalDataContainer
<< org.infinispan.stats.impl.StatsCollector
<< org.infinispan.AdvancedCache
Caused by: org.infinispan.commons.CacheConfigurationException: Failed to construct
component org.infinispan.container.impl.InternalDataContainer, path
org.infinispan.container.impl.InternalDataContainer
<< org.infinispan.stats.impl.StatsCollector
<< org.infinispan.AdvancedCache
Caused by: java.lang.NullPointerException"}}
17:08:05,721 ERROR [org.jboss.as.controller.management-operation] (Controller Boot
Thread) WFLYCTL0013: Operation ("add") failed - address: ([
("subsystem" => "infinispan"),
("cache-container" => "keycloak"),
("local-cache" => "authorization"),
("store" => "none")
]) - failure description: {"WFLYCTL0080: Failed services" =>
{"org.wildfly.clustering.infinispan.cache.keycloak.authorization" =>
"org.infinispan.commons.CacheConfigurationException: Failed to construct component
org.infinispan.container.impl.InternalDataContainer, path
org.infinispan.container.impl.InternalDataContainer
<< org.infinispan.stats.impl.StatsCollector
<< org.infinispan.AdvancedCache
Caused by: org.infinispan.commons.CacheConfigurationException: Failed to construct
component org.infinispan.container.impl.InternalDataContainer, path
org.infinispan.container.impl.InternalDataContainer
<< org.infinispan.stats.impl.StatsCollector
<< org.infinispan.AdvancedCache
Caused by: java.lang.NullPointerException"}}
17:08:05,721 ERROR [org.jboss.as.controller.management-operation] (Controller Boot
Thread) WFLYCTL0013: Operation ("add") failed - address: ([
("subsystem" => "infinispan"),
("cache-container" => "keycloak"),
("local-cache" => "keys"),
("component" => "locking")
]) - failure description: {"WFLYCTL0080: Failed services" =>
{"org.wildfly.clustering.infinispan.cache.keycloak.keys" =>
"org.infinispan.commons.CacheConfigurationException: Failed to construct component
org.infinispan.container.impl.InternalDataContainer, path
org.infinispan.container.impl.InternalDataContainer
<< org.infinispan.stats.impl.StatsCollector
<< org.infinispan.AdvancedCache
Caused by: org.infinispan.commons.CacheConfigurationException: Failed to construct
component org.infinispan.container.impl.InternalDataContainer, path
org.infinispan.container.impl.InternalDataContainer
<< org.infinispan.stats.impl.StatsCollector
<< org.infinispan.AdvancedCache
Caused by: java.lang.NullPointerException"}}
17:08:05,722 ERROR [org.jboss.as.controller.management-operation] (Controller Boot
Thread) WFLYCTL0013: Operation ("add") failed - address: ([
("subsystem" => "infinispan"),
("cache-container" => "keycloak"),
("local-cache" => "keys"),
("component" => "transaction")
]) - failure description: {"WFLYCTL0080: Failed services" =>
{"org.wildfly.clustering.infinispan.cache.keycloak.keys" =>
"org.infinispan.commons.CacheConfigurationException: Failed to construct component
org.infinispan.container.impl.InternalDataContainer, path
org.infinispan.container.impl.InternalDataContainer
<< org.infinispan.stats.impl.StatsCollector
<< org.infinispan.AdvancedCache
Caused by: org.infinispan.commons.CacheConfigurationException: Failed to construct
component org.infinispan.container.impl.InternalDataContainer, path
org.infinispan.container.impl.InternalDataContainer
<< org.infinispan.stats.impl.StatsCollector
<< org.infinispan.AdvancedCache
Caused by: java.lang.NullPointerException"}}
17:08:05,722 ERROR [org.jboss.as.controller.management-operation] (Controller Boot
Thread) WFLYCTL0013: Operation ("add") failed - address: ([
("subsystem" => "infinispan"),
("cache-container" => "keycloak"),
("local-cache" => "keys"),
("store" => "none")
]) - failure description: {"WFLYCTL0080: Failed services" =>
{"org.wildfly.clustering.infinispan.cache.keycloak.keys" =>
"org.infinispan.commons.CacheConfigurationException: Failed to construct component
org.infinispan.container.impl.InternalDataContainer, path
org.infinispan.container.impl.InternalDataContainer
<< org.infinispan.stats.impl.StatsCollector
<< org.infinispan.AdvancedCache
Caused by: org.infinispan.commons.CacheConfigurationException: Failed to construct
component org.infinispan.container.impl.InternalDataContainer, path
org.infinispan.container.impl.InternalDataContainer
<< org.infinispan.stats.impl.StatsCollector
<< org.infinispan.AdvancedCache
Caused by: java.lang.NullPointerException"}}
17:08:05,723 ERROR [org.jboss.as.controller] (Controller Boot Thread) WFLYCTL0459:
Triggering roll back due to missing management services.
17:08:05,723 ERROR [org.jboss.as.controller.management-operation] (Controller Boot
Thread) WFLYCTL0013: Operation ("add") failed - address: ([
("core-service" => "management"),
("management-interface" => "http-interface")
]) - failure description: {"WFLYCTL0080: Failed services" =>
{"org.wildfly.management.http.extensible" => "java.net.BindException:
Address already in use /127.0.0.1:9990"}}
17:08:05,727 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 65)
WFLYCLINF0003: Stopped authenticationSessions cache from keycloak container
17:08:05,727 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 62)
WFLYCLINF0003: Stopped offlineClientSessions cache from keycloak container
17:08:05,728 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 58)
WFLYCLINF0003: Stopped sessions cache from keycloak container
17:08:05,728 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 66)
WFLYCLINF0003: Stopped actionTokens cache from keycloak container
17:08:05,729 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 62)
WFLYCLINF0003: Stopped loginFailures cache from keycloak container
17:08:05,729 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 58)
WFLYCLINF0003: Stopped client-mappings cache from ejb container
17:08:05,729 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 65)
WFLYCLINF0003: Stopped clientSessions cache from keycloak container
17:08:05,729 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 68)
WFLYCLINF0003: Stopped work cache from keycloak container
17:08:05,729 INFO [org.infinispan.manager.DefaultCacheManager] (MSC service thread 1-6)
Stopping cache manager null on null
17:08:05,730 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 59)
WFLYCLINF0003: Stopped offlineSessions cache from keycloak container
17:08:05,730 INFO [org.infinispan.manager.DefaultCacheManager] (MSC service thread 1-2)
Stopping cache manager null on null
17:08:05,731 INFO [org.jboss.as.server.deployment] (MSC service thread 1-2) WFLYSRV0028:
Stopped deployment keycloak-server.war (runtime-name: keycloak-server.war) in 6ms
{noformat}
*+_Note:_+* The issue disappears (Wildfly 20 starts correctly) when the {noformat}
<object-memory size="10000"/>{noformat} element on the local caches is
commented out.
[*] See the +_Steps to Reproduce:_+ section below for further information.