IBM Support

PH56063: OSGi applications compiled to Java 17 may fail to start.

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • OSGi applications compiled to Java 17 may fail to
    start with application startup exceptions. For example:
    
    Caused by: java.lang.UnsupportedOperationException: NestMember
    requires ASM7
    at org.objectweb.asm.ClassVisitor.visitNestMember(ClassVisitor
    .java:265)
    at org.objectweb.asm.ClassVisitor.visitNestMember(ClassVisitor
    .java:268)
    at org.objectweb.asm.ClassReader.accept(ClassReader.java:696)
    at org.objectweb.asm.ClassReader.accept(ClassReader.java:424)
    at org.apache.aries.proxy.impl.weaving.WovenProxyGenerator.get
    WovenProxy(WovenProxyGenerator.java:54)
    at org.apache.aries.proxy.impl.weaving.ProxyWeavingHook.weave(
    ProxyWeavingHook.java:109)
    ... 41 more
    

Local fix

  • continue to use 1.8 SDK if possible
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  Users of WebSphere Liberty deploying OSGi   *
    *                  applications compiled to the java 17 class  *
    *                  version.                                    *
    ****************************************************************
    * PROBLEM DESCRIPTION: The OSGi application will fail to       *
    *                      start.                                  *
    *                      An exception related to ASM and the     *
    *                      org.apache.aries.proxy will be seen.    *
    ****************************************************************
    * RECOMMENDATION:  Install an interim fix or fix pack that     *
    *                  includes this APAR.                         *
    ****************************************************************
    The version of the org.apache.aries.proxy component did not work
    with code compiled to java 17. As a result exceptions were seen
    at application start referencing org.apache.aries.proxy,
    org.objectweb.asm, and an incorrect ASM code.
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    PH56063

  • Reported component name

    LIBERTY PROFILE

  • Reported component ID

    5724J0814

  • Reported release

    CD0

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2023-07-27

  • Closed date

    2023-08-09

  • Last modified date

    2023-08-09

  • 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

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

Document Information

Modified date:
24 August 2023