My Oracle Support Banner

NFS Mounted WebLayoutDir Causes Error "Published schema directory could not be swapped into its proper location" (Doc ID 758646.1)

Last updated on MAY 16, 2023

Applies to:

Oracle WebCenter Content - Version 10.0 to 11.1.1.6.0 [Release 10gR3 to 11g]
Information in this document applies to any platform.


Symptoms

During normal WebCenter Content (WCC) content server operations where the Schema is published on a scheduled basis, the following errors are thrown in the WCC logs:

Error: Unable to rename '<content server install dir>/weblayout/resources/schema.work' to '<content server install dir>/weblayout/resources/schema' while publishing schema.

Error: Unable to publish the schema. Published schema directory could not be swapped into its proper location.



After installation of Build 175 or greater of the CS10gR3CoreUpdate component on 10g UCM, or simply using any version of 11g WCC, and enabling Verbose tracing for the "schema*" section via the Administration/System Audit Information page, the following exception is logged in the WCC "server output":

Unable to delete the directory
  '
<content server install dir>/weblayout/resources/schema.old' while publishing schema.
intradoc.common.ServiceException: Directory not empty after deleting contents of:
<content server install dir>/weblayout/resources/schema.old contents  [.nfs4AA31,]
[ Details ]
An error has occurred. The stack trace below shows more information.
!csSchemaPublishingFinalizationDeleteError,
<content server install dir>/weblayout/resources/schema.old!syExceptionType2,intradoc.common.ServiceException,Directory not empty after deleting contents of: <content server install dir>/weblayout/resources/schema.old contents [.nfs4AA31\,]
intradoc.common.ServiceException: Directory not empty after deleting contents of:
<content server install dir>/weblayout/resources/schema.old  contents [.nfs4AA31,]
at intradoc.common.FileUtils.deleteDirectory(FileUtils.java:871)
at intradoc.server.schema.StandardSchemaPublisher.finalizePublishing(StandardSchemaPublisher.java:1192)
at intradoc.server.schema.StandardSchemaPublisher.doPublishing(StandardSchemaPublisher.java:348)
at intradoc.server.schema.StandardSchemaPublisherThread.run(StandardSchemaPublisherThread.java:252)



Changes

This issue applies to WCC environments where the content server's weblayout directory is located on an NFS mount from another physical server's file system.

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.