RestClientExtension manager references causes leak of application classloader in EAP 7

Solution Verified - Updated

Environment

  • JBoss Enterprise Application Platform (EAP) 7.x

Issue

  • We see our application classloader leaked because org.jboss.resteasy.microprofile.client.RestClientExtension retains a reference to it through its static manager field

Resolution

  • Upgrade to EAP 7.4.0+

Root Cause

Components
Category

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.