My Oracle Support Banner

Spaces does not Start after Importing adf_config.xml (Doc ID 1413847.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle WebCenter Portal - Version: 11.1.1.4.0 and later   [Release: 11g and later ]
Information in this document applies to any platform.

Symptoms


There were some changes made in adf-config.xml file, but by mistake some wrong entries were entered.

Restarting Spaces then fails with the following exception:


[2012-02-07T14:46:27.811+05:30] [WC_Spaces] [WARNING] [] [oracle.webcenter.collab.share.internal.view.SessionCacheInvalidationListener] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [ecid: 0000JLN5k6h1ZbIqyoNa6G1FCEgw000002,0] [APP: webcenter#11.1.1.4.0] [[
java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
    at oracle.adf.share.ADFContext.initADFContext(ADFContext.java:1894)
    at oracle.webcenter.collab.share.internal.view.CacheInvalidationListener.contextDestroyed(CacheInvalidationListener.java:138)
...
    at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:96)
    at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
Caused by: java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at oracle.adf.share.ADFContext.initADFContext(ADFContext.java:1855)
    ... 42 more
Caused by: oracle.adf.share.ADFShareException: oracle.mds.exception.MDSRuntimeException: MDS-00019: Customization document contains an invalid instruction "adf-recent-activity-config".
    at oracle.adf.share.config.ADFConfigImpl.getResultFromComponent(ADFConfigImpl.java:487)
    at oracle.adf.share.config.ADFConfigImpl.getConfigObject(ADFConfigImpl.java:526)
...
    at oracle.adf.share.http.ServletADFContext.initialize(ServletADFContext.java:451)
    at oracle.adf.share.http.ServletADFContext.initThreadContext(ServletADFContext.java:363)
    at oracle.adf.share.http.ServletADFContext.initThreadContextIfNeeded(ServletADFContext.java:297)
    ... 47 more
Caused by: oracle.mds.exception.MDSRuntimeException: MDS-00019: Customization document contains an invalid instruction "adf-recent-activity-config".
    at oracle.mds.internal.model.parse.MDSCustNodeParser.getChildParser(MDSCustNodeParser.java:197)
    at oracle.mds.internal.model.parse.MDSCustNodeParser.startChildElement(MDSCustNodeParser.java:127)
...
    at sun.reflect.GeneratedMethodAccessor508.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at oracle.adf.share.config.ADFConfigImpl.getResultFromComponent(ADFConfigImpl.java:460)
    ... 56 more
]]


Then trying to export or import adf-config.xml file through WLST it returns the following error:
MDS-91002: MDS Application runtime MBean for "webcenter" is not available

Steps to Reproduce
==================
1. Perform the following export:


exportMetadata(application='webcenter', server='WC_Spaces', toLocation='/tmp/mydata', docs='/META-INF/mdssys/cust/adfshare/adfshare/adf-config.xml.xml')


2. Make some changes to adf-config.xml.xml to introduce a syntax error

3. Import the file with the following command:


importMetadata(application='webcenter', server='WC_Spaces', fromLocation='/tmp/mydata', docs='/META-INF/mdssys/cust/adfshare/adfshare/adf-config.xml.xml')


4. Restart Spaces and notice the error

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
  Cause
  Solution
  References

This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process and therefore has not been subject to an independent technical review.

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