IBM Support

IV82947: HTTP AUTHORIZATION HEADER IS NOT PROPERLY ENCODED IN ZOS

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

APAR status

  • Closed as program error.

Error description

  • Error Message:
    com.sun.xml.internal.ws.client.ClientTransportException: The
    server sent
    HTTP status code 401: Unauthorized
    .
    Stack Trace:
    com.sun.xml.internal.ws.client.ClientTransportException: The
    server sent
    HTTP status code 401: Unauthorized
    
    .at
    
    com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.
    checkSta
    tusCode(HttpTransportPipe.java:308)
    
    .at
    
    com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.
    createRe
    sponsePacket(HttpTransportPipe.java:257)
    
    .at
    
    com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.
    process(
    HttpTransportPipe.java:215)
    
    .at
    
    com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.
    processR
    equest(HttpTransportPipe.java:134)
    
    .at
    
    com.sun.xml.internal.ws.transport.DeferredTransportPipe.processR
    equest(D
    eferredTransportPipe.java:135)
    
    .at
    com.sun.xml.internal.ws.api.pipe.Fiber.__doRun(Fiber.java:638)
    
    .at
    com.sun.xml.internal.ws.api.pipe.Fiber._doRun(Fiber.java:597)
    
    .at com.sun.xml.internal.ws.api.pipe.Fiber.doRun(Fiber.java:582)
    
    .at
    com.sun.xml.internal.ws.api.pipe.Fiber.runSync(Fiber.java:479)
    
    .at com.sun.xml.internal.ws.client.Stub.process(Stub.java:320)
    
    .
    .
    .
    .
    

Local fix

Problem summary

  • The client sends http authorization header encoded in EBCDIC
    format from zOS client.  JAX-WS expects communication to be in
    UTF-8. So it is required to convert this into UTF-8.
    

Problem conclusion

  • JDK has been updated to read bytes in UTF-8 format.
    .
    This APAR will be fixed in the following Java Releases:
       7    SR9 FP50  (7.0.9.50)
       8    SR3 FP10  (8.0.3.10)
       7 R1 SR3 FP50  (7.1.3.50)
    .
    Contact your IBM Product's Service Team for these Service
    Refreshes and Fix Packs.
    For those running stand-alone, information about the available
    Service Refreshes and Fix Packs can be found at:
               https://www.ibm.com/developerworks/java/jdk/
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV82947

  • Reported component name

    JAVA CLASS LIBS

  • Reported component ID

    620700130

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-03-24

  • Closed date

    2016-05-30

  • Last modified date

    2016-05-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

    JAVA CLASS LIBS

  • Fixed component ID

    620700130

Applicable component levels

  • R700 PSY

       UP

  • R800 PSY

       UP



Document information

More support for: Runtimes for Java Technology
Java Class Libraries

Software version: 700

Reference #: IV82947

Modified date: 30 May 2016