Closed ivargrimstad closed 9 months ago
Can one of the admins verify this patch?
Tested this out and now TomEE spits out a pretty gnarly but spurious exception. Do you think anyone from TomEE wants to take a look?
30-Sep-2023 20:54:29.165 SEVERE [main] org.apache.openejb.observer.ObserverManager$MethodInvocation.invoke error invoking org.apache.tomee.microprofile.TomEEMicroProfileListener@a4ca3f6
java.lang.IllegalStateException: On a thread without an initialized context nor a classloader mapping a deployed app
at org.apache.openejb.cdi.ThreadSingletonServiceImpl.get(ThreadSingletonServiceImpl.java:366)
at org.apache.openejb.cdi.ThreadSingletonServiceImpl.getContext(ThreadSingletonServiceImpl.java:342)
at org.apache.openejb.cdi.ThreadSingletonServiceImpl.get(ThreadSingletonServiceImpl.java:377)
at org.apache.openejb.cdi.ThreadSingletonServiceImpl.get(ThreadSingletonServiceImpl.java:71)
at org.apache.webbeans.config.WebBeansFinder.getSingletonInstance(WebBeansFinder.java:57)
at org.apache.webbeans.config.WebBeansContext.getInstance(WebBeansContext.java:197)
at org.apache.webbeans.config.WebBeansContext.currentInstance(WebBeansContext.java:215)
at org.apache.webbeans.container.OwbCDI.getWebBeansContext(OwbCDI.java:47)
at org.apache.webbeans.container.OwbCDI.instance(OwbCDI.java:52)
at org.apache.webbeans.container.OwbCDI.select(OwbCDI.java:97)
at io.smallrye.opentracing.SmallRyeTracingDynamicFeature.
Tested this out and now TomEE spits out a pretty gnarly but spurious exception. Do you think anyone from TomEE wants to take a look?
I get the same exception with the previous versions of TomeE and Plugin, so it is likely not introduced by the version change. If I drop the WAR in a running TomEE 9.1.0 Web Profile, no exception occurs. So it seems to be related to the plugin.
TomEE 9.1.0 is released. Updating version for runtime and plugin for Jakarta EE 9.1