IBM Support

PM84364: INTERNAL IP ADDRESSES REFERENCED WHEN WORKING WITH APP CENTER THROUGH A DATAPOWER APPLIANCE.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When using HTTP, the Worklight Application Center can be
    downloaded to the device.
    Applications can be downloaded from the App Center, but they are
    downloaded from internal IP instead of proxy IP.
    
    When using HTTPS, the App Center cannot be downloaded.  If App
    Center is downloaded by other means, applications can be
    downloaded
    but they are downloaded from the internal IP address, instead of
    the proxy IP address.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Worklight and Mobile Foundation installations making use the *
    * of Application Center, where the Application Center is       *
    * deployed in an application server that can only connect to   *
    * the outside through a secured reverse proxy and where the    *
    * reverse proxy converts the protocol from HTTPS to HTTP.      *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * The URL in the response of the App Center services is        *
    * computed based on the protocol, host name, and port of the   *
    * incoming request.  PM78661 handled the host name and port    *
    * issue, but not the protocol or the URLs in ipa manifest      *
    * files.                                                       *
    * The problem can be detected by inspecting the responses to   *
    * App Center service requests. The responses will contain URLs *
    * with HTTP and the internal host name and port, while they    *
    * should contain URLs with HTTPS and the external host name    *
    * and port.                                                    *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * When all HTTP/HTTPS requests must be directed to a proxy     *
    * (Web Server or an IP Sprayer) in front of the application    *
    * server, the endpoint of this proxy can be defined with 3     *
    * properties after applying the fix for this APAR:             *
    *                                                              *
    * 1) ibm.appcenter.proxy.host. The value must define the       *
    * hostname or the alias of the proxy                           *
    * 2) ibm.appcenter.proxy.port. The value must define the port  *
    * of the proxy. This property is optional.                     *
    * 3) ibm.appcenter.proxy.protocol. The value must define the   *
    * protocol of the proxy (usually https). This property is      *
    * optional.                                                    *
    *                                                              *
    * For example :                                                *
    *                                                              *
    * ibm.appcenter.proxy.host=www.ibm.appcenter                   *
    * ibm.appcenter.proxy.port=81                                  *
    * ibm.appcenter.proxy.protocol=https                           *
    *                                                              *
    * These properties must be added on Tomcat inside of the       *
    * catalina.properties file, on the Liberty Profile inside of   *
    * the bootstrap.properties file, or on Websphere Application   *
    * Server in the custom properties of the JVM, depending upon   *
    * which application server is being used.                      *
    ****************************************************************
    

Problem conclusion

  • The code was modified to allow an additional property to define
    the protocol used in responses from the Application Center.
    
    The fix for this APAR is currently targeted for inclusion in
    fixpack 5.0.6.0.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM84364

  • Reported component name

    WORKLIGHT CONSU

  • Reported component ID

    5725I4301

  • Reported release

    505

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-03-07

  • Closed date

    2013-04-30

  • Last modified date

    2013-04-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

    WORKLIGHT CONSU

  • Fixed component ID

    5725I4301

Applicable component levels

  • R505 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSZH4A","label":"IBM Worklight"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"505","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
30 April 2013