Bug 159149 - [WSphere] Websphere 6.1 entity bean deployment
[WSphere] Websphere 6.1 entity bean deployment
Status: NEW
Product: serverplugins
Classification: Unclassified
Component: WebSphere
PC Windows XP
: P4 (vote)
: 6.x
Assigned To: Petr Hejl
Depends on:
  Show dependency treegraph
Reported: 2009-02-25 14:37 UTC by naso
Modified: 2010-08-10 11:55 UTC (History)
0 users

See Also:
Issue Type: DEFECT

EJBModule project (56.51 KB, application/octet-stream)
2009-02-25 14:40 UTC, naso
DDL SQL Script (1.11 KB, application/octet-stream)
2009-02-25 14:43 UTC, naso

Note You need to log in before you can comment on or make changes to this bug.
Description naso 2009-02-25 14:37:30 UTC
Error when trying do deploy an EJBModule containing Entity beans on a Wesphere 6.1 application server.

Error text is:
ADMA0014E: Validation failed. ADMA0004E: A Validation error occurred in task Specifying the default data source for EJB
1.x modules. The Java Naming and Directory Interface (JNDI) name is not specified for module EJBModule1 with URI
EJBModule1.jar,META-INF/ejb-jar.xml. The data source must be specified for each container-managed persistence (CMP) bean
that belongs to this module.
Comment 1 naso 2009-02-25 14:40:13 UTC
Created attachment 77360 [details]
EJBModule project
Comment 2 naso 2009-02-25 14:43:39 UTC
Created attachment 77361 [details]
DDL SQL Script
Comment 3 naso 2009-02-27 10:59:11 UTC
I found out what the problem was. The generated ejb-jar.xml does not specify cmp version. Websphere defaults to 1.x.
Each entity bean in the ejb-jar.xml must be marked with

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo