WebLogic Server: URL Problem When Configuring Multiple Proxy Servers For One Cluster
(Doc ID 1287134.1)
Last updated on SEPTEMBER 29, 2020
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***
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:
- Use the configuration wizard to create a domain with a single cluster. For example:
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.
- hostname1:port1 (Managed Server, proxyA)
- hostname1:port2 (Managed Server, App1)
- hostname2:port1 (Managed Server, proxyB)
- hostname2:port2 (Managed Server, App2)
- Copy the proxy application to another directory and deploy it on proxyB manually. Now there are two proxy servers configured.
- Deploy user's application to App1 and App2.
- Access application via proxyA, such as: http://hostname1:port1/app. This works as expected.
- Access application via proxyB, such as: http://hostname2:port1/app. You see the URL changed to http://hostname1:port1/app.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document