Databases Reference
In-Depth Information
The syntax of the copyBinary script is as follows:
copyBinary -javaHome <JAVA_HOME>
-archiveLoc <ARCHIVE_LOCATION>
-sourceMWHomeLoc <MW_HOME>
Note that you need to replace the following variables with the actual values:
<JAVA_HOME>: The absolute path of the Java home
<ARCHIVE_LOCATION>: The absolute path of the archive file location
<MW_HOME>: The source of the Fusion Middleware home directory
It is best practice to create a sh script on Unix/Linux, or a batch file on Windows
to execute the copyBinary script. For example, the following sh script can be
used to create the archive (mw_clone.jar) of the Middleware home, which is
/u01/app/oracle/product/fmw on Unix/Linux:
#!/bin/sh
MW_HOME=/u01/app/oracle/product/fmw
export MW_HOME
ORACLE_COMMON_HOME=$MW_HOME/oracle_common
export ORACLE_COMMON_HOME
JAVA_HOME=$MW_HOME/jdk160_21
export JAVA_HOME
ARCHIVE_LOC=/home/samples/migration/files/mw_clone.jar
export ARCHIVE_LOC
$ORACLE_COMMON_HOME/bin/copyBinary.sh -javaHome $JAVA_HOME -archiveLoc $ARCHIVE_LOC -sourceMWHomeLoc $MW_HOME
Copying required files
If you are cloning the Middleware home to a different host, copy the following
files to the target system, and ensure that they are granted the execute per-
mission:
Search WWH ::




Custom Search