IBM Support

PI58005: With a Liberty image consisting of only EE7 features, importing javax.persistence 2.1 with WDT requires an internal attribute.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When importing "javax.persistence;version="2.1.0"", WDT
    shows the following error on import: "Bundle
    'com.ibm.ws.javaee.persistence.2.1' exporting package
    'javax.persistence' is unresolved"
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All IBM WebSphere Application Server        *
    *                  Liberty users, with an EE7 only image, that *
    *                  are importing the javax.persistence 2.1     *
    *                  package in their application                *
    ****************************************************************
    * PROBLEM DESCRIPTION: With a Liberty image consisting of only *
    *                      EE7 features, importing                 *
    *                      javax.persistence 2.1 with WDT requires *
    *                      an internal attribute.                  *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    When importing "javax.persistence;version="2.1.0"", WDT shows
    the following error on import: "Bundle
    'com.ibm.ws.javaee.persistence.2.1' exporting package
    'javax.persistence' is unresolved"
    

Problem conclusion

  • Moved the required attribute to lib bundle for use by the
    persistence service and created a second JPA 2.1 bundle
    "dev/api/spec/com.ibm.ws.javaee.persistence.dev.2.1" for use at
    compile
    
    The fix for this APAR is currently targeted for inclusion in fix
    pack 8.5.5.9.  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

    PI58005

  • Reported component name

    LIBERTY PROFILE

  • Reported component ID

    5724J0814

  • Reported release

    855

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-02-24

  • Closed date

    2016-02-24

  • Last modified date

    2016-02-24

  • 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

    LIBERTY PROFILE

  • Fixed component ID

    5724J0814

Applicable component levels

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

Document Information

Modified date:
01 December 2021