IBM Support

PM74554: REDUCE STARTUP TIME FOR APPLICATIONS WITH EJB MODULES THAT USE A NNOTATIONS.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • EJB modules that use annotations do not cache annotations data
    for the EJB descriptor.  Repeat scanning for annotations slows
    application startup.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server V7.0 with EJB modules that use       *
    *                  annotations.                                *
    ****************************************************************
    * PROBLEM DESCRIPTION: Annotations data for EJB modules which  *
    *                      use annotations is not cached.          *
    *                      Recomputing this data slows             *
    *                      application startup.                    *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    Annotations data for EJB modules is recomputed every time the
    application is visited.  Recomputing this data requires a scan
    of the classes of the EJB modules and includes an extensive
    process to merge the annotations data with data from the EJB
    module deployment descriptors. Caching the EJB annotations
    data avoids the extensive scan and merge processing.
    

Problem conclusion

  • Code updates were made to cause annotations data for EJB
    modules to be written to the file "ejb-jar_merged.xml", which
    is saved when the application is deployed to the application
    server.  Subsequent reads of the application data read the
    cached data instead of recomputing this data.  A read of the
    application data occurs during application startup.
    
    For an application which contains a majority of content as EJB
    modules which are enabled to use annotations, the use of the
    cached data can result in an up to 40% reduction in
    application startup time.
    
    The updates for this APAR are a backport of changes introduced
    to the IBM WebSphere Application Server v8.0.  The updates are
    not applicable for the IBM WebSphere Application Server v6.1.
    
    Enablement of the updates require setting a java custom
    property.  To enable this update, set the custom
    property "org.eclipse.jst.j2ee.commonarchivecore.enable.ejb.desc
    riptor.cache" to "true".
    
    When enabled, this update changes the file
    "META-INF/ejb-jar_merged.xml", which is written during
    application deployments, from being only for debugging
    purposes to being an active file.  With this update enabled,
    "META-INF/ejb-jar_merged.xml" must be retained to keep the
    performance improvement, and should not be edited.
    
    The fix for this APAR is currently targeted for inclusion in
    fix pack 7.0.0.27.  Please refer to the Recommended Updates
    page for delivery information:
    http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM74554

  • Reported component name

    WAS EXPRESS

  • Reported component ID

    5724I6300

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-10-08

  • Closed date

    2013-01-02

  • Last modified date

    2013-01-03

  • 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

    WAS EXPRESS

  • Fixed component ID

    5724I6300

Applicable component levels

  • R700 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SS7JFU","label":"WebSphere Application Server - Express"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.0","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
29 October 2021