Importing Portal 12c Archive Failed With "Unable To Read XML Document" Error
(Doc ID 2647964.1)
Last updated on AUGUST 10, 2024
Applies to:
Oracle WebCenter Portal - Version 12.2.1.3.190416 and laterOracle WebCenter Portal for OCI - Version 12.2.1.4_24.2 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 |