A fix is available
APAR status
Closed as program error.
Error description
Using Rational Application Developer V7.5.3 Generating Top Down JAX-WS EJB web service(WS) from WSDL followe d by adding JPA 1.0 Facet to resulting WS EJB project and Genera ting JPA Entities results in error: 'This mapped class is not specified in persistence unit '{WebSer viceProjectName}'' on each entity mapped from the database.
Local fix
Problem summary
The root causes is that the EJB Web services project did not add the ejbModule directory to the class path. If you create a plain EJB project, the ejbModule is the source folder and added to the class path. In this cases you have two source folders, the src and ejbModule folders. Only the src folder is added to the class path. Because the ejbModule is not in the classpath, the JPA tooling can't find the persistence.xml and orm.xml files. This causes the error.
Problem conclusion
Fix delivered in Rational Application Developer V7.5.4
Temporary fix
Comments
APAR Information
APAR number
PK93444
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
2009-08-07
Closed date
2009-09-25
Last modified date
2009-09-25
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:
25 September 2009