A fix is available
APAR status
Closed as program error.
Error description
After upgrade to Rational Build Utility v7.5.5.3 a project that was building correctly in Build Utility v7.5.5 now shows EJB validation errors. Code that contains annotated EJBs will fail to compile and output EJB validaton errors when performing a headless build with the Rational Build Utility product. This happens in both v7.5.5.3+ and 8.0.2+ versions.
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: * **************************************************************** * PROBLEM DESCRIPTION: * **************************************************************** * RECOMMENDATION: * **************************************************************** IBM Rational Build Utility does not ship the com.ibm.etools.annotations.ejb plugin, which is necessary for handling annotated EJBs properly. As a result users will experience headless build errors with the Build Utility when their code contains annotated EJB code. For example, [workspaceBuild] [1]. Type=com.ibm.etools.javaee.core.EJBValidatorMarker Line= 0 Resource=\JPADemoEJB3\ejbModule\META-INF\ejb-jar.xml [workspaceBuild] [1].. Message=The value of the ?resource-env-ref-name? element is not specified [workspaceBuild] WorkspaceGetErrors: Exception=WorkspaceGetErrors FAIL-ON-ERROR. errorCount=1 errorMessage[1]=The value of the ?resource-env-ref-name? element is not specified
Problem conclusion
The extra bundle com.ibm.etools.annotations.ejb has been added to the Rational Build Utility. This problem is fixed in both Rational Build Utility versions 7.5.5.4 and 8.0.2.
Temporary fix
Comments
APAR Information
APAR number
PM32252
Reported component name
RATL APP DEV WI
Reported component ID
5724J1901
Reported release
755
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2011-02-09
Closed date
2011-06-30
Last modified date
2011-06-30
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
R755 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.5","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]
Document Information
Modified date:
30 June 2011