My Oracle Support Banner

Managed Server Fails to Start - Directory Does Not Get Copied From T2P copyConfig/pasteConfig Steps (Doc ID 2419677.1)

Last updated on AUGUST 25, 2023

Applies to:

Oracle Fusion Middleware - Version 11.1.1.7.0 and later
Information in this document applies to any platform.

Symptoms

Using Oracle Fusion Middleware 11g T2P steps to clone a production environment to a test environment:

Administering Oracle Fusion Middleware
https://docs.oracle.com/middleware/11119/core/ASADM/toc.htm --- Chapter 21 and Appendix A

21 Moving from a Test to a Production Environment
https://docs.oracle.com/middleware/11119/core/ASADM/testprod.htm#CHDIAEFA

and

A Using the Movement Scripts
https://docs.oracle.com/middleware/11119/core/ASADM/clone.htm#CBBFCEFA


This environment is configured across 3 nodes on 3 different physical hosts, on the step that copies Admin and managed servers to the first node there were no errors, the cloning script starts the admin server.
Starting managed server using Fusion Middleware Control failed due to a missing directory, it was not copied from the cloning scripts.

Attempting to restart the admin server fails attempting to start managed servers on other machines.
Using <Note 1662633.1> to set scripts in debug shows the multiple nodes are recognized, but no error message or indication of a problem. 

Steps to reproduce:

1. Copy the source domain using copyConfig as :

./copyConfig.sh -javaHome <dir>/admin/jdk \
-archiveLoc <dir>/stage/copyConfig.jar \
-sourceDomainLoc $MW_HOME/user_projects/domains/oidprd \
-sourceMWHomeLoc $MW_HOME \
-domainHostName <host.domain> \
-domainPortNum 7001 \
-domainAdminUserName weblogic \
-domainAdminPasswordFile <dir>/stage/password.txt \
-logDirLoc /tmp/logs

2. Extracted the moveplan.xml from the resultant jar file as:

./extractMovePlan.sh -javaHome <dir>/admin/jdk -archiveLoc <dir>/stage/copyConfig.jar -planDirLoc /tmp/Oracle/t2p_plans/dom

3. Edited moveplan.xml as per target and pasted to the target location using pasteconfig.sh as:

./pasteConfig.sh -javaHome <dir>/admin/jdk -archiveLoc <dir>/stage/copyConfig.jar -movePlanLoc <dir>/stage/moveplan.xml -targetDomainLoc <dir>/oramidoidprf02/user_projects/domains/oidprf02 -targetMWHomeLoc <dir>/oramidoidprf02 -domainAdminPasswordFile <dir>/stage/password.txt





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
Cause
Solution
References


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