IBM Support

PM61787: LOADING SLF4J CLASSES USING -WSADMIN_CLASSPATH PARAMETER IS NOT WORKING IN V8 WITH WSADMIN.SH/BAT TOOL.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Loading SLF4J classes (http://slf4j.org/) by adding the
    respective JARs to the wsadmin classpath works in WebSphere
    Application Server V6.1 and V7 but fails in WebSphere
    Application Server V8.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server V8                                   *
    ****************************************************************
    * PROBLEM DESCRIPTION: Attempts to load SLF4J classes          *
    *                      packaged in a resource provider or      *
    *                      added to the wsadmin classpath fails.   *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    WebSphere Application Server V8.0 introduced the concept of
    "always protected" packages as a means of preventing
    application code from accessing packages that were intended to
    be internal to WebSphere Application Server (specifically
    SLF4J), with the filtering done by WebSphere Application
    Server's extension class loader.  However, since there are
    acceptable use cases for packaging user-provided classes in
    this class loader, this filtering prevented users from
    utilizing their own versions of these libraries as well.
    

Problem conclusion

  • The package protection mechanism was changed to allow
    protected packages to be loaded from the Extension Class Loader.
    
    The fix for this APAR is currently targeted for inclusion in
    fix packs 8.0.0.4 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

    PM61787

  • 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-04-03

  • Closed date

    2012-05-17

  • Last modified date

    2012-05-17

  • 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:
28 October 2021