My Oracle Support Banner

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

Last updated on SEPTEMBER 11, 2023

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://<OHS_HOSTNAME>:4443/oamconsole fails

Accessing directly to WebLogic succeeds.

http://<WEBLOGIC_HOSTNAME>:7002/oamconsole works.

Also accessing http://<OHS_HOSTNAME>: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 '<JVM_ID>' 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 '<JVM_ID>!LocalHost!14100!14101'
2016-09-21T14:07:37.8750-04:00 <27713147448125716> parseJVMID: Actually parsing '<JVM_ID>!LocalHost!14100!14101'
2016-09-21T14:07:37.8750-04:00 <27713147448125716> ServerInfo struct for JVMID '<JVM_ID>' 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


Changes

 Upgraded to OHS 11.1.1.9.0

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
Changes
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.