IBM Support

IV26359: COOKIEMANAGER DOES NOT STORE COOKIES IF URL IS READ BEFORE SETTI NG COOKIE MANAGER

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Error Message: N/A
    .
    Stack Trace: N/A
    .
    No cookies stored if cookie Manager is installed after caching
    of HttpClient. Subsequent requests to the same URL resource may
    fail to cache cookies.
    

Local fix

  • Disable the cache for httpClients by setting the System property
    "-Dhttp.keepAlive=false"
    

Problem summary

  • When caching is enabled, the JRE maintains a cache of
    httpClients objects for re-use (for identical URLs). When the
    httpClient  customer  is taken from the cache, no checks are
    made to see if a CookieManager has been installed since first
    constructed.
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    IV26359

  • Reported component name

    JAVA CLASS LIBS

  • Reported component ID

    620700130

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-08-16

  • Closed date

    2012-08-16

  • Last modified date

    2012-08-16

  • 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

[{"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