IBM Support

PM66858: SOME JAX-RS CLASSES ARE NOT IN THE ACCESSIBLE LIST WHEN USING RESTRICTED MODE AND CAUSE KB005 ERROR

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • JAX-RS classes which were added in V8 have not been added to
    the exception list of Restricted classes. The following message
    might be displayed:
    
    ND 8.0.0.3: com.ibm.ws.exception.RuntimeWarning: com.ibm.ws.
    webcontainer.exception.WebAppNotLoadedException: Failed
    to load webapp:
    Failed to load webapp: KB005
    

Local fix

  • Setting "Access to internal server classes" to "Allow" will
    resolve the issue
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  IBM WebSphere Application Server users      *
    *                  using JAX-RS services in Restricted Mode.   *
    ****************************************************************
    * PROBLEM DESCRIPTION: Applications which worked in v7 could   *
    *                      fail to start when running in           *
    *                      restricted mode.                        *
    ****************************************************************
    * RECOMMENDATION:  Install a fix that includes this APAR.      *
    ****************************************************************
    When running in restricted mode in V8 or V8.5, the following
    message may be displayed for apps which worked in restricted
    mode in v7:
    ND 8.0.0.3: com.ibm.ws.exception.RuntimeWarning: com.ibm.ws.
    webcontainer.exception.WebAppNotLoadedException: Failed
    to load webapp:
    Failed to load webapp: KB005
    The problem occurred due to the classes that were added in V8.0
    for JAX-RS.  Some of those classes were necessary to run
    applications in Restricted Mode, but were not allowed to do
    so.  When  this occurred, apps would fail to load due to:
    "ProtectionCla 3   attempted to access protected class:
    com.ibm.ws.jaxrs.webcontainer.JAXRSServletContainerInitializer"
    

Problem conclusion

  • The problem was resolved by adding the necessary classes to the
    Restricted Mode exception list.
    
    Note that use of restricted mode in production is not
    recommended.
    
    The fix for this APAR is currently targeted for inclusion in
    fix packs 8.0.0.5 and 8.5.0.1  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

    PM66858

  • Reported component name

    WEBS APP SERV N

  • Reported component ID

    5724H8800

  • Reported release

    800

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-06-15

  • Closed date

    2012-09-28

  • Last modified date

    2012-09-28

  • 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

    WEBS APP SERV N

  • Fixed component ID

    5724H8800

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