payara / Payara

Payara Server is an open source middleware platform that supports reliable and secure deployments of Java EE (Jakarta EE) and MicroProfile applications in any environment: on premise, in the cloud or hybrid.
http://www.payara.fish
Other
883 stars 306 forks source link

Bug Report: ClassLoader leak when Timer Service is used #7078

Open lprimak opened 3 hours ago

lprimak commented 3 hours ago

Brief Summary

I have noticed that any application that uses @Scheduled or programmatic equivalents, basically any application that touches TimerService doesn't unload properly, caused by ClassLoader leak

Expected Outcome

Application undeploys cleanly

Current Outcome

Leaks are detected

Reproducer

Not yet.

Operating System

Any

JDK Version

Any

Payara Distribution

Payara Server Full Profile, Payara Server Web Profile, Payara Micro, Payara Embedded All, Payara Embedded Web, Payara Docker Image

lprimak commented 3 hours ago

I will see if I can provide a PR for this