IBM Support

PI13460: PROBLEMS WITH GETREMOTEADDR() IN A LIBERTY PROFILE

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • In Liberty profile, when going through IBM HTTP Server, the
    getRemoteAddr() will return the IP address of the IBM HTTP
    server. Whereas in a full WebSphere Application Server profile,
    getRemoteAddr() will return the IP address of the remote
    client.
    

Local fix

  • N/A
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  IBM WebSphere Application Server Liberty    *
    *                  Profile users who call getRemoteAddr() in   *
    *                  a servlet and are using a web server to     *
    *                  handle requests.                            *
    ****************************************************************
    * PROBLEM DESCRIPTION: getRemoteAddr() returns the IP          *
    *                      address of the web server rather than   *
    *                      the IP address of the remote client     *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    The HTTP transport code in WebSphere Application Server Liberty
    Profile was not using the value of the $WSRA header sent by
    IBM HTTP Server to determine the IP address.
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    PI13460

  • Reported component name

    IBM HTTP SERVER

  • Reported component ID

    5724J0801

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2014-03-11

  • Closed date

    2014-05-01

  • Last modified date

    2014-12-12

  • 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

    LIBERTY PROFILE

  • Fixed component ID

    5724J0814

Applicable component levels

  • R850 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"850","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
12 December 2014