OAM 11g: Logout Fails With Java.lang.ClassCastException After Applying Patch (Doc ID 1299318.1)

Last updated on SEPTEMBER 21, 2016

Applies to:

Oracle Access Manager - Version 11.1.1.3.0 to 11.1.1.5.0 [Release 11g]
Information in this document applies to any platform.

Symptoms

Oracle Access Manager (OAM) 11g with 10g WebGate on OHS 11g

Configured /oamsso/logout.html as logout URL in applications.

Everything was working fine on logout until Bundle Patch 2(BP02) was applied.

Logout errors with the following exception:

[2011-02-21T20:25:44.331-05:00] [oam_server1] [TRACE] [] [oracle.oam.binding] [tid: [ACTIVE].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 0000ItAyDBjFw000jzwkno1DOdDk0002Wj,0] [SRC_CLASS: oracle.security.am.pbl.transport.http.AMServlet] [APP: oam_server] [SRC_METHOD: doForward] Doing forward to: /pages/serverlogout.jsp
[2011-02-21T20:25:44.331-05:00] [oam_server1] [ERROR] [OAM-00002] [oracle.oam.binding] [tid: [ACTIVE].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 0000ItAyDBjFw000jzwkno1DOdDk0002Wj,0] [APP: oam_server] Error occurred while handling the request.[[java.lang.ClassCastException: oracle.security.am.pbl.PBLRedirectUrl cannot be cast to java.lang.String
      at jsp_servlet._pages.__serverlogout._jspService(__serverlogout.java:154)
      at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
      at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
      at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
      at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
      at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:183)
      at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:526)

Changes

Applied BP02.

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