WebCenter Spaces Shows Empty Pages after Login in a New Installation (Doc ID 1472969.1)

Last updated on JUNE 29, 2017

Applies to:

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

Symptoms

After installing and configuring WebCenter Portal the Portal pages show empty with just the header of the pages. The content of the pages are actually missing.

This is observed in all areas, for example:


On WebCenter Portal: Spaces IE shows the following Javascript error:

Errors on this webpage might cause it to work incorrectly

Unable to get value of property 'show':object is null or undefined
all-spaces-11.1.1.6.0-1218.js
Line: 16
Char: 159



The identity store and the policy and credential store was migrated to OID, but the problem was there even before this migration.

Following exceptions are seen in the logs:

INFO: Found persistence provider "org.eclipse.persistence.jpa.PersistenceProvider". OpenJPA will not be used.
<May 7, 2012 4:36:53 PM GST> <Error> <HTTP> <BEA-101020> <[ServletContext@1955525206[app:webcenter module:/webcenter path:/webcenter spec-version:2.5 version:11.1.1.4.0]] Servlet failed with Exception
java.lang.NullPointerException
        at oracle.webcenter.webcenterapp.internal.view.webapp.WebCenterShellPhaseListener.getAndClearTimePerRequest(WebCenterShellPhaseListener.java:403)
        at oracle.webcenter.webcenterapp.internal.view.webapp.WebCenterLocaleWrapperFilter.doFilter(WebCenterLocaleWrapperFilter.java:243)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
        at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
        at java.security.AccessController.doPrivileged(Native Method)
        Truncated. see log file for complete stacktrace
>
<May 7, 2012 4:36:53 PM GST> <Notice> <Diagnostics> <BEA-320068> <Watch 'UncheckedException' with severity 'Notice' on server 'WC_Spaces' has triggered at May 7, 2012 4:36:53 PM GST. Notification details:
WatchRuleType: Log
WatchRule: (SEVERITY = 'Error') AND ((MSGID = 'WL-101020') OR (MSGID = 'WL-101017') OR (MSGID = 'WL-000802') OR (MSGID = 'BEA-101020') OR (MSGID = 'BEA-101017') OR (MSGID = 'BEA-000802'))
WatchData: DATE = May 7, 2012 4:36:53 PM GST SERVER = WC_Spaces MESSAGE = [ServletContext@1955525206[app:webcenter module:/webcenter path:/webcenter spec-version:2.5 version:11.1.1.4.0]] Servlet failed with Exception
java.lang.NullPointerException
        at oracle.webcenter.webcenterapp.internal.view.webapp.WebCenterShellPhaseListener.getAndClearTimePerRequest(WebCenterShellPhaseListener.java:403)
        at oracle.webcenter.webcenterapp.internal.view.webapp.WebCenterLocaleWrapperFilter.doFilter(WebCenterLocaleWrapperFilter.java:243)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
        at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
        at java.security.AccessController.doPrivileged(Native Method)
        at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
        at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
        at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
        at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
        at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
        at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
        at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
        at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3730)
        at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3696)
        at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
        at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
        at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273)
        at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
        at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)
        at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
        at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
 SUBSYSTEM = HTTP USERID = <WLS Kernel> SEVERITY = Error THREAD = [ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)' MSGID = BEA-101020 MACHINE = <hostname> TXID =  CONTEXTID = b07ea15ca2a60ffe:61a66ef8:13727472116:-8000-00000000000010a6 TIMESTAMP = 0000000000000
WatchAlarmType: AutomaticReset
WatchAlarmResetPeriod: 30000
>
<May 7, 2012 4:36:54 PM GST> <Alert> <Diagnostics> <BEA-320016> <Creating diagnostic image in /u01/app/oracle/product/middleware2/user_projects/domains/wc_domain/servers/WC_Spaces/adr/diag/ofm/wc_domain/WC_Spaces/incident/incdir_14 with a lockout minute period of 1.>
<May 7, 2012 4:37:20 PM GST> <Error> <HTTP> <BEA-101020> <[ServletContext@1955525206[app:webcenter module:/webcenter path:/webcenter spec-version:2.5 version:11.1.1.4.0]] Servlet failed with Exception
java.lang.NullPointerException
        at oracle.webcenter.webcenterapp.internal.view.webapp.WebCenterShellPhaseListener.getAndClearTimePerRequest(WebCenterShellPhaseListener.java:403)
        at oracle.webcenter.webcenterapp.internal.view.webapp.WebCenterLocaleWrapperFilter.doFilter(WebCenterLocaleWrapperFilter.java:243)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
        at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
        at java.security.AccessController.doPrivileged(Native Method)
        Truncated. see log file for complete stacktrace
