My Oracle Support Banner

request.getRequestURI() and request.getServerName() does not work as expected through Remote Satellite Server (Doc ID 1502896.1)

Last updated on SEPTEMBER 20, 2019

Applies to:

Oracle WebCenter Sites - Version 7.6.2 and later
Information in this document applies to any platform.

Symptoms

 request.getRequestURI()  and request.getServerName() work fine on co-resident Satellite Server, but not on Remote Satellite Server.

 request.getRequestURI()  and request.getServerName() return the URI and hostname, respectively, of the co-resident Satellite Server, but when called from a Remote Satellite Server, they still return the URI and hostname of the Sites (formerly called FatWire ContentServer) cluster member, instead of the URI and hostname of the Remote Satellite Server.

e.g.
On Co-Resident Satellite Server: http://co-resident:8080/cs/Satellite?pagename=TestRequest:

- request.getRequestURI() returns /cs/Satellite
- request.getServerName() returns: co-resident

On Remote Satellite Server: http://remote-ss:8080/ss/Satellite?pagename=TestRequest:

- request.getRequestURI() returns /cs/Satellite
- request.getServerName() returns: co-resident

Cause

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
Symptoms
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.