IBM Support

PI75985: CLASSCASTEXCEPTION PROCESSING JAX-RPC REQUEST CONTAINING WHITESPACE IN WS-COORDINATION CONTEXT

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • The following exception occurred when handling a JAX-RPC
    request containing whitespace in a WS-Coordination context:
    java.lang.ClassCastException:
    com.ibm.ws.webservices.engine.xmlsoap.Text incompatible with
    javax.xml.soap.SOAPElement
    at com.ibm.ws.wscoor.CoordinationContext
    .extractFromSOAPHeader(CoordinationContext.java:221)
    at com.ibm.ws.wscoor.CoordinationContext
    .extractFromSOAPHeader(CoordinationContext.java:154)
    at com.ibm.ws.wsba.WSBAContextExtractor
    .extractContext(WSBAContextExtractor.java:107)
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  WebSphere Application Server users of       *
    *                  WS-AtomicTransaction or                     *
    *                  WS-BusinessActivity over JAX-RPC            *
    ****************************************************************
    * PROBLEM DESCRIPTION: java.lang.ClassCastException is         *
    *                      thrown when processing whitespace in    *
    *                      a WS-Coordination context in a          *
    *                      JAX-RPC request                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    The algorithm that parses the WS-Coordination
    CoordinationContext on an inbound JAX-RPC request assumed that
    the Iterator returned by SOAPElement.getChildElements()
    contained elements that were all of type
    javax.xml.soap.SOAPElement. This is incorrect and caused the
    ClassCastException when whitespace was encountered.
    

Problem conclusion

  • The algorithm was modified to tolerate whitespace when parsing
    the WS-Coordination context.
    
    The fix for this APAR is currently targeted for inclusion in
    fix packs 7.0.0.43, 8.0.0.14, 8.5.5.12 and 9.0.0.4.  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

    PI75985

  • Reported component name

    WEBS APP SERV N

  • Reported component ID

    5724H8800

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2017-02-03

  • Closed date

    2017-03-03

  • Last modified date

    2017-03-03

  • 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

  • R700 PSY

       UP

  • R800 PSY

       UP

  • R850 PSY

       UP

  • R900 PSY

       UP



Document information

More support for: WebSphere Application Server
General

Software version: 7.0

Reference #: PI75985

Modified date: 03 March 2017