Bug 924548 - CMP entity beans do not work when class is not in EJB jar
Summary: CMP entity beans do not work when class is not in EJB jar
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: EJB
Version: 6.0.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ER2
: EAP 6.3.0
Assignee: David M. Lloyd
QA Contact: Jan Martiska
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-03-22 03:17 UTC by James Livingston
Modified: 2018-11-30 19:15 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-06-28 15:38:49 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker AS7-6773 0 Major Resolved org.jboss.as.cmp dependency added only to EJB subdeployments 2015-08-31 01:30:39 UTC

Description James Livingston 2013-03-22 03:17:03 UTC
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 18:27:51 UTC
Assigning jpai EJB issues to david.lloyd. Please re-assign to Cheng or others as needed.

Comment 5 Jan Martiska 2014-04-28 14:15:27 UTC
Verified in EAP 6.3.0.ER2.


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