IBM Support

PH00353: JAX-WS WEB SERVICE REQUESTS MAY FAIL WHEN USING AN UNMANAGED CLIENT AND JAVA 8 IF WS-POLICY IS USED.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • If java 8 is used to execute an unmanaged (thin) client that
    uses WS-Policy then JAX-WS web service requests may fail with
    a call stack similar to below:
    
    Caused by: java.lang.NoClassDefFoundError:
    com.ibm.jvm.util.ByteArrayOutputStream
     at
    com.ibm.wspolicy.internal.xml.StringBufferElementWriter.write(St
    ringBufferElementWriter.java:43)
     at
    com.ibm.wspolicy.internal.xml.StringBufferElementWriter.write(St
    ringBufferElementWriter.java:34)
     at
    com.ibm.ws.wspolicy.policyset.WSPolicyProcessorImpl.loadPolicySe
    t(WSPolicyProcessorImpl.java:2382)
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  WebSphere Application Server users of       *
    *                  WS-Policy                                   *
    ****************************************************************
    * PROBLEM DESCRIPTION: java.lang.NoClassDefFoundError:         *
    *                      com.ibm.jvm.util.ByteArrayOutputStream  *
    *                      occurs when using WS-Policy             *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    The com.ibm.wspolicy.internal.xml.StringBufferElementWriter
    mistakenly used the JVM implementation specific class
    com.ibm.jvm.util.ByteArrayOutputStream instead of the standard
    java.io.ByteArrayOutputStream
    

Problem conclusion

  • The com.ibm.wspolicy.internal.xml.StringBufferElementWriter
    class was modified to use the standard
    java.io.ByteArrayOutputStream
    
    The fix for this APAR is currently targeted for inclusion in
    fix packs 8.5.5.15 and 9.0.0.11.  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

    PH00353

  • 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

    2018-07-11

  • Closed date

    2018-10-30

  • Last modified date

    2018-10-30

  • 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

  • R900 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