java.io.FileNotFoundException when running upgradeWebCenterDomain for Upgrading WebCenter Domain to 11.1.1.4 (PS3) (Doc ID 1320103.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle WebCenter - Version: 11.1.1.3.0 and later   [Release: 11g and later ]
Information in this document applies to any platform.

Symptoms


=== ODM Issue Clarification ===

On : 11.1.1.3.0 version, Workplace Central

When attempting to patch WebCenter Spaces to PS3,
the following error occurs.

ERROR


wls:/offline> upgradeWebCenterDomain(domainDirName='/refresh/oracle/fmw11g/user_projects/domains/wc_domain', oracleHome='/refresh/oracle/fmw11g/Oracle_WC1, upgradeCustomSpaces=TRUE')
upgradeJRF: BEGIN
Apply patch template
...

Traceback (innermost last):
File "<console>", line 1, in ?
File "/refresh/oracle/fmw11g/Oracle_WC1/common/wlst/Lifecycle.py", line 60, in upgradeWebCenterDomain
File "/refresh/oracle/fmw11g/Oracle_WC1/common/wlst/Lifecycle.py", line 83, in _doUpgradeWebCenterDomain
File "/refresh/oracle/fmw11g/Oracle_WC1/common/wlst/Lifecycle.py", line 318, in _copyWikiFiles
at org.apache.commons.io.FileUtils.copyDirectory(FileUtils.java:866)
at org.apache.commons.io.FileUtils.copyDirectory(FileUtils.java:770)
at org.apache.commons.io.FileUtils.copyDirectory(FileUtils.java:745)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)

java.io.FileNotFoundException: java.io.FileNotFoundException: Source '/refresh/oracle/fmw11g/Oracle_WC1, upgradeCustomSpaces=TRUE/wikiserver/owc_wiki' does not exist




STEPS


The issue can be reproduced at will with the following steps:

  1. Run the upgradeWebCenterDomain command to upgrade the Oracle WebCenter domain to PS3 as per the following documentation:

    Oracle Fusion Middleware Patching Guide
    11g Release 1 (11.1.1)
    5 Patching Oracle WebCenter
    5.4 Task 4: Update Oracle WebCenter to 11.1.1.4.0
    5.4.2 Updating Oracle WebCenter Using WLST Commands

    This should reproduce the error.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms