IBM Support

PM75886: OPENJPA CLASS COLLISION WITH PREVIOUS APP LIFECYCLE

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • After application restart it is possible for Classes from the
    application's previous lifecycle to be inapproprately processed
    should something prevent the stopped application classloader
    from being garbage collected.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server V8.0 and V8.5                        *
    ****************************************************************
    * PROBLEM DESCRIPTION: OpenJPA's metadata repository must not  *
    *                      process classes from other              *
    *                      applications.                           *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    By design, OpenJPA's PCRegistry maintains a static list of
    persistent capable types where entries are registered when
    such a type is first loaded, and removed when the type is
    unloaded. This list, and updates to the list, are dispatched
    to the metadata repository of active EntityManager instances.
    A problem was encountered with the logic involved in the first-
    pass processing of the registered classes that resulted in an
    unexpected Exception that caused JPA operations to fail.
    

Problem conclusion

  • The first-pass processing now first validates that each type
    contained in the dispatch message belong to the application
    before undergoing any further processing.  This removes any
    risk of error involved with the metadata repository
    inappropriately instantiating a class belonging to another
    application.
    
    This updated processing behavior must be enabled by
    configuring a Compatibility option in the persistence unit,
    for example:
    
    <property name="openjpa.Compatibility"
              value="FilterPCRegistryClasses=true"/>
    
    The fix for this APAR is currently targeted for inclusion in
    fix packs 8.0.0.6 and 8.5.0.2.  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

    PM75886

  • Reported component name

    WEBSPHERE APP S

  • Reported component ID

    5724J0800

  • Reported release

    800

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-10-25

  • Closed date

    2013-01-10

  • Last modified date

    2013-01-10

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

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

    PM80437

Fix information

  • Fixed component name

    WEBSPHERE APP S

  • Fixed component ID

    5724J0800

Applicable component levels

  • R800 PSY

       UP

  • R850 PSY

       UP

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

Document Information

Modified date:
29 October 2021