My Oracle Support Banner

Analytics Login Events are Not Showing When Using Group Options if WebCenter Portal is Configured with Active Directory as External LDAP (Doc ID 2760769.1)

Last updated on MARCH 17, 2021

Applies to:

Oracle WebCenter Portal - Version 12.2.1.3.0 and later
Information in this document applies to any platform.

Symptoms


ACTUAL BEHAVIOR

Analytics Login Events are not showing when using group options if WebCenter Portal is configured with Active Directory as External LDAP.
The following is observed:


EXPECTED BEHAVIOR

Expect the login metrics to work properly when using Active Directory.


STEPS

The issue can be reproduced at will with the following steps:

  1. Add the Analytics System Page to WebCenter Portal.
     
      
  2. Login with some users from Active Directory.
     
      
  3. Look a the Login metrics on the Analytics page.
    If you look at login metrics without grouping options, you can see the login count is increasing.
    If you select group by User Property, then the Login Metrics says "No data to ..
     
      
  4. Enable the following logger from wlst:
    Note: Replace WC_Portal with the name of your portal managed server.
      
    setLogLevel(target='WC_Portal',logger='oracle.webcenter.framework.service.AnalyticsUtil',level='FINEST', addLogger=1)
     
     
  5. Login to WebCenter Portal with a user from Active Directory.
      
     
  6. Look at the portal managed server diagnostic log file.
    Here you will see an entry like this where it shows the login event is sending null user:
     
    [<TIMESTAMP>] [WC_Portal] [TRACE] [] [oracle.webcenter.framework.service.AnalyticsUtil] [tid: [ACTIVE].ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <USERID>] [ecid: <ECID>] [APP: webcenter] [partition-name: DOMAIN] [tenant-name: GLOBAL] [DSID:<DSID>] [SRC_CLASS: oracle.webcenter.framework.service.AnalyticsUtil] [SRC_METHOD: sendUserProperties] ***** SENDING EVENT : type = {HTTP://WWW.BEA.COM/ANALYTICS}USER_PROFILE, user = null


    While on an instance with embedded LDAP the entry shows the actual userid.
     
     
  7. Do not forget to disable the logger after testing:
     
    setLogLevel(target='WC_Portal',logger='oracle.webcenter.framework.service.AnalyticsUtil',level='', addLogger=1)



 

Changes

 

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
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.