IBM Support

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

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: 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



Document information

More support for: Runtimes for Java Technology
Java Class Libraries

Software version: 700

Reference #: IV26359

Modified date: 16 August 2012