IBM Support

The process server redirects to an internal port when using a load balancer or proxy server with WebSphere Lombardi Edition or IBM Business Process Manager (BPM)

Troubleshooting


Problem

The port number on which the application server is listening is added to an incoming request. The default port number for WebSphere Lombardi Edition Versions 7.2 and 7.1 is 19086; for IBM Business Process Manager, the default port number is 9443. This addition causes problems for load balancers as it redirects to the load balancer host and adds 19086 or 9443 to the request.

Resolving The Problem

To address this issue, complete the following steps for each server in your cluster from the administrative console:

  1. Click WebSphere Application Servers > server_name.

  2. Click Web Container Settings > Custom Properties.

  3. Add the following properties:
    • Name: trusthostheaderport
      Value: true

    • Name: com.ibm.ws.webcontainer.extractHostHeaderPort
      Value: true

After you complete the previous steps, restart the server or servers.

When you go to http://myserver/portal, it will not redirect you to the following URL: http://myserver:port/portal

For more information on the previous settings, see the Web container custom properties topic in the WebSphere Application Server product documentation.

If you get a virtual host error in the browser after making this change, add port 80 (or whatever port you are requesting) to your twprocsvr_host alias and remove 80 from the default_host alias using the administrative console.

[{"Product":{"code":"SSFPRP","label":"WebSphere Lombardi Edition"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"--","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"7.2;7.1","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}},{"Product":{"code":"SSFTN5","label":"IBM Business Process Manager Advanced"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF016","label":"Linux"},{"code":"","label":"Linux zSeries"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"8.5;8.0.1;8.0;7.5.1;7.5","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}},{"Product":{"code":"SSFTBX","label":"IBM Business Process Manager Express"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"","Platform":[{"code":"PF016","label":"Linux"},{"code":"PF033","label":"Windows"}],"Version":"8.5;8.0.1;8.0;7.5.1;7.5","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}},{"Product":{"code":"SSFTDH","label":"IBM Business Process Manager Standard"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF016","label":"Linux"},{"code":"","label":"Linux zSeries"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"8.5;8.0.1;8.0;7.5.1;7.5","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Product Synonym

BPM

Document Information

Modified date:
15 June 2018

UID

swg21569667