My Oracle Support Banner

Importing Portal 12c Archive Failed With "Unable To Read XML Document" Error (Doc ID 2647964.1)

Last updated on MARCH 13, 2020

Applies to:

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

Symptoms

When Importing a WebCenter Portal PAR file into a target environment an error is encountered preventing the importing of the PAR file:

"An internal error occurred while importing Portal Data" 

The diagnostic.log file shows the following errors:

[<DATE>] [<HOSTNAME>] [WARNING] [] [oracle.webcenter.lifecycle.data.PersistenceUnit] [tid: [ACTIVE].ExecuteThread: '53' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <USER>] [ecid: <ECID>] [APP: webcenter] [partition-name: DOMAIN] [tenant-name: GLOBAL] [[
oracle.webcenter.portal.persistence.PersistenceImportException: Unable to read XML document.
                at oracle.webcenter.portal.persistence.impl.JAXBLifecycleHandler.importXML(JAXBLifecycleHandler.java:247)
                at oracle.webcenter.portal.persistence.impl.PersistenceManagerImpl.importXML(PersistenceManagerImpl.java:1091)
                at oracle.webcenter.portal.persistence.impl.PersistenceManagerImpl.importXML(PersistenceManagerImpl.java:1084)

Caused by: javax.xml.bind.UnmarshalException: unexpected element (uri:"", local:"portalEntities"). Expected elements are <{http://xmlns.oracle.com/webcenter/portal/persistence}portalEntities>
                at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext.handleEvent(UnmarshallingContext.java:741)
                at com.sun.xml.bind.v2.runtime.unmarshaller.Loader.reportError(Loader.java:262)
                at com.sun.xml.bind.v2.runtime.unmarshaller.Loader.reportError(Loader.java:257)

 

Changes

 

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


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