WebLogic Server: URL Problem When Configuring Multiple Proxy Servers For One Cluster

(Doc ID 1287134.1)

Last updated on NOVEMBER 05, 2016

Applies to:

Oracle Weblogic Server - Version 9.2 and later
Information in this document applies to any platform.
***Checked for relevance on 31-Oct-2012***

Symptoms

When a WebLogic Server domain with a single cluster needs two separate proxy addresses (for example, when different users need to access the application using different addresses), we are seeing the second proxy server use the first address instead. Follow these steps to reproduce:

  1. Use the configuration wizard to create a domain with a single cluster. For example:
    • hostname1:7001 (Managed Server, proxyA)
    • hostname1:8001 (Managed Server, App1)
    • hostname2:7001 (Managed Server, proxyB)
    • hostname2:8001 (Managed Server, App2)
    NOTE: we can select only one server (proxyA) to be a proxy server at this time.
    The wizard would generate a web application for proxyA in the domain directory, use weblogic.servlet.proxy.HttpClusterServlet, and deploy it on proxyA automatically.
  2. Copy the proxy application to another directory and deploy it on proxyB manually. Now there are two proxy servers configured.
  3. Deploy user's application to App1 and App2.
  4. Access application via proxyA, such as: http://hostname1:7001/sicp3. This works as expected.
  5. Access application via proxyB, such as: http://hostname2:7001/sicp3. You see the URL changed to http://hostname1:7001/sicp3.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms