Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 924548 - CMP entity beans do not work when class is not in EJB jar
CMP entity beans do not work when class is not in EJB jar
Status: CLOSED CURRENTRELEASE
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: EJB (Show other bugs)
6.0.1
Unspecified Unspecified
unspecified Severity unspecified
: ER2
: EAP 6.3.0
Assigned To: David M. Lloyd
Jan Martiska
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2013-03-21 23:17 EDT by James Livingston
Modified: 2016-02-21 19:56 EST (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2014-06-28 11:38:49 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
JBoss Issue Tracker AS7-6773 Major Resolved org.jboss.as.cmp dependency added only to EJB subdeployments 2015-08-30 21:30:39 EDT

  None (edit)
Description James Livingston 2013-03-21 23:17:03 EDT
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.
Comment 3 Dimitris Andreadis 2013-10-24 14:27:51 EDT
Assigning jpai@redhat.com EJB issues to david.lloyd@redhat.com. Please re-assign to Cheng or others as needed.
Comment 5 Jan Martiska 2014-04-28 10:15:27 EDT
Verified in EAP 6.3.0.ER2.

Note You need to log in before you can comment on or make changes to this bug.