My Oracle Support Banner

Error While Deploying Portal Application: "oracle.mds.transfer.TransferException" (Doc ID 2107457.1)

Last updated on AUGUST 08, 2018

Applies to:

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

Symptoms

Getting the following error while trying to deploy spaces application that was developed on JDeveloper:

oracle.mds.transfer.TransferException 

Following exception can be seen in the spaces diagnostic log

[2016-02-16T18:09:55.819+03:00] [WLS_Spaces1] [WARNING] [] [oracle.mds] [tid: [STANDBY].ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'] [ecid: <ECID>] [APP: *****] The transfer of the document /oracle/webcenter/portalapp/fragments/****.html is not successful.[[
oracle.mds.persistence.MDSIOException: <Line 57, Column 1>: XML-20100: (Fatal Error) Expected 'EOF'.
at oracle.mds.internal.persistence.db.shredded.ShreddedDBMSConnection.createDocumentParser(ShreddedDBMSConnection.java:427)
at oracle.mds.internal.persistence.db.BaseDBMSConnection.createDocWithComment(BaseDBMSConnection.java:1146)
at oracle.mds.internal.persistence.db.BaseDBMSConnection.createStoreDocument(BaseDBMSConnection.java:1055)
at oracle.mds.persistence.MetadataStoreConnection.createDocument(MetadataStoreConnection.java:291)
at oracle.mds.persistence.PTransaction.createDocument(PTransaction.java:529)
at oracle.mds.internal.persistence.PersistenceUtils.createOrSaveDocument(PersistenceUtils.java:490)
at oracle.mds.internal.transfer.InternalMDSTransfer.transferDocument(InternalMDSTransfer.java:3743)
at oracle.mds.internal.transfer.InternalMDSTransfer.transferTransferUnit(InternalMDSTransfer.java:3521)
at oracle.mds.internal.transfer.InternalMDSTransfer.transferTransferUnitList(InternalMDSTransfer.java:3401)
at oracle.mds.internal.transfer.InternalMDSTransfer.execute(InternalMDSTransfer.java:2023)
at oracle.mds.internal.transfer.InternalMDSTransfer.transfer(InternalMDSTransfer.java:510)
at oracle.mds.internal.lcm.deploy.DeployManager.doTransfer(DeployManager.java:1656)
at oracle.mds.internal.lcm.deploy.DeployManager.invokeTransfer(DeployManager.java:1537)
at oracle.mds.internal.lcm.deploy.DeployManager.deployToDBRepository(DeployManager.java:1253)
at oracle.mds.internal.lcm.deploy.DeployManager.deploySingleMAR(DeployManager.java:911)
..
..
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
Caused by: org.xml.sax.SAXParseException: <Line 57, Column 1>: XML-20100: (Fatal Error) Expected 'EOF'.
at oracle.xml.parser.v2.XMLError.flushErrorHandler(XMLError.java:422)
at oracle.xml.parser.v2.XMLError.flushErrors1(XMLError.java:287)
at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:410)
at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:232)
at oracle.mds.internal.util.xml.SAXHelper.parse(SAXHelper.java:282)
at oracle.mds.internal.persistence.db.shredded.ShreddedReposAccess.createDocumentParser(ShreddedReposAccess.java:1046)
at oracle.mds.internal.persistence.db.shredded.ShreddedDBMSConnection.createDocumentParser(ShreddedDBMSConnection.java:416)
... 43 more

]]


