]
Jeff Mesnil commented on WFLY-10920:
------------------------------------
The underlying issue is in smallrye-config and is fixed by
IllegalStateException: java.util.ConcurrentModificationException
----------------------------------------------------------------
Key: WFLY-10920
URL:
https://issues.jboss.org/browse/WFLY-10920
Project: WildFly
Issue Type: Bug
Components: MP Config
Affects Versions: 14.0.1.Final, 14.0.0.Final
Reporter: tommaso borgato
Assignee: Jeff Mesnil
Attachments: clusterbench-ee7-shared-sessions.ear, clusterbench-ee7.ear,
perf18-consoleText.txt
One of the many affected scenarios is
[
perflab_eap-7x-failover-http-session-shutdown-dist-sync-shared-sessions|h...]:
it is a 4 nodes (running with the standalone-ha.xml configuration) fail-over scenario
where the deployed EAR contains two WAR sharing http sessions:
{{clusterbench-ee7-shared-sessions.ear/META-INF/jboss-all.xml}}:
{noformat}
<jboss umlns="urn:jboss:1.0">
<shared-session-config xmlns="urn:jboss:shared-session-config:1.0">
<session-config>
<cookie-config>
<path>/</path>
</cookie-config>
</session-config>
</shared-session-config>
</jboss>
{noformat}
During server shut-down the EAR is stopped and we observe the following error:
{noformat}
[JBossINF] [0m[0m05:49:46,803 INFO [org.jboss.as.clustering.infinispan] (ServerService
Thread Pool -- 99) WFLYCLINF0003: Stopped clusterbench-ee7-shared-sessions.ear cache from
web container
[JBossINF] [0m[0m05:49:46,805 INFO
[org.infinispan.remoting.transport.jgroups.JGroupsTransport] (MSC service thread 1-1)
ISPN000080: Disconnecting JGroups channel ejb
[JBossINF] [0m[31m05:49:46,813 ERROR [org.jboss.as.server.deployment] (MSC service
thread 1-6) WFLYSRV0043: Deployment unit processor
org.wildfly.extension.microprofile.config.smallrye.deployment.SubsystemDeploymentProcessor@6953f688
unexpectedly threw an exception during undeploy phase POST_MODULE of subdeployment
"clusterbench-ee7-web-default-2.war" of deployment
"clusterbench-ee7-shared-sessions.ear":
java.util.ConcurrentModificationException
[JBossINF] at java.util.HashMap$HashIterator.nextNode(HashMap.java:1442)
[JBossINF] at java.util.HashMap$EntryIterator.next(HashMap.java:1476)
[JBossINF] at java.util.HashMap$EntryIterator.next(HashMap.java:1474)
[JBossINF] at
io.smallrye.config.SmallRyeConfigProviderResolver.releaseConfig(SmallRyeConfigProviderResolver.java:71)
[JBossINF] at
org.wildfly.extension.microprofile.config.smallrye.deployment.SubsystemDeploymentProcessor.undeploy(SubsystemDeploymentProcessor.java:102)
[JBossINF] at
org.jboss.as.server.deployment.DeploymentUnitPhaseService.safeUndeploy(DeploymentUnitPhaseService.java:211)
[JBossINF] at
org.jboss.as.server.deployment.DeploymentUnitPhaseService.stop(DeploymentUnitPhaseService.java:204)
[JBossINF] at
org.jboss.msc.service.ServiceControllerImpl$StopTask.stopService(ServiceControllerImpl.java:1792)
[JBossINF] at
org.jboss.msc.service.ServiceControllerImpl$StopTask.execute(ServiceControllerImpl.java:1761)
[JBossINF] at
org.jboss.msc.service.ServiceControllerImpl$ControllerTask.run(ServiceControllerImpl.java:1556)
[JBossINF] at
org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
[JBossINF] at
org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1985)
[JBossINF] at
org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1487)
[JBossINF] at
org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1378)
[JBossINF] at java.lang.Thread.run(Thread.java:748)
[JBossINF]
[JBossINF] [0m[31m05:49:46,812 ERROR [org.jboss.as.server.deployment] (MSC service
thread 1-4) WFLYSRV0043: Deployment unit processor
org.wildfly.extension.microprofile.config.smallrye.deployment.SubsystemDeploymentProcessor@6953f688
unexpectedly threw an exception during undeploy phase POST_MODULE of subdeployment
"clusterbench-ee7-web-default-1.war" of deployment
"clusterbench-ee7-shared-sessions.ear":
java.util.ConcurrentModificationException
[JBossINF] at java.util.HashMap$HashIterator.nextNode(HashMap.java:1442)
[JBossINF] at java.util.HashMap$EntryIterator.next(HashMap.java:1476)
[JBossINF] at java.util.HashMap$EntryIterator.next(HashMap.java:1474)
[JBossINF] at
io.smallrye.config.SmallRyeConfigProviderResolver.releaseConfig(SmallRyeConfigProviderResolver.java:71)
[JBossINF] at
org.wildfly.extension.microprofile.config.smallrye.deployment.SubsystemDeploymentProcessor.undeploy(SubsystemDeploymentProcessor.java:102)
[JBossINF] at
org.jboss.as.server.deployment.DeploymentUnitPhaseService.safeUndeploy(DeploymentUnitPhaseService.java:211)
[JBossINF] at
org.jboss.as.server.deployment.DeploymentUnitPhaseService.stop(DeploymentUnitPhaseService.java:204)
[JBossINF] at
org.jboss.msc.service.ServiceControllerImpl$StopTask.stopService(ServiceControllerImpl.java:1792)
[JBossINF] at
org.jboss.msc.service.ServiceControllerImpl$StopTask.execute(ServiceControllerImpl.java:1761)
[JBossINF] at
org.jboss.msc.service.ServiceControllerImpl$ControllerTask.run(ServiceControllerImpl.java:1556)
[JBossINF] at
org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
[JBossINF] at
org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1985)
[JBossINF] at
org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1487)
[JBossINF] at
org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1378)
[JBossINF] at java.lang.Thread.run(Thread.java:748)
{noformat}
Also other scenarios like
[
perflab_eap-7x-failover-http-session-shutdown-dist-sync-nb-state-transfer...]
and
[
perflab_eap-7x-failover-remote-jdg-session-shutdown-invalidation-sync-hot...]
exhibits the same error: I assume it does not depend on the shared sessions configuration
mentioned above;
Find attached:
- the complete server log (perf18-consoleText.txt)
- the EAR used for the shared-sessions scenario (clusterbench-ee7-shared-sessions.ear)
- the EAR used for the
[
perflab_eap-7x-failover-http-session-shutdown-dist-sync-nb-state-transfer...]
scenario (clusterbench-ee7.ear)