IBM Support

PM63243: CLASSNOTFOUNDEXCEPTION WHEN USING JSF SUNRI

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • A ClassNotFoundException occours on WebSphere Application
    Server Version 8 when a JavaServer Faces (JSF) context
    parameter is set because the JSF code does a reflection
    call to a WebContainer class if a context parameter is set.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  IBM WebSphere Application Server Version    *
    *                  8.0 and 8.5 users of the SunRI JSF 1.2      *
    *                  implementation.                             *
    ****************************************************************
    * PROBLEM DESCRIPTION: A ClassNotFoundException occurs when    *
    *                      using the SunRI JSF implementation      *
    *                      and a context parameter is set.         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    If WebSphere Application Server is configured to use the SunRI
    JSF 1.2 implementation and the following context parameter is
    set to true in the application's web.xml file:
    com.ibm.ws.jsf.disableCommitDuringBuildView
    The following exception will occur:
    servlet E com.ibm.ws.webcontainer.servlet.ServletWrapper
    service SRVE0014E: Uncaught service() exception root cause
    /test.jsp: com.ibm.websphere.servlet.error.ServletErrorReport:
    java.lang.NoClassDefFoundError:
    com/ibm/ws/webcontainer/srt/SRTServletResponse
    at
    org.apache.jasper.runtime.PageContextImpl.handlePageException(Pa
    geContextImpl.java:695)
    at com.ibm._jsp._test._jspService(_test.java:100)
    ...
    Caused by: java.lang.NoClassDefFoundError:
    com/ibm/ws/webcontainer/srt/SRTServletResponse
    at
    com.sun.faces.application.ViewHandlerResponseWrapper.flushConten
    tToWrappedResponse(ViewHandlerResponseWrapper.
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    PM63243

  • Reported component name

    WEBSPHERE APP S

  • Reported component ID

    5724J0800

  • Reported release

    800

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-04-25

  • Closed date

    2012-07-09

  • Last modified date

    2012-07-09

  • 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

  • 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