IBM Support

PM96268: RENDERING FROM H:OUTPUTLINK USING AJAX IN RESOURCESERVINGPORTLET WILL GENERATE CLASSCASTEXCEPTION

Fixes are available

8.0.0.8: WebSphere Application Server V8.0 Fix Pack 8
8.5.5.2: WebSphere Application Server V8.5.5 Fix Pack 2
8.0.0.9: WebSphere Application Server V8.0 Fix Pack 9
8.5.5.3: WebSphere Application Server V8.5.5 Fix Pack 3
8.5.5.4: WebSphere Application Server V8.5.5 Fix Pack 4
8.0.0.10: WebSphere Application Server V8.0 Fix Pack 10
8.5.5.5: WebSphere Application Server V8.5.5 Fix Pack 5
8.5.5.6: WebSphere Application Server V8.5.5 Fix Pack 6
8.0.0.11: WebSphere Application Server V8.0 Fix Pack 11
8.5.5.7: WebSphere Application Server V8.5.5 Fix Pack 7
8.5.5.8: WebSphere Application Server V8.5.5 Fix Pack 8
8.0.0.12: WebSphere Application Server V8.0 Fix Pack 12
8.5.5.9: WebSphere Application Server V8.5.5 Fix Pack 9
8.5.5.10: WebSphere Application Server V8.5.5 Fix Pack 10
8.5.5.11: WebSphere Application Server V8.5.5 Fix Pack 11
8.0.0.13: WebSphere Application Server V8.0 Fix Pack 13
8.5.5.12: WebSphere Application Server V8.5.5 Fix Pack 12
8.0.0.14: WebSphere Application Server V8.0 Fix Pack 14
8.5.5.13: WebSphere Application Server V8.5.5 Fix Pack 13
8.0.0.15: WebSphere Application Server V8.0 Fix Pack 15
8.5.5.14: WebSphere Application Server V8.5.5 Fix Pack 14
8.5.5.15: WebSphere Application Server V8.5.5 Fix Pack 15
8.5.5.14: WebSphere Application Server V8.5.5 Fix Pack 14
8.5.5.17: WebSphere Application Server V8.5.5 Fix Pack 17
8.5.5.20: WebSphere Application Server V8.5.5.20
8.5.5.18: WebSphere Application Server V8.5.5 Fix Pack 18
8.5.5.19: WebSphere Application Server V8.5.5 Fix Pack 19
8.5.5.16: WebSphere Application Server V8.5.5 Fix Pack 16
8.5.5.21: WebSphere Application Server V8.5.5.21

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Rendering from h:outputLink using Ajax in
    ResourceServingPortlet will generate a ClassCastException.
    
    In normal rendering phase without Ajax everything works fine.
    In the Ajax rendering phase, if there is an  h:outputLink  on
    the page, a ClassCastException occurs as a result of calling
    serveResource
    - RenderRequest is not compatible with ResourceRequest
    The link is otherwise functional.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  Customers using a JavaServer Faces (JSF)    *
    *                  2.0 portlet on WebSphere Portal Server      *
    *                  version 8.0.                                *
    ****************************************************************
    * PROBLEM DESCRIPTION: The JSF 2.0 portlet bridge code needs   *
    *                      to be updated to check what type of     *
    *                      request/response it is.                 *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    Rendering h:outputLink using Ajax in ResourceServingPortlet
    will generate a ClassCastException. This is applicable for
    Ajax use cases only. In the Ajax rendering phase, if there
    is an  h:outputLink on the page, a ClassCastException occurs
    as a result of calling serveResource - RenderRequest is not
    compatible with ResourceRequest.
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    PM96268

  • 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

    2013-09-03

  • Closed date

    2013-10-29

  • Last modified date

    2013-10-29

  • 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

  • R700 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 April 2022