My Oracle Support Banner

Exception While Deploying an Application: "oracle.mds.core.ConcurrentMOChangeException: MDS-00165" (Doc ID 1495871.1)

Last updated on SEPTEMBER 30, 2022

Applies to:

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


In a four-node cluster with Managed Servers created with the CustomPortal template. There are 2 managed servers running on each machine.
The 6.5.1 Configuring a Cluster for WebCenter Portal Applications documentation has been followed to create the managed servers.

When deploying application to the cluster (even the starter WebCenter Portal application) then randomly the following exception warning may get logged in the out file of one or more nodes of the cluster:

<Warning> <oracle.webcenter.lifecycle.listener.LifecycleServletContextListener> <BEA-000000> <
oracle.webcenter.lifecycle.LifecycleException: MDSException while creating an export set import lock
        at oracle.webcenter.lifecycle.operation.LockUnit.doImportExportSet(
        at oracle.webcenter.lifecycle.operation.ImportExportSetOperation.doImportExportSet(
        at oracle.webcenter.lifecycle.LifecycleService.doImportExportSet(
Caused By: oracle.mds.core.ConcurrentMOChangeException: MDS-00165: metadata Object "/oracle/webcenter/lock/exportsetImport/exportsetImport.xml" has changed
MDS-00516: failure to create document /oracle/webcenter/lock/exportsetImport/exportsetImport.xml because it already exists in the metadata repository
        at oracle.mds.core.UpdateableMOContent.constructConcurrentMOChangeException(
        at oracle.mds.core.UpdateableMOContent.saveMOContent(
        at oracle.mds.core.MDSTransaction.flushChangesToPTrans(
        at oracle.mds.core.MDSTransaction.internalCommit(
        at oracle.mds.core.MDSSession.flushChanges(
Caused By: oracle.mds.persistence.DocumentExistsException: MDS-00516: failure to create document /oracle/webcenter/lock/exportsetImport/exportsetImport.xml because it already exists in the metadata repository
        at oracle.mds.internal.persistence.db.BaseDBMSConnection.createDocWithComment(
        at oracle.mds.internal.persistence.db.BaseDBMSConnection.createStoreDocument(
        at oracle.mds.persistence.DelegatingMetadataStoreConnection.createStoreDocument(
        at oracle.mds.internal.persistence.BufferedMSConnection.createStoreDocument(
        at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(
        at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$



Steps to Reproduce:

  1. Create a 4-node cluster with 2 machines, where both machine hosts 2 managed server. Create the Managed Servers with the CustomPortal template using the following documentation:
    6.5.1 Configuring a Cluster for WebCenter Portal Applications
  2. Create a starter WebCenter Portal application in JDeveloper.
  3. Deploy the application to the cluster.
  4. Check the out file of the nodes and notice the exception.



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

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