[2016-02-16T18:09:55.972+03:00] [WLS_Spaces1] [WARNING] [] [oracle.mds] [tid: [STANDBY].ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'] [ecid: <ECID>] [APP: *****] The transfer of the document /oracle/webcenter/portalapp/fragments/*****.html is not successful.[[
oracle.mds.persistence.MDSIOException: <Line 15, Column 35>: XML-20201: (Fatal Error) Expected name instead of &.
at oracle.mds.internal.persistence.db.shredded.ShreddedDBMSConnection.createDocumentParser(ShreddedDBMSConnection.java:427)
at oracle.mds.internal.persistence.db.BaseDBMSConnection.createDocWithComment(BaseDBMSConnection.java:1146)
at oracle.mds.internal.persistence.db.BaseDBMSConnection.createStoreDocument(BaseDBMSConnection.java:1055)
at oracle.mds.persistence.MetadataStoreConnection.createDocument(MetadataStoreConnection.java:291)
at oracle.mds.persistence.PTransaction.createDocument(PTransaction.java:529)
at oracle.mds.internal.persistence.PersistenceUtils.createOrSaveDocument(PersistenceUtils.java:490)
..
..
Caused by: org.xml.sax.SAXParseException: <Line 15, Column 35>: XML-20201: (Fatal Error) Expected name instead of &.
at oracle.xml.parser.v2.XMLError.flushErrorHandler(XMLError.java:422)
at oracle.xml.parser.v2.XMLError.flushErrors1(XMLError.java:287)
at oracle.xml.parser.v2.XMLReader.scanNameChars(XMLReader.java:1246)
at oracle.xml.parser.v2.XMLReader.scanQName(XMLReader.java:2125)
at oracle.xml.parser.v2.XMLReader.getEntity(XMLReader.java:2480)
at oracle.xml.parser.v2.NonValidatingParser.parseContentEntityRef(NonValidatingParser.java:1994)
at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1596)
at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:443)
at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:389)
at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:232)
at oracle.mds.internal.util.xml.SAXHelper.parse(SAXHelper.java:282)
at oracle.mds.internal.persistence.db.shredded.ShreddedReposAccess.createDocumentParser(ShreddedReposAccess.java:1046)
at oracle.mds.internal.persistence.db.shredded.ShreddedDBMSConnection.createDocumentParser(ShreddedDBMSConnection.java:416)
... 43 more

]]
[2016-02-16T18:10:03.022+03:00] [WLS_Spaces1] [WARNING] [] [oracle.mds] [tid: [STANDBY].ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'] [ecid: <ECID>] [APP: *****] The operation on deploy with CHANGED restriction has been rolled back. Total number of documents failed during the operation is 2.
[2016-02-16T18:10:03.296+03:00] [WLS_Spaces1] [ERROR] [] [oracle.mds] [tid: [STANDBY].ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'] [ecid: <ECID>] [APP: ******] [[
oracle.mds.lcm.exception.MDSLCMException: MDS-05791: An error occurred during the deployment of the metadata archive (MAR) AutoGeneratedMar.mar.

MDS-00001: exception in Metadata Services layer
MDS-00515: failure to create document /oracle/webcenter/portalapp/fragments/*****.html in the metadata repository
<Line 57, Column 1>: XML-20100: (Fatal Error) Expected 'EOF'.

MDS-00001: exception in Metadata Services layer
MDS-00515: failure to create document /oracle/webcenter/portalapp/fragments/*****.html in the metadata repository
<Line 15, Column 35>: XML-20201: (Fatal Error) Expected name instead of &.

at oracle.mds.internal.lcm.deploy.DeployManager.deploy(DeployManager.java:747)
at oracle.mds.internal.lcm.deploy.DeployManager.startDeployment(DeployManager.java:211)
at oracle.mds.internal.lcm.MDSLifecycleListenerImpl.start(MDSLifecycleListenerImpl.java:215)
at oracle.mds.lcm.weblogic.WLLifecycleListener.preStart(WLLifecycleListener.java:77)
..
..
Caused by: oracle.mds.lcm.exception.MDSLCMException: MDS-05791: An error occurred during the deployment of the metadata archive (MAR) AutoGeneratedMar.mar.

MDS-00001: exception in Metadata Services layer
MDS-00515: failure to create document /oracle/webcenter/portalapp/fragments/*****.html in the metadata repository
<Line 57, Column 1>: XML-20100: (Fatal Error) Expected 'EOF'.

MDS-00001: exception in Metadata Services layer
MDS-00515: failure to create document /oracle/webcenter/portalapp/fragments/*****.html in the metadata repository
<Line 15, Column 35>: XML-20201: (Fatal Error) Expected name instead of &.

at oracle.mds.internal.lcm.deploy.DeployManager.deploySingleMAR(DeployManager.java:947)
at oracle.mds.internal.lcm.deploy.DeployManager.deploy(DeployManager.java:727)
... 28 more
Caused by: oracle.mds.transfer.TransferException:
MDS-00001: exception in Metadata Services layer
MDS-00515: failure to create document /oracle/webcenter/portalapp/fragments/*****.html in the metadata repository
<Line 57, Column 1>: XML-20100: (Fatal Error) Expected 'EOF'.

MDS-00001: exception in Metadata Services layer
MDS-00515: failure to create document /oracle/webcenter/portalapp/fragments/*****.html in the metadata repository
<Line 15, Column 35>: XML-20201: (Fatal Error) Expected name instead of &.

at oracle.mds.internal.transfer.InternalMDSTransfer.execute(InternalMDSTransfer.java:2238)
at oracle.mds.internal.transfer.InternalMDSTransfer.transfer(InternalMDSTransfer.java:510)
at oracle.mds.internal.lcm.deploy.DeployManager.doTransfer(DeployManager.java:1656)
at oracle.mds.internal.lcm.deploy.DeployManager.invokeTransfer(DeployManager.java:1537)
at oracle.mds.internal.lcm.deploy.DeployManager.deployToDBRepository(DeployManager.java:1253)
at oracle.mds.internal.lcm.deploy.DeployManager.deploySingleMAR(DeployManager.java:911)

 

Changes

 Application was developed using jdeveloper and packaged as .ear file.

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


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