IBM Support

PI80256: AccessControlException thrown when finding resources if Java 2 security is enabled.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • If the user has enabled Java 2 security (or if a security
    manager is in use in the Liberty server JVM), many searches
    for resources (i.e. META-INF/services/someInterfaceType )
    may fail with an AccessControlException.  This can manifest
    itself in many ways including seeing a
    ClassNotFoundException for backup implementation classes,
    the AccessControlException, NoClassDefFoundErrors, etc.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server Liberty - JAX-RS                     *
    ****************************************************************
    * PROBLEM DESCRIPTION: AccessControlException thrown when      *
    *                      finding resources if Java 2 security is *
    *                      enabled.                                *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    If the user has enabled Java 2 security (or if a security
    manager is in use in the Liberty server JVM), many searches for
    resources (i.e. META-INF/services/someInterfaceType ) may fail
    with an AccessControlException.  This can manifest itself in
    many ways including seeing a ClassNotFoundException for backup
    implementation classes, the AccessControlException,
    NoClassDefFoundErrors, etc.
    

Problem conclusion

  • The fix for this APAR is to use a different classloading
    mechanism so that calls to getResource does not fail with an
    AccessControlException.
    
    The fix for this APAR is currently targeted for inclusion in fix
    pack 17.0.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

    PI80256

  • Reported component name

    WAS LIBERTY COR

  • Reported component ID

    5725L2900

  • Reported release

    CD0

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2017-04-19

  • Closed date

    2017-05-10

  • Last modified date

    2017-05-10

  • 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 LIBERTY COR

  • Fixed component ID

    5725L2900

Applicable component levels

  • RCD0 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSD28V","label":"WebSphere Application Server Liberty Core"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"CD0","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
14 December 2020