WebLogic Server: URL Problem When Configuring Multiple Proxy Servers For One Cluster
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***
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:7001 (Managed Server, proxyA)
- hostname1:8001 (Managed Server, App1)
- hostname2:7001 (Managed Server, proxyB)
- hostname2:8001 (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:7001/sicp3. This works as expected.
- Access application via proxyB, such as: http://hostname2:7001/sicp3. You see the URL changed to http://hostname1:7001/sicp3.
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