IBM Support

PK54725: RAD 7 INIFINITE AUTO REPUBLISH

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • In RAD v7, an application with SQLj support enabled will cause
    auto republish to be triggered infinitely over and over again.
    
    The main problem stems from Eclipse WTP server tools bug 152146:
    https://bugs.eclipse.org/bugs/show_bug.cgi?id=152146
    
    The problem is happening because ejbdeploy is being run
    every time on a publish due to SQLj support being enabled
     - this is an error as it is not properly handling the
    incremental nature.  Due to the bug mentioned above, if code is
    generated every time (i.e. if incremental deploy is OFF) then
    the infinite publishing will occur.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: All users that are publishing Enterprise     *
    *                 Java Bean (EJB) applications utilizing       *
    *                 SQLj functionality to a WebSphere            *
    *                 Application Server runtime.                  *
    ****************************************************************
    * PROBLEM DESCRIPTION: When publishing an application to a     *
    *                      WebSphere Application Server the        *
    *                      publishing framework gets in an         *
    *                      infinite loop as a result of the EJB    *
    *                      deploy process always generating new    *
    *                      deployment code.                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    As part of the EJB Deploy code generation process to determine
    if an incremental deploy or full deploy should be done, the
    Function Set class is checked to see if it has been modified.
    In the case where SQLj has been enabled the function set class
    does not exist and this causes a FileNotFoundException which
    is then translated into EJB Deploy requiring a full deploy.
    Since EJB Deploy is run as part of publishing and does a full
    deploy every time then due to Eclipse WTP server tools defect
    152146 the the publishing framework gets into an infinite
    publishing loop.
    

Problem conclusion

  • EJB Deploy has been corrected so that it will no longer check
    for the existence of the FunctionSet class when deploying an
    EJB project that has SQLj enabled so that it does not attempt
    a full code generation everytime, but rather it will be
    incremental.  The fix for this APAR is currently targeted for
    inclusion into the Rational Application Developer v7.0.0.6 and
    WebSphere Application Server Toolkit v6.1.1.6 fixpacks.
    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

    PK54725

  • Reported component name

    WEBAPP SERVER A

  • Reported component ID

    5724J0820

  • Reported release

    610

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2007-10-15

  • Closed date

    2007-10-17

  • Last modified date

    2007-10-17

  • 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

    WEBAPP SERVER A

  • Fixed component ID

    5724J0820

Applicable component levels

  • R610 PSY

       UP

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSC7L5H","label":"Application Server Toolkit (AST)"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.1","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
17 October 2007