-
Bug
-
Resolution: Done
-
Major
-
33.0.0.Final, 33.0.1.Final, 33.0.2.Final
Regression in WF 33 after SR FT upgrade.
Should be covered with a test case so similar issues are not missed.
With smallrye-fault-tolerance 6.3.0 coming with WF33, Smallrye throws an IllegalStateException("Timer already exists"); coming from the following change in PR-913, once the second WAR is deployed.
Caused by: java.lang.IllegalStateException: Timer already exists at io.smallrye.fault-tolerance@6.3.0//io.smallrye.faulttolerance.core.timer.ThreadTimer.create(ThreadTimer.java:67) at io.smallrye.fault-tolerance@6.3.0//io.smallrye.faulttolerance.ExecutorHolder.<init>(ExecutorHolder.java:28) at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(Unknown Source) at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Unknown Source) at java.base/java.lang.reflect.Constructor.newInstance(Unknown Source) at org.jboss.weld.core@5.1.2.Final//org.jboss.weld.injection.ConstructorInjectionPoint.newInstance(ConstructorInjectionPoint.java:123) at org.jboss.weld.core@5.1.2.Final//org.jboss.weld.injection.ConstructorInjectionPoint.invokeAroundConstructCallbacks(ConstructorInjectionPoint.java:95) at org.jboss.weld.core@5.1.2.Final//org.jboss.weld.injection.ConstructorInjectionPoint.newInstance(ConstructorInjectionPoint.java:81) at org.jboss.weld.core@5.1.2.Final//org.jboss.weld.injection.producer.AbstractInstantiator.newInstance(AbstractInstantiator.java:28) at org.jboss.weld.core@5.1.2.Final//org.jboss.weld.injection.producer.BasicInjectionTarget.produce(BasicInjectionTarget.java:121) at org.jboss.weld.core@5.1.2.Final//org.jboss.weld.injection.producer.BeanInjectionTarget.produce(BeanInjectionTarget.java:197) at org.jboss.weld.core@5.1.2.Final//org.jboss.weld.bean.ManagedBean.create(ManagedBean.java:164) at org.jboss.weld.core@5.1.2.Final//org.jboss.weld.contexts.AbstractContext.get(AbstractContext.java:96) at org.jboss.weld.core@5.1.2.Final//org.jboss.weld.bean.ContextualInstanceStrategy$DefaultContextualInstanceStrategy.get(ContextualInstanceStrategy.java:104) at org.jboss.weld.core@5.1.2.Final//org.jboss.weld.bean.ContextualInstanceStrategy$ApplicationScopedContextualInstanceStrategy.get(ContextualInstanceStrategy.java:144) at org.jboss.weld.core@5.1.2.Final//org.jboss.weld.bean.ContextualInstance.get(ContextualInstance.java:50) at org.jboss.weld.core@5.1.2.Final//org.jboss.weld.manager.BeanManagerImpl.getReference(BeanManagerImpl.java:706) at org.jboss.weld.core@5.1.2.Final//org.jboss.weld.manager.BeanManagerImpl.getInjectableReference(BeanManagerImpl.java:815) at org.jboss.weld.core@5.1.2.Final//org.jboss.weld.injection.FieldInjectionPoint.inject(FieldInjectionPoint.java:93) at org.jboss.weld.core@5.1.2.Final//org.jboss.weld.util.Beans.injectBoundFields(Beans.java:348) at org.jboss.weld.core@5.1.2.Final//org.jboss.weld.util.Beans.injectFieldsAndInitializers(Beans.java:359) at org.jboss.weld.core@5.1.2.Final//org.jboss.weld.injection.producer.ResourceInjector$1.proceed(ResourceInjector.java:70) at org.jboss.weld.core@5.1.2.Final//org.jboss.weld.injection.InjectionContextImpl.run(InjectionContextImpl.java:49) at org.jboss.weld.core@5.1.2.Final//org.jboss.weld.injection.producer.ResourceInjector.inject(ResourceInjector.java:72) at org.jboss.weld.core@5.1.2.Final//org.jboss.weld.injection.producer.BasicInjectionTarget.inject(BasicInjectionTarget.java:126) at org.jboss.weld.core@5.1.2.Final//org.jboss.weld.bean.ManagedBean.create(ManagedBean.java:165) at org.jboss.weld.core@5.1.2.Final//org.jboss.weld.contexts.AbstractContext.get(AbstractContext.java:96) at org.jboss.weld.core@5.1.2.Final//org.jboss.weld.bean.ContextualInstanceStrategy$DefaultContextualInstanceStrategy.get(ContextualInstanceStrategy.java:104) at org.jboss.weld.core@5.1.2.Final//org.jboss.weld.bean.ContextualInstanceStrategy$ApplicationScopedContextualInstanceStrategy.get(ContextualInstanceStrategy.java:144) at org.jboss.weld.core@5.1.2.Final//org.jboss.weld.bean.ContextualInstance.get(ContextualInstance.java:50) at org.jboss.weld.core@5.1.2.Final//org.jboss.weld.manager.BeanManagerImpl.getReference(BeanManagerImpl.java:706) at org.jboss.weld.core@5.1.2.Final//org.jboss.weld.manager.BeanManagerImpl.getInjectableReference(BeanManagerImpl.java:815) at org.jboss.weld.core@5.1.2.Final//org.jboss.weld.injection.ParameterInjectionPointImpl.getValueToInject(ParameterInjectionPointImpl.java:77) at org.jboss.weld.core@5.1.2.Final//org.jboss.weld.injection.ConstructorInjectionPoint.getParameterValues(ConstructorInjectionPoint.java:155) at org.jboss.weld.core@5.1.2.Final//org.jboss.weld.injection.ConstructorInjectionPoint.newInstance(ConstructorInjectionPoint.java:78) at org.jboss.weld.core@5.1.2.Final//org.jboss.weld.injection.producer.AbstractInstantiator.newInstance(AbstractInstantiator.java:28) at org.jboss.weld.core@5.1.2.Final//org.jboss.weld.injection.producer.BasicInjectionTarget.produce(BasicInjectionTarget.java:121) at org.jboss.weld.core@5.1.2.Final//org.jboss.weld.injection.producer.BeanInjectionTarget.produce(BeanInjectionTarget.java:197) at org.jboss.weld.core@5.1.2.Final//org.jboss.weld.bean.ManagedBean.create(ManagedBean.java:164) at org.jboss.weld.core@5.1.2.Final//org.jboss.weld.contexts.unbound.DependentContextImpl.get(DependentContextImpl.java:64) at org.jboss.weld.core@5.1.2.Final//org.jboss.weld.bean.ContextualInstanceStrategy$DefaultContextualInstanceStrategy.get(ContextualInstanceStrategy.java:104) at org.jboss.weld.core@5.1.2.Final//org.jboss.weld.bean.ContextualInstance.get(ContextualInstance.java:50) at org.jboss.weld.core@5.1.2.Final//org.jboss.weld.manager.BeanManagerImpl.getReference(BeanManagerImpl.java:706) at org.jboss.weld.core@5.1.2.Final//org.jboss.weld.bean.interceptor.CdiInterceptorFactory.create(CdiInterceptorFactory.java:46) at org.jboss.weld.core@5.1.2.Final//org.jboss.weld.interceptor.proxy.InterceptionContext.initInterceptorInstanceMap(InterceptionContext.java:110) at org.jboss.weld.core@5.1.2.Final//org.jboss.weld.interceptor.proxy.InterceptionContext.of(InterceptionContext.java:81) at org.jboss.weld.core@5.1.2.Final//org.jboss.weld.interceptor.proxy.InterceptionContext.forNonConstructorInterception(InterceptionContext.java:76) at org.jboss.weld.core@5.1.2.Final//org.jboss.weld.injection.producer.InterceptorApplyingInstantiator.newInstance(InterceptorApplyingInstantiator.java:60) at org.jboss.weld.core@5.1.2.Final//org.jboss.weld.injection.producer.BasicInjectionTarget.produce(BasicInjectionTarget.java:121) at org.jboss.weld.core@5.1.2.Final//org.jboss.weld.injection.producer.BeanInjectionTarget.produce(BeanInjectionTarget.java:197) at org.jboss.weld.core@5.1.2.Final//org.jboss.weld.bean.ManagedBean.create(ManagedBean.java:164) at org.jboss.weld.core@5.1.2.Final//org.jboss.weld.contexts.AbstractContext.get(AbstractContext.java:96) at org.jboss.weld.core@5.1.2.Final//org.jboss.weld.bean.ContextualInstanceStrategy$DefaultContextualInstanceStrategy.get(ContextualInstanceStrategy.java:104) at org.jboss.weld.core@5.1.2.Final//org.jboss.weld.bean.ContextualInstanceStrategy$ApplicationScopedContextualInstanceStrategy.get(ContextualInstanceStrategy.java:144) at org.jboss.weld.core@5.1.2.Final//org.jboss.weld.bean.ContextualInstance.get(ContextualInstance.java:50) at org.jboss.weld.core@5.1.2.Final//org.jboss.weld.bean.proxy.ContextBeanInstance.getInstance(ContextBeanInstance.java:101) at org.jboss.weld.core@5.1.2.Final//org.jboss.weld.bean.proxy.ProxyMethodHandler.getInstance(ProxyMethodHandler.java:136) at deployment.product-app-1.00.0-SNAPSHOT.war//com.company.product.common.messaging.retry.DefaultRetryTopicHandler$Proxy$_$$_WeldClientProxy.entryProcessor(Unknown Source) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(Unknown Source) at java.base/java.lang.reflect.Method.invoke(Unknown Source) at io.smallrye.reactive.messaging@4.21.0//io.smallrye.reactive.messaging.providers.AbstractMediator.lambda$initialize$12(AbstractMediator.java:133) at io.smallrye.reactive.messaging@4.21.0//io.smallrye.reactive.messaging.providers.AbstractMediator.invoke(AbstractMediator.java:160) at io.smallrye.reactive.messaging@4.21.0//io.smallrye.reactive.messaging.providers.StreamTransformerMediator.lambda$processMethodConsumingAPublisherOfMessages$5(StreamTransformerMediator.java:225) at io.smallrye.reactive.messaging@4.21.0//io.smallrye.reactive.messaging.providers.StreamTransformerMediator.connectToUpstream(StreamTransformerMediator.java:90) at io.smallrye.reactive.messaging@4.21.0//io.smallrye.reactive.messaging.providers.wiring.Wiring$ProcessorMediatorComponent.materialize(Wiring.java:890) at io.smallrye.reactive.messaging@4.21.0//io.smallrye.reactive.messaging.providers.wiring.Graph.lambda$materialize$10(Graph.java:100) at java.base/java.util.ArrayList.forEach(Unknown Source) at io.smallrye.reactive.messaging@4.21.0//io.smallrye.reactive.messaging.providers.wiring.Graph.materialize(Graph.java:99) at io.smallrye.reactive.messaging@4.21.0//io.smallrye.reactive.messaging.providers.extension.MediatorManager.start(MediatorManager.java:263) at io.smallrye.reactive.messaging@4.21.0//io.smallrye.reactive.messaging.providers.extension.MediatorManager$Proxy$_$$_WeldClientProxy.start(Unknown Source) at io.smallrye.reactive.messaging@4.21.0//io.smallrye.reactive.messaging.providers.extension.ReactiveMessagingExtension.startMediatorManager(ReactiveMessagingExtension.java:141) at io.smallrye.reactive.messaging@4.21.0//io.smallrye.reactive.messaging.providers.extension.ReactiveMessagingExtension.afterDeploymentValidation(ReactiveMessagingExtension.java:110) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(Unknown Source) at java.base/java.lang.reflect.Method.invoke(Unknown Source) at org.jboss.weld.core@5.1.2.Final//org.jboss.weld.injection.StaticMethodInjectionPoint.invoke(StaticMethodInjectionPoint.java:99) at org.jboss.weld.core@5.1.2.Final//org.jboss.weld.injection.MethodInvocationStrategy$SpecialParamPlusBeanManagerStrategy.invoke(MethodInvocationStrategy.java:199) at org.jboss.weld.core@5.1.2.Final//org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:342) at org.jboss.weld.core@5.1.2.Final//org.jboss.weld.event.ExtensionObserverMethodImpl.sendEvent(ExtensionObserverMethodImpl.java:136) at org.jboss.weld.core@5.1.2.Final//org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:320) at org.jboss.weld.core@5.1.2.Final//org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:298) at jakarta.enterprise.api//jakarta.enterprise.inject.spi.ObserverMethod.notify(ObserverMethod.java:142) at org.jboss.weld.core@5.1.2.Final//org.jboss.weld.util.Observers.notify(Observers.java:176) at org.jboss.weld.core@5.1.2.Final//org.jboss.weld.event.ObserverNotifier.notifySyncObservers(ObserverNotifier.java:303) at org.jboss.weld.core@5.1.2.Final//org.jboss.weld.event.ObserverNotifier.notify(ObserverNotifier.java:289) at org.jboss.weld.core@5.1.2.Final//org.jboss.weld.event.ObserverNotifier.fireEvent(ObserverNotifier.java:184) at org.jboss.weld.core@5.1.2.Final//org.jboss.weld.event.ObserverNotifier.fireEvent(ObserverNotifier.java:178) at org.jboss.weld.core@5.1.2.Final//org.jboss.weld.bootstrap.events.AbstractContainerEvent.fire(AbstractContainerEvent.java:53) at org.jboss.weld.core@5.1.2.Final//org.jboss.weld.bootstrap.events.AbstractDeploymentContainerEvent.fire(AbstractDeploymentContainerEvent.java:35) at org.jboss.weld.core@5.1.2.Final//org.jboss.weld.bootstrap.events.AfterDeploymentValidationImpl.fire(AfterDeploymentValidationImpl.java:28) at org.jboss.weld.core@5.1.2.Final//org.jboss.weld.bootstrap.WeldStartup.validateBeans(WeldStartup.java:506) at org.jboss.weld.core@5.1.2.Final//org.jboss.weld.bootstrap.WeldBootstrap.validateBeans(WeldBootstrap.java:94) at org.jboss.as.weld@33.0.1.Final//org.jboss.as.weld.WeldStartService.start(WeldStartService.java:81) at org.jboss.msc@1.5.5.Final//org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1617) at org.jboss.msc@1.5.5.Final//org.jboss.msc.service.ServiceControllerImpl$StartTask.execute(ServiceControllerImpl.java:1580) at org.jboss.msc@1.5.5.Final//org.jboss.msc.service.ServiceControllerImpl$ControllerTask.run(ServiceControllerImpl.java:1438) at org.jboss.threads@2.4.0.Final//org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35) at org.jboss.threads@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1990) at org.jboss.threads@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486) at org.jboss.threads@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1377) at java.base/java.lang.Thread.run(Unknown Source)
- is incorporated by
-
WFLY-19782 Upgrade SmallRye Fault Tolerance to 6.4.1
- Resolved
- is triggering
-
WFLY-19785 Add MP Fault Tolerance test case with multiple concurrent deployments
- Resolved