Unable to Redeploy WebCenter Spaces Application (webcenter.ear) (Doc ID 1289536.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle WebCenter Portal - Version 11.1.1.3.0 to 11.1.1.3.0 [Release 11g]
Information in this document applies to any platform.
***Checked for relevance on 13-DEC-2012***

Symptoms


When attempting to redeploy the WebCenter spaces application from the Fusion Middleware Control, the following error occurs:

ERROR


[November 1, 2010 1:04:41 PM PDT] Initiating deploy operation ...
[November 1, 2010 1:04:41 PM PDT] Saving the oracle configuration changes to archive.
[November 1, 2010 1:04:41 PM PDT] Archive: /w/apps/domains/owcDomain/sysman/upload/deploy/webcenter/archive/webcenter.ear
[November 1, 2010 1:04:41 PM PDT] Targeting MDS repository: com.bea:Name=mds-SpacesDS,Type=JDBCSystemResource to target WLS_Spaces.
[November 1, 2010 1:04:41 PM PDT] Targeting MDS repository: com.bea:Name=mds-SpacesDS,Type=JDBCSystemResource to target WLS_Spaces completed.
[November 1, 2010 1:04:41 PM PDT] Deployer:149191]Operation 'deploy' on application 'webcenter' is initializing on 'WLS_Spaces'
[November 1, 2010 1:04:41 PM PDT] Deployer:149191]Operation 'deploy' on application 'webcenter' is in progress on 'WLS_Spaces'
[November 1, 2010 1:04:41 PM PDT] Deployer:149191]Operation 'deploy' on application 'webcenter' has failed on 'WLS_Spaces'
[November 1, 2010 1:04:41 PM PDT] java.lang.ClassCastException: org.apache.xml.dtm.ref.DTMManagerDefault cannot be cast to org.apache.xml.dtm.DTMManager
[November 1, 2010 1:04:41 PM PDT] org.apache.xml.dtm.ref.DTMManagerDefault cannot be cast to org.apache.xml.DTMManager
[November 1, 2010 1:04:41 PM PDT] Deploy operation failed.




The WLS_Spaces.log shows the following errors:

####<Oct 31, 2010 11:49:12 AM PDT> <Warning> <HTTP> <vmwebiapp01-dev> <WLS_Spaces> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <> <> <> <1288550952156> <BEA-101162> <User defined listener oracle.webcenter.webcenterapp.internal.view.webapp.WebCenterAppContextListener failed: java.lang.RuntimeException: oracle.adf.share.ADFShareException: Error encountered while creating the MDS Session.
java.lang.RuntimeException: oracle.adf.share.ADFShareException: Error encountered while creating the MDS Session
at oracle.webcenter.webcenterapp.internal.view.webapp.WebCenterAppContextListener.contextInitialized(WebCenterAppContextListener.java:242)
at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:181)
at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1863)
at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3126)
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1512)
at weblogic.servlet.internal.WebAppModule.start
...

Caused By: oracle.adf.share.ADFShareException: Error encountered while creating the MDS Session
at oracle.adf.share.config.ADFContextMDSConfigHelperImpl.createMDSSession(ADFContextMDSConfigHelperImpl.java:59)
at oracle.adf.share.ADFContext.getMDSSessionAsObject(ADFContext.java:1224)
at oracle.webcenter.spaces.internal.model.template.SpacesTemplateCacheManager.initSpaceTemplatesCache(SpacesTemplateCacheManager.java:463)
...

Caused By: oracle.adf.share.ADFShareException: oracle.mds.exception.MDSRuntimeException: org.apache.xml.dtm.ref.DTMManagerDefault cannot be cast to org.apache.xml.dtm.DTMManager
at oracle.adf.share.config.ADFConfigImpl.getResultFromComponent(ADFConfigImpl.java:470)
at oracle.adf.share.config.ADFConfigImpl.getConfigObject(ADFConfigImpl.java:508)
at oracle.adf.share.config.ADFConfigImpl.getConfigObject(ADFConfigImpl.java:491)
at oracle.adf.share.config.ADFConfigImpl.getMDSInstance(ADFConfigImpl.java:547)
at oracle.adf.share.config.ADFConfigImpl.getMDSInstance(ADFConfigImpl.java:542)
...

Caused By: oracle.mds.exception.MDSRuntimeException: org.apache.xml.dtm.ref.DTMManagerDefault cannot be cast to org.apache.xml.dtm.DTMManager
at oracle.mds.internal.model.CustDocBuilder.execute(CustDocBuilder.java:196)
at oracle.mds.internal.model.ContentModelPipeline.processPipeline(ContentModelPipeline.java:259)
at oracle.mds.core.MOContent.fetchContent(MOContent.java:502)
at oracle.mds.core.CachedMOContent.fetchContent(CachedMOContent.java:249)
at oracle.mds.core.MOContent.getDocumentFromPipeline(MOContent.java:742)
at oracle.mds.core.MOContent.getDocument(MOContent.java:659)
at oracle.mds.core.MetadataObject.getContentWithRetry(MetadataObject.java:1772)




STEPS

The issue can be reproduced with the following steps:

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