Bug Report: Payara 6.2023.11 - StatelessSessionBean with OpenTelemetry annotation @WithSpan throws jakarta.ejb.CreateException #6488
Labels
Status: Accepted
Confirmed defect or accepted improvement to implement, issue has been escalated to Platform Dev
Type: Bug
Label issue as a bug defect
Brief Summary
We have a StatelessSessionBean in our product that uses a scheduled method togehter with a @WithSpan annotation from the OpenTelemetry package (io.opentelemetry.instrumentation), which is now included in Payara 6.2023.11. With Payara 6.2023.10 and before we had no problems. With Payara 6.2023.11 we receive the following exception everytime the method gets triggered. When we remove the @WithSpan annotation the exception does not occur!
Expected Outcome
No exception should occur.
Current Outcome
see summary
Reproducer
an example of our StatelessSessionBean:
Operating System
Alpine Linux
JDK Version
zulu-openjdk-alpine:17.0.9-jre
Payara Distribution
Payara Micro
The text was updated successfully, but these errors were encountered: