IBM Support

PM80440: OPENJPA IS UNABLE TO LOAD CUSTOM SEQUENCEGENERATORS IN THE JEE ENVIRONMENT

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • OpenJPA tries to use the ClassLoader responsible for loading
    the OpenJPA classes to load the specified custom
    SequenceGenerator class.  This is not going to work for
    application-custom sequence generators because those live in the
    Application ClassLoader, which is a child of the OSGI
    ClassLoader where the OpenJPA classes live in.
    

Local fix

  • N/A
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server                                      *
    *                  Liberty Profile                             *
    ****************************************************************
    * PROBLEM DESCRIPTION: OpenJPA throws a ClassNotFoundException *
    *                      when attempting to use an application   *
    *                      custom @SequenceGenerator               *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    The problem occurs because OpenJPA attempts to use the same
    ClassLoader to load the custom sequence generator class type
    that WebSphere Application Server uses to load the OpenJPA
    classes. Because this is a higher level ClassLoader then the
    Application ClassLoader, custom application sequence generator
    classes are unavailable.
    

Problem conclusion

  • OpenJPA will now fall back to leveraging the Thread Context
    ClassLoader to load the application customer sequence generator
    classes.
    
    The fix for this APAR is currently targeted for inclusion in fix
    pack 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

    PM80440

  • Reported component name

    LIBERTY PROFILE

  • Reported component ID

    5724J0814

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-01-11

  • Closed date

    2013-03-06

  • Last modified date

    2013-03-06

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

    PM69377

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

Fix information

  • Fixed component name

    LIBERTY PROFILE

  • Fixed component ID

    5724J0814

Applicable component levels

  • 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":"850","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
29 October 2021