JBoss application classloaders leak because of unclosed EJBReceiverContexts and EJBClientContexts

Solution Verified - Updated -

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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content