IBM Support

PI58097: HTTP Response header with invalid Date string is added to the re sponse on a WebServices request

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • HTTP Response header with an invalid Date string is added
    to the response on a WebServices request.
    
    com/ibm/ws/webcontainer/srt/SRTServletResponse.addHeader(SRT
    Serv
    letResponse.java:2153)
    
    org/apache/cxf/transport/http/Headers.copyToResponse(Headers
    .jav
    a:457(Compiled Code))
    at
    org/apache/cxf/transport/http/AbstractHTTPDestination.flushH
    eade
    rs(AbstractHTTPDestination.java:637)
    at
    org/apache/cxf/transport/http/AbstractHTTPDestination$Wrappe
    dOut
    putStream.close(AbstractHTTPDestination.java:807)
    at
    org/apache/cxf/transport/AbstractConduit.close(AbstractCondu
    it.j
    ava:56)
    at
    org/apache/cxf/transport/http/AbstractHTTPDestination$BackCh
    anne
    lConduit.close(AbstractHTTPDestination.java:742)
    at
    org/apache/cxf/interceptor/MessageSenderInterceptor$MessageS
    ende
    rEndingInterceptor.handleMessage(MessageSenderInterceptor.ja
    va:6
    2)
    at
    org/apache/cxf/phase/PhaseInterceptorChain.doIntercept(Phase
    Inte
    rceptorChain.java:307(Compiled Code))
    
    (enteredlock:org/apache/cxf/phase/PhaseInterceptorChain@0x00
    0000
    00FAE289 A8,
    entrycount: 1)
    at
    org/apache/cxf/interceptor/OutgoingChainInterceptor.handleMe
    ssag
    e(OutgoingChainInterceptor.java:83)
    at
    org/apache/cxf/phase/PhaseInterceptorChain.doIntercept(Phase
    Inte
    rceptorChain.java:307(Compiled Code))
    
    (enteredlock:org/apache/cxf/phase/PhaseInterceptorChain@0x00
    000
    000F9D3E3 08,entrycount: 1)
    at
    org/apache/cxf/transport/ChainInitiationObserver.onMessage(C
    hain
    InitiationObserver.java:124)
    at
    org/apache/cxf/transport/http/AbstractHTTPDestination.invoke
    (Abs
    tractHTTPDestination.java:259)
    at
    com/ibm/ws/jaxrs20/endpoint/AbstractJaxRsWebEndpoint.invoke(
    Abst
    ractJaxRsWebEndpoint.java:134)
    at
    com/ibm/websphere/jaxrs/server/IBMRestServlet.handleRequest(
    IBMR
    estServlet.java:149)
    at
    com/ibm/websphere/jaxrs/server/IBMRestServlet.doPost(IBMRest
    Serv
    let.java:107)
    
    Root cause:
    Multi-threads invoke the same method(getTimeAsString()) of
    CachedTime class at the same time.
    at
    javax/servlet/http/HttpServlet.service(HttpServlet.java:707)
    

Local fix

  • NA
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server Liberty - Web Services (JAX-WS, JAX- *
    *                  RS)                                         *
    ****************************************************************
    * PROBLEM DESCRIPTION: User get an invalid date from response  *
    *                      header                                  *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    This is a synchronize issue, in multi-thread environment the
    date will not correct.
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    PI58097

  • Reported component name

    WAS LIBERTY COR

  • Reported component ID

    5725L2900

  • Reported release

    855

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-02-25

  • Closed date

    2016-06-30

  • Last modified date

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

    WAS LIBERTY COR

  • Fixed component ID

    5725L2900

Applicable component levels

  • R855 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud \u0026 Data Platform"},"Product":{"code":"SSD28V","label":"WebSphere Application Server Liberty Core"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"855","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
15 October 2021