OAM Console URL /oamconsole Throws HTTP 404 Error When OAM Is Configured with OHS (Doc ID 2192116.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Access Manager - Version 11.1.1.9.0 and later
Information in this document applies to any platform.

Symptoms

On : 11.1.1.9.0 version, Apache Web Server

OHS Proxy Request Results in 404 Error

Recent Upgrade to OHS 11.1.1.9.
Application of patch p20580842_111190_Linux-x86-64.

Accessing /oamconsole through a OHS proxy results in 404 error.

http://Machine_name:4443/oamconsole fails

Accessing directly to WebLogic succeeds.

http://Machine_name:7002/oamconsole works.

Also accessing http://Machine_name:4443/oam works.


The entry in mod_wl_ohs.conf is

<Location /oam>
SetHandler weblogic-handler
SecureProxy On
WlSSLWallet "${ORACLE_INSTANCE}/config/${COMPONENT_TYPE}/${COMPONENT_NAME}/keystores/weblogic"
WebLogicHost LocalHost
WebLogicPort 14101
Debug ALL
</Location>


<Location /oamconsole>
SetHandler weblogic-handler
SecureProxy On
WlSSLWallet "${ORACLE_INSTANCE}/config/${COMPONENT_TYPE}/${COMPONENT_NAME}/keystores/weblogic"
WebLogicHost LocalHost
WebLogicPort 7002
Debug ALL
</Location>

ERROR
-----------------------
HTTP-404

ohs logs shows:

2016-09-21T14:07:37.8750-04:00 <27713147448125716> ServerInfo struct for JVMID '-985505958' populated, Server Details are: OrigHostInfo [LocalHost], isOrigHostInfoDNS [1], Host [xx.x.xxx.xx], Port [14100], SecurePort [14101]
2016-09-21T14:07:37.8750-04:00 <27713147448125716> parseJVMID: Parsing JVMID '270223895!LocalHost!14100!14101'
2016-09-21T14:07:37.8750-04:00 <27713147448125716> parseJVMID: Actually parsing '270223895!LocalHost!14100!14101'
2016-09-21T14:07:37.8750-04:00 <27713147448125716> ServerInfo struct for JVMID '270223895' populated, Server Details are: OrigHostInfo [LocalHost], isOrigHostInfoDNS [1], Host [xx.x.xxx.xx], Port [14100], SecurePort [14101]
2016-09-21T14:07:37.8750-04:00 <27713147448125716> Initializing lastIndex=0 for a list of length=2

BUSINESS IMPACT
-----------------------
The issue has the following business impact:
Due to this issue, users cannot access the application securely.

Changes

 Upgraded to OHS 11.1.1.9.0

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