Incorrect Port after Redirecting an HTTPS Request to the Default HTTP Port. (Port 80)

(Doc ID 360073.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Containers for J2EE - Version 10.1.2.0.2 and later
Information in this document applies to any platform.
This problem can occur on any platform.
***Checked for relevance on 25-Feb-2013***
Checked for relevancy on 13-Aug-2014

Symptoms

This problem will only affect those users upgrading from OC4J 9.0.4.x  to OC4J 10.1.2.x where the OC4J instance has been configured to use SSL (ie: HTTPS), or those users configuring OC4J 10.1.2.0.2 to use SSL on the default port (443)


The way to identify that this is the issue being encountered is that any code using the request.getRequestURL() now includes the(wrong) port in the response.   This 'wrong' port will show as being port 80 - instead of the previously configured HTTPS port.

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