Managed Server Fails to Start - Directory Does Not Get Copied From T2P copyConfig/pasteConfig Steps
Last updated on JULY 06, 2018
Applies to:Oracle Fusion Middleware - Version 184.108.40.206.0 and later
Information in this document applies to any platform.
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
A Using the Movement Scripts
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 /app/orclas/admin/jdk \
-archiveLoc /app/orclas/stage/copyConfig.jar \
-sourceDomainLoc $MW_HOME/user_projects/domains/oidprd \
-sourceMWHomeLoc $MW_HOME \
-domainHostName <host.domain> \
-domainPortNum 7001 \
-domainAdminUserName weblogic \
-domainAdminPasswordFile /app/orclas/stage/password.txt \
2. Extracted the moveplan.xml from the resultant jar file as:
./extractMovePlan.sh -javaHome /app/orclas/admin/jdk -archiveLoc /app/orclas/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 /app/orclas/admin/jdk -archiveLoc /app/orclas/stage/copyConfig.jar -movePlanLoc /app/orclas/stage/moveplan.xml -targetDomainLoc /app/orclas/oramidoidprf02/user_projects/domains/oidprf02 -targetMWHomeLoc /app/orclas/oramidoidprf02 -domainAdminPasswordFile /app/orclas/stage/password.txt
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