JBoss application classloaders leak because of unclosed EJBReceiverContexts and EJBClientContexts
Issue
- Classloaders for our application leak across redeploys leading to a PermGen OOME when the application defines a client context in its jboss-ejb-client.xml:
<client-context>
<ejb-receivers>
<remoting-ejb-receiver outbound-connection-ref="remote-ejb-connection" />
</ejb-receivers>
</client-context>
Environment
- JBoss Enterprise Application Platform (EAP) 6.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.