1 Reply Latest reply: May 23, 2013 3:52 PM by 1010717 RSS

    Console timeout redirect is missing host name

    1010717
      I have configured EM 12c to work with F5 BIG-IP LTM 11.2.0 as a server load balancer (SLB). During ordinary usage this is working well. That is, I can visit:

      https://em.foo.com/em/

      where 'em.foo.com' is a DNS name associated with the F5 virtual server's IP, and from then to the end of my EM 12c session all URLs reference em.foo.com as opposed to the underlying OMS server's DNS name (e.g., oms1.foo.com). So far so good!

      The problem occurs when I let my EM session time out. When this happens, the Web browser window is mostly grayed out with a message box in the middle:

      Page Expired - Enterprise Summary - O...

      The page has expired. Click OK to
      continue.

      When I click OK, the Web browser reports:

      Server not found
      Firefox can't find the server at em.

      The problem is that URL in the location bar is missing the SLB host name:

      https://em/faces/core-uifwk-console-overview

      instead of the correct URL:

      https://em.foo.com/em/faces/core-uifwk-console-overview

      OMS is configured with the correct SLB information:

      $ emctl status oms -details
      Oracle Enterprise Manager Cloud Control 12c Release 2
      Copyright (c) 1996, 2012 Oracle Corporation. All rights reserved.
      Enter Enterprise Manager Root (SYSMAN) Password :
      Console Server Host : oms1.foo.com
      HTTP Console Port : 7788
      HTTPS Console Port : 7802
      HTTP Upload Port : 4889
      HTTPS Upload Port : 4903
      EM Instance Home : /u01/app/oracle/Middleware/gc_inst/em/EMGC_OMS1
      OMS Log Directory Location : /u01/app/oracle/Middleware/gc_inst/em/EMGC_OMS1/sysman/log
      SLB or virtual hostname: em.foo.com
      HTTPS SLB Upload Port : 4903
      HTTPS SLB Console Port : 443
      Agent Upload is locked.
      OMS Console is locked.
      Active CA ID: 2
      Console URL: https://em.foo.com:443/em
      Upload URL: https://em.foo.com:4903/empbs/upload

      WLS Domain Information
      Domain Name : GCDomain
      Admin Server Host: om1.foo.com

      Managed Server Information
      Managed Server Instance Name: EMGC_OMS1
      Managed Server Instance Host: om1.foo.com
      WebTier is Up
      Oracle Management Server is Up

      If the user visits 'https://em.foo.com/em' by typing in the URL or opening a browser bookmark, the EM 12c login page appears.

      Any suggestions on how I might troubleshoot and/or correct this?

      Thanks,
      Dave
        • 1. Re: Console timeout redirect is missing host name
          1010717
          After much searching in the Oracle Knowlege Base, I turned up document 1478495.1:

          -- start quote --

          Applies to:
          Enterprise Manager Base Platform - Version 12.1.0.1.0 to 12.1.0.2.0 [Release 12.1]
          Information in this document applies to any platform.

          Symptoms

          After logging in to the OEM Console page, if the session times out and if the user clicks on OK, the URL changes to:

          https://em/faces/core-uifwk-console-overview instead of going back to the login screen.

          Cause

          This is a bug.

          BUG 14294655 - OEM 12C CONSOLE USERS DIRECTED TO WRONG PAGE FOLLOWING SESSION TIMEOUT
          BUG 13146912 - SESSION TIMEOUT -- AUTO LOGOUT STRIPS BIGIP NAME FROM URL
          BUG 14033097 - USERS DIRECTED TO WRONG PAGE FOLLOWING SESSION TIMEOUT - HOSTNAME = CONTEXT ROOT

          The issue occurs if the SLB Hostname starts with "em".

          Example: If the hostname is "em.domain.com"

          -- end quote --

          It looks like our options are to change the DNS name for our F5 virtual server so it doesn't start with 'em' or install the patch.

          Dave