Red Hat Bugzilla – Bug 924548
CMP entity beans do not work when class is not in EJB jar
Last modified: 2016-02-21 19:56:20 EST
When an ejb-jar.xml defines a CMP entity bean, whose <ejb-class> refers to a class that is not located in the EJB jar, it does not work correctly. It will fail when used because the CmpProxy class is only make available in the EJB jar's classloader, but the proxy stub is created in the same classloader as the original bean class.
Assigning jpai@redhat.com EJB issues to david.lloyd@redhat.com. Please re-assign to Cheng or others as needed.
Verified in EAP 6.3.0.ER2.