EJB3 - ThreadlocalPool.discard() memory leak when exception thrown from bean method in JBoss EAP?

Solution Verified - Updated -


  • We have found a serious problem with JBoss EAP 5.0.1 and EJB3 which seems covered in the JIRA JBPAPP-6624. On each call the EJB container leaks a bit of memory (from the discard method) and after a number of calls the memory has run out and the server needs to be restarted.


  • JBoss Enterprise Application Platform (EAP)
    • 5.1.2

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