IBM Support

PI47095: A java.lang.ClassNotFoundException can occur during deserializat ion of the HTTP session

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 deserialization of a HTTP session when using the
    jsf-2.2 feature:
    
    com.ibm.ws.session.WASSession E SESN0051E: An attempt to
    deserialize a session object from the backend has resulted
    in a ClassNotFoundException.
    ...
    Exception is:
    java.lang.ClassNotFoundException:
    org.apache.myfaces.view.facelets.tag.jstl.core.IterationStat
    e
    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)
    at
    com.ibm.ws.classloading.internal.UnifiedClassLoader.loadClas
    s0(UnifiedClassLoader.java:106)
    at
    com.ibm.ws.classloading.internal.UnifiedClassLoader$Delegati
    on.loadClass(UnifiedClassLoader.java:77)
    at
    com.ibm.ws.classloading.internal.UnifiedClassLoader.loadClas
    s(UnifiedClassLoader.java:101)
    at
    com.ibm.ws.classloading.internal.ThreadContextClassLoader.lo
    adClass(ThreadContextClassLoader.java:110)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:752)
    at
    com.ibm.ws.serialization.DeserializationObjectInputStream.lo
    adClass(DeserializationObjectInputStream.java:57)
            ...
    

Local fix

  • N/A
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  IBM WebSphere Application Server Liberty    *
    *                  Profile version 8.5.5 users of JavaServer   *
    *                  Faces (JSF) Apache MyFaces 2.2              *
    ****************************************************************
    * PROBLEM DESCRIPTION: A java.lang.ClassNotFoundException can  *
    *                      occur during deserialization of an HTTP *
    *                      session.                                *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    The following packages are not available on the class loader
    during deserialization of an HTTP session when using the jsf-2.2
    feature:
        - org.apache.myfaces.view.facelets
        - org.apache.myfaces.cdi.view
        - org.apache.myfaces.cdi.util
    
    An example of an exception that can occur is:
    java.lang.ClassNotFoundException:
    org.apache.myfaces.view.facelets.tag.jstl.core.IterationState
        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)
        at
    com.ibm.ws.classloading.internal.UnifiedClassLoader.loadClass0(U
    nifiedClassLoader.java:106)
        at
    com.ibm.ws.classloading.internal.UnifiedClassLoader$Delegation.l
    oadClass(UnifiedClassLoader.java:77)
        at
    com.ibm.ws.classloading.internal.UnifiedClassLoader.loadClass(Un
    ifiedClassLoader.java:101)
        at
    com.ibm.ws.classloading.internal.ThreadContextClassLoader.loadCl
    ass(ThreadContextClassLoader.java:110)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:752)
        at
    com.ibm.ws.serialization.DeserializationObjectInputStream.loadCl
    ass(DeserializationObjectInputStream.java:57)
        ...
    

Problem conclusion

  • The JSF MyFaces 2.2 feature was updated to make the missing
    packages available on the thread context class loader so that a
    java.lang.ClassNotFoundException does not occur during
    deserialization of the session.
    
    The fix for this APAR is currently targeted for inclusion in fix
    pack 8.5.5.8. 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

    PI47095

  • Reported component name

    WEBSPHERE APP S

  • Reported component ID

    5724J0800

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2015-08-18

  • Closed date

    2015-09-24

  • Last modified date

    2015-09-24

  • 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

    WEBSPHERE APP S

  • Fixed component ID

    5724J0800

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

Document Information

Modified date:
28 April 2022