Re: TomEEMicroProfileListener IllegalStateException

Bart van Leeuwen <[email protected]> Thu, 16 Nov 2023 14:58:30 +0100
Newsgroups gmane.comp.java.openejb.user
Message-ID <OF193A3C2E.F4BF83F8-ONC1258A69.004CB63C-C1258A69.004CC4BB__14901.3629111991$1700143227$gmane$org@netage.nl>
Hi,

What would be a good way to pin point this issue, where to start looking 
etc?

Met Vriendelijke Groet / With Kind Regards
Bart van Leeuwen




From:   "Bart van Leeuwen" <[email protected]>
To:     [email protected]
Date:   02-11-2023 13:29
Subject:        TomEEMicroProfileListener IllegalStateException



Hi,

Again in the transition from TomEE 8 to TomEE 9 (Plus version) I run into 
the following error on app deployment.
This only happens on the first deployment of the app, if redeployed the 
error doesn't happen.
So far I have not been able to create a testcase.

SEVERE [Catalina-utility-1] 
org.apache.openejb.observer.ObserverManager$MethodInvocation.invoke error 
invoking org.apache.tomee.microprofile.TomEEMicroProfileListener@53f0a4cb
        java.lang.IllegalStateException: On a thread without an 
initialized context nor a classloader mapping a deployed app

Met Vriendelijke Groet / With Kind Regards
Bart van Leeuwen