After Configuring For 11g OVD/OID/AD/EUS Integration, Viewing A User's Profile in EM Fails With: Error: Internal error has occurred. Check the log file for details. (Doc ID 1509345.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Virtual Directory - Version 11.1.1.2.0 and later
Information in this document applies to any platform.

Symptoms

Oracle Virtual Directory (OVD) and Oracle Internet Directory (OID) 11g, i.e., 11.1.1.5 integrated with Microsoft Active Directory (MS AD) for Enterprise User Security (EUS).

Followed documentation:

Oracle® Fusion Middleware Administrator's Guide for Oracle Virtual Directory 11g Release 1 (11.1.1) Part Number E10046-06
   Chapter 19 Configuring Oracle Virtual Directory for Integrated Directory Solutions
      Section 19.2 Integrating with Oracle's Enterprise User Security
         Topic 19.2.2.1 User Identities in Microsoft Active Directory

Subtopic 19.2.2.1.1 Configuring Active Directory for the Integration
And:
Subtopic 19.2.2.1.2 Configuring Oracle Virtual Directory for the Integration

Now when selecting to view a user's profile in Oracle Enterprise Manager (OEM or EM), it fails with:

Error:
Internal error has occurred.  Check the log file for details.

 

Steps to reproduce:
1.  Log into EM url, e.g., http://hostname:1158/em/console
2.  Select "Server" tab > "Enterprise User Security" link
3.  Enter the OID cn=orcladmin credentials and log in
3.  Select "Manage Enterprise Users" and search for users
4.  Select a user and click "View" button to see the Error above returned.

The sysman emoms.trc file shows errors:

......

2012-11-15 11:34:33,035 [EMUI_11_34_32_/console/database/EntDBSec/EUS/EUSComponents] ERROR eus.EUSComponentsController onEvent.132 -  The Execption in EUS is oracle.sysman.emo.adm.security.eus.EntDBSecEUSException: Invalid OracleContext:  cn=oraclecontext,dc=mycompany,dc=com
2012-11-15 11:34:33,050 [EMUI_11_34_32_/console/database/EntDBSec/EUS/EUSComponents] ERROR svlt.PageHandler handleRequest.639 - java.lang.NullPointerException
java.lang.NullPointerException

.......

2012-11-15 11:35:17,852 [EMUI_11_35_17_/console/database/EntDBSec/OLSOID/PolicyController] ERROR olsoid.EntDBSecController logException.2065 - oracle.sysman.emo.adm.security.common.EntDBSecException: Exception occurred while retrieving Policy Details from OID

.......

Caused by: javax.naming.NameNotFoundException: [LDAP: error code 32 - LDAP Error 32 : No Such Object]; remaining name 'cn=Policies,cn=LabelSecurity,cn=Products,cn=OracleContext,dc=mycompany,dc=com'

.......

 

Looking for the entry above (with the ldap error 32 no such object) in OVD Data Browser, there is a complete tree under root "cn=OracleContext", but the realm Context tree "cn=OracleContext,dc=mycompany,dc=com" is incomplete and missing entries. For example, it has "cn=OracleDBSecurity,cn=Products,cn=OracleContext,DC=mycompany,DC=com" but not "cn=LabelSecurity,cn=Products,cn=OracleContext,dc=mycompany,dc=com".

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