Hello everyone, I've submitted a small patch <https://github.com/apache/tomee/pull/2939> to fix a concurrency issue in ThreadContext we encountered on several applications. The fix addresses the immediate issue and would unblock our other applications from migrating from TomEE 8 to 10. A review would be appreciated!
As mentioned in the jira ticket <https://issues.apache.org/jira/browse/TOMEE-4699>, this did expose a possibly other issue. Inside CUTask exceptions are not caught on lines 70-85. This means neither taskAborted or taskDone is ever called when an exception is thrown. Since this is not a blocking issue for me, I'll leave it to you to decide if it's worth changing. I can file this as a separate JIRA ticket if that works better for you. Thanks, Jorren -- *Confidentiality Note:* This email and any attachments may contain confidential information and are intended solely for the named recipients. If you are not an intended recipient, any use, copying, disclosure, or distribution is prohibited. Please notify the sender and delete the message and any copies. Confidential information may not be shared with any third party without the prior written consent of NSX bv.
