IBM Support

JR25368: RAD7: FOR EJB PROJECT, USING EXTERNAL EJB DEPLOYMENT SOURCE FOLDER THROWS EXCEPTIONS WHEN BUILDING (PREPARE FOR DEPLOYMENT)

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • In RAD7.0.0, EJB fails to deploy with external src folders
    (because ".settings\.webspheredeploy" cannot be updated by RAD7,
    then when executing "prepare for deployment",
    NullPointerExeception at
    "com.ibm.etools.ejbdeploy.properties.ResourceProperties.getGene
    rationOutputFolder" will be thrown). The workaround is that:
    ".settings\.webspheredeploy" has to be modified
    manually to reflect the current EJB deployment source folder.
    
    Tried to send PMR to AST L3 team & was suggested to create an
    APAR for this defect.
    

Local fix

  • Deploy is failing because RAD7 reads from the
    component-result-ejb/.settings/.webspheredeploy file that the
    deploy folder is 'src', but 'src' is not a source folder for
    this EJB project-this causes the problem.  The
    work-around is  manually modifying the
    component-result-ejb/.settings/.webspheredeploy file and
    changing the   <generationFolder name="src"/> entry to
    <generationFolder name="source"/> - this should correct the
    problem and able to deploy EJBs.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: All users of EJB Deploy in Rational          *
    *                 Application Developer version 7.0 and        *
    *                 WebSphere Application Server Toolkit         *
    *                 version 6.1                                  *
    ****************************************************************
    * PROBLEM DESCRIPTION: If an EJB project has been configured   *
    *                      to use a source folder that is a        *
    *                      linked resource then EJB Deploy may     *
    *                      fail to locate this directory           *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    If an EJB project has been configured to use a source folder
    that is a linked to a directory in a non-source folder than
    EJB Deploy may fail to locate this directory properly.  The
    result is some EJB deploy code will go to the non-source
    folder parent directory followed by deploy failing with a
    NullPointerException.
    

Problem conclusion

  • Deploy will now properly check that the folder it is
    generating code to is a source folder.  If it determines that
    it is not a source folder than it will automatically pick the
    first one available to store the generated code.  The fix for
    this APAR is currently targeted for inclusion in Rational
    Application Developer v7.0.0.2 and WebSphere Application
    Server Toolkit v6.1.1 fixpack 2.  Please refer to the
    Recommended Updates page for WebSphere Application Server
    Toolkit delivery information:
    http://www.ibm.com/support/docview.wss?uid=swg27004980
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR25368

  • Reported component name

    APP SER TOOLKIT

  • Reported component ID

    5724D1420

  • Reported release

    610

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2007-01-10

  • Closed date

    2007-01-16

  • Last modified date

    2007-01-16

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Modules/Macros

  • AST
    

Fix information

  • Fixed component name

    WEBAPP SERVER A

  • Fixed component ID

    5724J0820

Applicable component levels

  • R610 PSY

       UP

[{"Line of Business":{"code":"LOB45","label":"Automation"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.1"}]

Document Information

Modified date:
06 October 2021