IBM Support

IC43191: XDE: WHEN DEPLOYING TO WEBLOGIC THERE IS AN ERROR MESSAGE: THE PERSISTENCE LAYER OF THE ENTITY EJB FAILED TO DEPLOY

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Below are the steps to reproduce this defect:
    
    1.Create a new EJB Model.
    2.Copy the com package from Object Model to EJB Model, so XDE
    can preserve the package structure.
    3.In the EJB Model, select all the classes.
    4.Use the Convert To menu to convert selected classes to CMP 2.0
    Entity Bean.
    5.You can select the generated EJB Beans
    6.You can select all the relationships and set them to
    Stereotype EBJRelationship.
    7.We deleted the relationships, and re-generated EJB CMR
    relationships using Java Toolbox/Connector Assistant.
    8.Save the EJB Model and generate Java Code.
    
    Steps to deploy to weblogic:
    
    1.When you create the EJB Model, the Wizard walked you through
    the setup steps.  At end, an icon (with a gear on a box) is set
    under the EAR Deployment Model.
    2.Use that icon, right-click to popup the More Java
    Actions->Deploy J2EE Application.
    
    You'll see the error message in the Output:
    
    [ J2EE : 2004-08-20  15:12:58 ]  [Error Stream] ERROR: Error
    from ejbc: [EJB:011019]While reading
    META-INF/weblogic-cmp-rdbms-jar.xml,
    the persistence layer of the Entity EJB failed to deploy. The
    error was:
    [ J2EE : 2004-08-20  15:12:58 ]  [Error Stream] Error in
    descriptor line 66: Error parsing file at line: 66 column: 31.
    The content of element type "weblogic-rdbms-relation" is
    incomplete, it must match
    "(relation-name,table-name?,weblogic-relationship-role,weblogic-
    relationship-role?)"..
    

Local fix

  • None Available
    

Problem summary

  • The XDE J2EE addin failed while writing the
    <weblogic-rdbms-relation> section of the deployment descriptor.
    The WebLogic Compiler failed, because there was an incomplete
    <weblogic-rdbms-relation> section in the deployment descriptor.
    

Problem conclusion

  • Fixed in XDE SR5 (2003.06.15).
    Fixed the XDE J2EE addin, so that it writes the
    <weblogic-rdbms-relation> section of the deployment descriptor
    successfully, allowing the WebLogic Compiler and Deployer to run
    successfully.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC43191

  • Reported component name

    RATL XDE JAVA V

  • Reported component ID

    5724F6500

  • Reported release

    ALL

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2004-10-20

  • Closed date

    2005-09-02

  • Last modified date

    2005-09-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 XDE JAVA V

  • Fixed component ID

    5724F6500

Applicable component levels

  • RALL PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSSJ2Z","label":"Rational XDE Java"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"ALL","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
02 September 2005