IBM Support

PM47776: APPLICATION FAILS WITH CLASSCASTEXCEPTION AND CANNOT DISPLAY THE IMAGES.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • java.lang.ClassCastException:
    com.ibm.websphere.servlet.response.DummyResponse incompatible
    with com.ibm.wsspi.webcontainer.servlet.IExtendedResponse
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  IBM WebSphere Application Server version    *
    *                  8.0 users                                   *
    ****************************************************************
    * PROBLEM DESCRIPTION: A java.lang.ClassCastException          *
    *                      might occur when requesting for a       *
    *                      static resource.                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    When an application's filter wraps the servlet response object
    of a request for the static resource, the
    java.lang.ClassCastException might occur.   Below is an
    example of the exception stack:
    Caused by: java.lang.ClassCastException:
    com.ibm.websphere.servlet.response.DummyResponse incompatible
    with com.ibm.wsspi.webcontainer.servlet.IExtendedResponse
    at
    com.ibm.ws.webcontainer.servlet.FileServletWrapper.setResponseHe
    aders(FileServletWrapper.java:737)
    at
    com.ibm.ws.webcontainer.servlet.FileServletWrapper.service(FileS
    ervletWrapper.java:618)
    at
    com.ibm.ws.webcontainer.servlet.FileServletWrapper.handleRequest
    (FileServletWrapper.java:472)
    at
    com.ibm.ws.webcontainer.servlet.StaticFileServletWrapperImpl.han
    dleRequest(StaticFileServletWrapperImpl.java:135)
    at
    com.ibm.ws.webcontainer.extension.DefaultExtensionProcessor.hand
    leRequest(DefaultExtensionProcessor.java:747)
    at
    com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(We
    bAppFilterChain.java:125)
    at
    com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebApp
    FilterChain.java:77)
    at
    com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebA
    ppFilterManager.java:919)
    at
    com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters
    (WebAppFilterManager.java:1016)
     ¢â‚¬ ¦......
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    PM47776

  • 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

    2011-09-13

  • Closed date

    2011-10-27

  • Last modified date

    2011-10-27

  • 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

[{"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