A fix is available
APAR status
Closed as program error.
Error description
Using Rational Application Developer V7.5 iFix001 Annotation EMF model is missing support for 'Resources' and 'EJB s' Step to reproduce: 1. Create an EJB project ResourceEJB 2. Create a EJB 3.0 Stateless Session Bean com.ibm.rational.EJB3 SLSB from the deployment descriptor 3. Open context-menu on ResourceEJB, select Java EE ? Generate W ebSphere Bindings Deployment Descriptor 4. Click Add..., select Session, browse for com.ibm.rational.EJB 3SLSB. 5. Select Session EJB3SLSB, select Add..., choose Resource Refer ence and enter jdbc/DB1 in attribute Name and Binding Name 6. Add the following annotations to the class com.ibm.rational.E JB3SLSB before public class definition @Resources({@Resource(name='jdbc/DB1',type=javax.sql.DataSource. class),@ Resource(name='jdbc/DB2',type=javax.sql.DataSource.class)}) Result: Error message in ibm-ejb-jar-bnd.xml: Resource reference with name 'jdbc/DB1' not found for this EJB o r interceptor
Local fix
Problem summary
There is a missing part in Annotation EMF model to handle complex annotations, "EJBs" and "Resources" contain sub-annotations in their attributes, current code didn't dig into that level.
Problem conclusion
The code is added to handle the children for these 2 annotations. Delivered in Rational Application Developer V7.5.2
Temporary fix
Comments
APAR Information
APAR number
PK76959
Reported component name
RATL APP DEV WI
Reported component ID
5724J1901
Reported release
750
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2008-12-04
Closed date
2009-04-02
Last modified date
2009-04-02
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
RATL APP DEV WI
Fixed component ID
5724J1901
Applicable component levels
R750 PSN
UP
[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSRTLW","label":"Rational Application Developer for WebSphere Software"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.5","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]
Document Information
Modified date:
02 April 2009