IBM Support

PI43692: A java.lang.ClassNotFoundException can occur when the session is invalidated and the jsf-2.2 feature is being used.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The following java.lang.ClassNotFoundException can occur
    during session invalidation when using the jsf-2.2 feature:
    
    Exception = java.lang.ClassNotFoundException
    Source = com.ibm.ws.session.SessionLoader.loadObject
    probeid = 82
    Stack Dump = java.lang.ClassNotFoundException:
    org.apache.myfaces.application.viewstate.SerializedViewColle
    ction
    at
    com.ibm.ws.classloading.internal.UnifiedClassLoader.findClas
    s(UnifiedClassLoader.java:118)
    at
    java.lang.ClassLoader.loadClassHelper(ClassLoader.java:797)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:775)
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server Liberty Profile version 8.5.5 -      *
    *                  JavaServer Faces 2.2 (JSF) Apache MyFaces   *
    *                  implementation                              *
    ****************************************************************
    * PROBLEM DESCRIPTION: A java.lang.ClassNotFoundException can  *
    *                      occur when the session is invalidated   *
    *                      and the jsf-2.2 feature is being used.  *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    The following java.lang.ClassNotFoundException can occur during
    session invalidation when using the jsf-2.2 feature:
    
    Exception = java.lang.ClassNotFoundException
    Source = com.ibm.ws.session.SessionLoader.loadObject
    probeid = 82
    Stack Dump = java.lang.ClassNotFoundException:
    org.apache.myfaces.application.viewstate.SerializedViewCollectio
    n
        at
    com.ibm.ws.classloading.internal.UnifiedClassLoader.findClass(Un
    ifiedClassLoader.java:118)
        at
    java.lang.ClassLoader.loadClassHelper(ClassLoader.java:797)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:775)
    

Problem conclusion

  • The jsf-2.2 feature was updated to make the
    org.apache.myfaces.application.viewstate package available on
    the Thread Context Class Loader so that the
    ClassNotfoundException does not occur during session
    invalidation.
    
    The fix for this APAR is currently targeted for inclusion in fix
    pack 8.5.5.7.  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

    PI43692

  • Reported component name

    LIBERTY PROFILE

  • Reported component ID

    5724J0814

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2015-06-24

  • Closed date

    2015-07-13

  • Last modified date

    2015-07-13

  • 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

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

Document Information

Modified date:
28 April 2022