IBM Support

IV82947: HTTP AUTHORIZATION HEADER IS NOT PROPERLY ENCODED IN ZOS

Subscribe

You can track all active APARs for this component.

 

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

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSNVBF","label":"Runtimes for Java Technology"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.0","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
22 February 2022