Application deployment fails after patch 7.2.4
All was well with JBoss patch level 7.2.3.
Now, I get a ClassNotFoundException for class org.infinispan.commons.util.concurrent.ConcurrentHashSet error trying to deploy my application.
The indicated class is definitely present within a jar within the modules hierarchy, and its containing jar (infinispan-commons) received an update in patch 7.2.4, which is tagged as the current overlay.
I am not doing anything unusual with respect to class loading.
Any thoughts would be most welcome.
Log snippet is below. Ear and jar file names have been changed to protect company privacy.
2019-10-30 15:56:52,064 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-3) MSC000001: Failed to start service jboss.deployment.subunit."my.ear"."the.jar".POST_MODULE: org.jboss.msc.service.StartException in service jboss.deployment.subunit."my.ear"."the.jar".POST_MODULE: WFLYSRV0153: Failed to process phase POST_MODULE of subdeployment "the.jar" of deployment "my.ear"
at org.jboss.as.server@6.0.16.Final-redhat-00002//org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:151)
at org.jboss.msc@1.4.8.Final-redhat-00001//org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1737)
at org.jboss.msc@1.4.8.Final-redhat-00001//org.jboss.msc.service.ServiceControllerImpl$StartTask.execute(ServiceControllerImpl.java:1699)
at org.jboss.msc@1.4.8.Final-redhat-00001//org.jboss.msc.service.ServiceControllerImpl$ControllerTask.run(ServiceControllerImpl.java:1557)
at org.jboss.threads@2.3.2.Final-redhat-1//org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
at org.jboss.threads@2.3.2.Final-redhat-1//org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1985)
at org.jboss.threads@2.3.2.Final-redhat-1//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1487)
at org.jboss.threads@2.3.2.Final-redhat-1//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1364)
at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.lang.RuntimeException: WFLYSRV0177: Error getting reflective information for class com.example.SomeClass with ClassLoader ModuleClassLoader for Module "deployment.my.ear.the.jar" from Service Module Loader
at org.jboss.as.server@6.0.16.Final-redhat-00002//org.jboss.as.server.deployment.reflect.DeploymentReflectionIndex.getClassIndex(DeploymentReflectionIndex.java:78)
at org.jboss.as.ee@7.2.4.GA-redhat-00002//org.jboss.as.ee.metadata.MethodAnnotationAggregator.runtimeAnnotationInformation(MethodAnnotationAggregator.java:57)
at org.jboss.as.ee@7.2.4.GA-redhat-00002//org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.handleAnnotations(InterceptorAnnotationProcessor.java:106)
at org.jboss.as.ee@7.2.4.GA-redhat-00002//org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.processComponentConfig(InterceptorAnnotationProcessor.java:91)
at org.jboss.as.ee@7.2.4.GA-redhat-00002//org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.deploy(InterceptorAnnotationProcessor.java:76)
at org.jboss.as.server@6.0.16.Final-redhat-00002//org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:144)
... 8 more
Caused by: java.lang.NoClassDefFoundError: Lorg/infinispan/commons/util/concurrent/ConcurrentHashSet;
at java.base/java.lang.Class.getDeclaredFields0(Native Method)
at java.base/java.lang.Class.privateGetDeclaredFields(Class.java:3062)
at java.base/java.lang.Class.getDeclaredFields(Class.java:2249)
at org.jboss.as.server@6.0.16.Final-redhat-00002//org.jboss.as.server.deployment.reflect.ClassReflectionIndex.(ClassReflectionIndex.java:72)
at org.jboss.as.server@6.0.16.Final-redhat-00002//org.jboss.as.server.deployment.reflect.DeploymentReflectionIndex.getClassIndex(DeploymentReflectionIndex.java:70)
... 13 more
Caused by: java.lang.ClassNotFoundException: org.infinispan.commons.util.concurrent.ConcurrentHashSet from [Module "deployment.my.ear.the.jar" from Service Module Loader]
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:255)
at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:410)
at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398)
at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:116)
... 18 more