Issues with Business Space and load balancer

Technote (troubleshooting)


Problem(Abstract)

Customer is unable to access Business space using load balancer.

Symptom

Customer is able to access Business Space directly, but cannot access Business Space using load balancer.


Cause

Load balancer configuration.

Environment

All

Diagnosing the problem

Ensure that you can connect to Business Space directly to eliminate any issues with Business Space. Then check the load balancer configuration, as listed below.

Resolving the problem

There are a couple of custom properties we can set on the AppServer's webcontainer :



com.ibm.ws.webcontainer.extractHostHeaderPort

and

trusthostheaderport

The getServerPort method relies on the getVirtualPort method of the
channel, which returns a port number in the following order:


Port number from the request URL
Port number from the request host header


This order is compliant with HTTP/1.1 RFC but not with the Java™ Servlet
Specification Version 2.4 API, which requires the port number from the
host header to be returned first, if any, or the request URL. The
correct returned URL for the above example is: http://ProxyServer:8888.
The web container was modified to return a port number from the host
header, if any, or the URL port that accepted the client connection.

You must set the trusthostheaderport and the com.ibm.ws.webcontainer.extractHostHeaderPort custom property to true to return the port number from the request host header first. For example, set these properties in the web.xml file using:

trusthostheaderport = true
com.ibm.ws.webcontainer.extractHostHeaderPort = true

Or you can set these properties as web container custom properties in
the administrative console using the following two sets of name-value
pairs:

Name Default value
com.ibm.ws.webcontainer.extractHostHeaderPort false
trusthostheaderport false

In the administrative console click Servers > Server Types > WebSphere
application servers > server_name > Web Container Settings > Web
container .
Under Additional Properties select Custom Properties.
On the Custom Properties page, click New.

Add the properties and set the values to true.

If the problem continues, capture the webcontainer traces and we can review further.

IBM MustGather: Web container and Servlet engine problems in WebSphere
Application Server - United States
http://www.ibm.com/support/docview.wss?uid=swg21384592


Cross reference information
Segment Product Component Platform Version Edition
Business Integration IBM Business Monitor Business Space AIX, Linux, Solaris, Windows 7.5.1, 7.5

Rate this page:

(0 users)Average rating

Document information


More support for:

WebSphere Business Monitor
Business Space

Software version:

7.0, 7.0.0.2, 7.0.0.3, 7.0.0.4, 7.0.0.5

Operating system(s):

AIX, Linux, Solaris, Windows

Reference #:

1625792

Modified date:

2013-02-19

Translate my page

Machine Translation

Content navigation