>
INFO: Found persistence provider "org.eclipse.persistence.jpa.PersistenceProvider". OpenJPA will not be used.
-<May 7, 2012 4:37:51 PM GST> <Warning> <oracle.jbo.uicli.mom.JUApplicationDefImpl> <BEA-000000> <The definition at oracle.webcenter.webcenterapp.bindings.DataBindings.cpx, uses a pagemap pattern match that hides other cpx files.>
---------
<May 7, 2012 4:38:05 PM GST> <Warning> <oracle.webcenter.collab.share.AbstractSessionFactory> <BEA-000000> <no connections available for: Instant Messaging and Presence>
...
[2012-05-10T14:30:34.113+04:00] [WC_Spaces] [NOTIFICATION] [] [oracle.webcenter.webcenterapp.internal.view.loginsupport.backing] [tid: [ACTIVE].ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: anonymous] [ecid: b07ea15ca2a60ffe:61a66ef8:13727472116:-8000-00000000000043ee,0] [APP: webcenter#11.1.1.4.0]  [Security:090304]Authentication Failed: User weblogic javax.security.auth.login.FailedLoginException: [Security:090302]Authentication Failed: User weblogic denied
...
[2012-05-10T14:45:58.185+04:00] [WC_Spaces] [WARNING] [] [oracle.webcenter.framework.service] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [ecid: b07ea15ca2a60ffe:61a66ef8:13727472116:-8000-0000000000000000,0] [APP: webcenter#11.1.1.4.0] 2012-05-10 14:45:58.184--ServerSession(576784052)--Problem while unregistering MBean: weblogic.management.NoAccessRuntimeException: Access not allowed for subject: principals=[], on ResourceType: Configuration Action: unregister, Target: null
...
[2012-05-10T14:50:03.148+04:00] [WC_Spaces] [WARNING] [JPS-06003] [oracle.jps.upgrade] [tid: [ACTIVE].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [ecid: 0000JSqN^VW2VOS6yFbe6G1Fetox000001,0] [APP: webcenter#11.1.1.4.0] Cannot migrate credential folder/key o.webcenter.jf.csf.map/keygen.algorithm.Reason oracle.security.jps.service.credstore.CredentialAlreadyExistsException: JPS-01007: The credential with map o.webcenter.jf.csf.map and key keygen.algorithm already exists..
[2012-05-10T14:50:03.158+04:00] [WC_Spaces] [WARNING] [JPS-06003] [oracle.jps.upgrade] [tid: [ACTIVE].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [ecid: 0000JSqN^VW2VOS6yFbe6G1Fetox000001,0] [APP: webcenter#11.1.1.4.0] Cannot migrate credential folder/key o.webcenter.jf.csf.map/cipher.transformation.Reason oracle.security.jps.service.credstore.CredentialAlreadyExistsException: JPS-01007: The credential with map o.webcenter.jf.csf.map and key cipher.transformation already exists..


Further to these ProfileAccessException was thrown when logging in at getProfileByGUID.

Steps to Reproduce
==================
1. Meta data repository creation for WebCenter Portal, UCM
2. Install WebLogic Server
3. Install WebCenter
3. Install WebCenter Content
4. Install SOA Suite
5. Domain Configuration - Webcenter components, SOA Components & webcenter Content Components.
6. Oracle Weblogic Installation - separate middleware home for Oracle Identity Management
6. Oracle Identity Management 11g - OID 11G installation on the newly Weblogic Server for IDM 11G
7. Configure WebCenter Portal to user OID 11G as LDAP ID Store and Policy Store.
8. Setup Content server for WebCenter Portal.

After these steps the issue was seen.

 

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