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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.