Internal Error in WebCenter Spaces after restoring OiD after a failed OiD Multimaster Replication (Doc ID 1142996.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle WebCenter - Version: 11.1.1.2.0 and later   [Release: No Release Description and later ]
Information in this document applies to any platform.

Symptoms


After restoring OiD after a failed OiD Multimaster Replication,
the following error occurs when accesing WebCenter Spaces.


Internal Error
If the error persists, report the problem to your administrator.


STEPS

The issue can be reproduced at will with the following steps:
  1. Implement OID Multimaster Replication as per <>.

  2. Revert OID Multimaster Replication setup.

  3. Restore from a backup as per instructions in <>.
    Specifically these commands:

    bulkload.exe connect=OIDDB check=true generate=true restore=true file=backup.ldif
    bulkload.exe connect=OIDDB load=true

  4. Access WebCenter Spaces.
    Here you should see the error.

  5. The WLS_Spaces1.log shows the following error:

    ####<Jul 6, 2010 9:51:01 AM CDT> <Error> <HTTP> <nmiapp1> <WLS_Spaces1> <[ACTIVE] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'> <> <> <> <1278427861789> <BEA-101020> <[ServletContext@13071995[app:webcenter module:/webcenter path:/webcenter spec-version:2.5]] Servlet failed with Exception
    java.security.AccessControlException: access denied (oracle.security.jps.service.policystore.PolicyStoreAccessPermission context=APPLICATION,name=webcenter getApplicationPolicy)
    at java.security.AccessControlContext.checkPermission(AccessControlContext.java:323)
    at java.security.AccessController.checkPermission(AccessController.java:546)
    at oracle.security.jps.util.JpsAuth$AuthorizationMechanism$3.checkPermission(JpsAuth.java:350)
    at oracle.security.jps.util.JpsAuth$Diagnostic.checkPermission(JpsAuth.java:271)
    at oracle.security.jps.util.JpsAuth$AuthorizationMechanism$6.checkPermission(JpsAuth.java:374)
    at oracle.security.jps.util.JpsAuth.checkPermission(JpsAuth.java:410)
    at oracle.security.jps.util.JpsAuth.checkPermission(JpsAuth.java:432)
    at oracle.security.jps.internal.policystore.AbstractPolicyStore.checkPolicyStoreAccessPermission(AbstractPolicyStore.java:255)
    at oracle.security.jps.internal.policystore.ldap.LdapPolicyStore.getApplicationPolicy(LdapPolicyStore.java:408)

  6. Accessing the Policy store from Enterprise Manager also returns error:
    • Access Enterprise Manager 11g Fusion Middleware Control.
    • Drill down to Webcenter->Webcenter Spaces -> webcenter (WLS_Spaces).
    • Click Webcenter->Security->Application Policies.
      Here you should see the following error:


      Error

      Failed to check if the application webcenter exists in policy store.
      access denied (oracle.security.jps.service.policystore.PolicyStoreAccessPermission

      context=SYSTEM getConfiguredApplications)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at
      oracle.sysman.core.app.perf.PerfFilter.doFilter(PerfFilter.java:141) at
      weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at
      ...

Changes

Restore from a backup as per instructions in <>.
Specifically these commands:

bulkload.exe connect=OIDDB check=true generate=true restore=true file=backup.ldif
bulkload.exe connect=OIDDB load=true


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