Receiving the Error "Got bad cookie header: In cookie 'OAMAuthnHintCookie=0@1516861534" After Setting the oam.session.keepalive.interval Property in the oam-config.xml File

(Doc ID 2367225.1)

Last updated on MARCH 03, 2018

Applies to:

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

Symptoms

After following KM notes <note:2166749.1> and <note:2351623.1> and setting the property oam.session.keepalive.interval within the oam-config.xml file users are intermitently seeing "OAM Operations Error" messages and the OAM diagnostic log has errors such as the following:

<Jan 25, 2018 1:25:35 AM EST> <Error> <HTTP> <BEA-101100> <[ServletContext@351350173[app:oam_server module:oam path:/oam spec-version:2.5 version:11.1.2.0.0]] Got bad cookie header: In cookie 'OAMAuthnHintCookie=0@1516861534; httponly; path=/; domain=.example.com, OAMRequestContext_nj09mhf5809.example.com:51110_624b70=bKpo5567eTg0e3qhKgN04Q==;max-age=300; httponly; path=/' the value of 'domain' may not contain white-space from User-Agent: null weblogic.servlet.internal.MalformedCookieHeaderException: In cookie 'OAMAuthnHintCookie=0@1516861534; httponly; path=/; domain=.example.com, OAMRequestContext_nj09mhf5809.example.com:51110_624b70=bKpo5567eTg0e3qhKgN04Q==;max-age=300; httponly; path=/' the value of 'domain' may not contain white-space

at weblogic.servlet.internal.CookieParser.getValueString(CookieParser.java:461)
at weblogic.servlet.internal.CookieParser.getAttribute(CookieParser.java:430)
at weblogic.servlet.internal.CookieParser.getAttribute(CookieParser.java:414)
at weblogic.servlet.internal.CookieParser.parseNetscapeCookie(CookieParser.java:134)
at weblogic.servlet.internal.CookieParser.parse(CookieParser.java:128)

Changes

Manually modified the oam-config.xml file to add the oam.session.keepalive.interval property under the section "/DeployedComponent/Server/NGAMServer/Profile/Sme/SessionConfigurations/Expiry".

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