Websphere v8.0.0.6 WASX7017E, ADMA0209E Application exception while Deployment of EJB 2.0 EAR -


i have following problem websphere 8.0.0.6 , no solution found on web. hope can , else problem.

error description:

error #1 (while installing application):

wasx7017e: exception received while running file /tmp/wsant3816346180883063201jacl; exception information:com.ibm.websphere.management.application.client.appdeploymentexception: com.ibm.websphere.management.application.client.appdeploymentexception 

following error:

adma0209e: enterprise javabeans (ejb) module serverejb.jar contains following  container-managed persistence (cmp) or bean-managed persistence (bmp) :  ... (list of entities) 

explanation:

i generate ear ejb 2.0 component/project. have deployed ear within 6.1 successfully, 8 doesn't deploy anymore.

i have necessary bind-ejbjar.xmi, in new format - converted script ibm.

questions:

was 8 still seems know there exists ejb 3 component in ear - question why?

what minimum requirement ear/ejb-module deploy in 8 - there must big changes?

are there more bind-files included?

thanks help

update: there prerequisites declare package ejb2.x. see ibm-helpcenter:

ibm websphere info developers de

but fullfill of 2 prerequisites.

how have package jar websphere 8 make acceptable ejb2.x?

http://pic.dhe.ibm.com/infocenter/wasinfo/v8r5/index.jsp?topic=%2fcom.ibm.websphere.zseries.doc%2fae%2frejb_consid.html&lang%3dde

the solution achieved upgrading version 2.1 ejb, because there "version" attribute allowed , required websphere recognize non-ejb 3.0 version.

this means ejb 2.0 version can not work, since above tag not allowed in ejb-jar_2_0.dtd. maybe <cmp-version>2.x</cmp-version> here, didn't tested it.

the conversion of header of ejbjar.xml brought success:

from 2.0 (ejb-jar_2_0.dtd):

<?xml version="1.0" encoding="utf-8"?> <!doctype ejb-jar public "-//sun microsystems, inc.//dtd enterprise javabeans 2.0//en"      "http://java.sun.com/dtd/ejb-jar_2_0.dtd">     <!-- ejb-jar file declaration --> <ejb-jar id="ejbjar" version="2.0">     <display-name>overall bean definition</display-name>     <enterprise-beans>     <entity id="dcnotetext">     ... 

to 2.1 (ejb-jar_2_1.xsd - need namespaces! ):

<?xml version="1.0" encoding="utf-8"?> <ejb-jar id="ejbjar"   xmlns="http://java.sun.com/xml/ns/j2ee"    xmlns:xsi="http://www.w3.org/2001/xmlschema-instance"      version="2.1"       xsi:schemalocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/ejb-jar_2_1.xsd">     <!-- ejb-jar file declaration -->     <display-name>overall bean definition</display-name>     <enterprise-beans>     <entity id="dcnotetext">      ... 

no further changes xmi or xml files necessary!

thanks help!


Comments