Databases Reference
In-Depth Information
•
ORACLE_COMMON_HOME/bin/pasteBinary.cmd
on
Windows,
or
ORACLE_COMMON_HOME/bin/pasteBinary.sh
on Unix/Linux
•
ORACLE_COMMON_HOME/jlib/cloningclient.jar
•
Your Middleware home archive file, for example,
/home/samples/migra-
tion/files/mw_clone.jar
The
pasteBinary
script and
cloningclient.jar
file
have to be copied to the same directory on the target system.
Extracting the archive in a target system
The
pasteBinary
script can be used to extract the files from the archive at a
target host.
The syntax of the
pasteBinary
script is as follows:
pasteBinary -javaHome <JAVA_HOME>
-archiveLoc <ARCHIVE_LOCATION>
-targetMWHomeLoc <MW_HOME>
Note that you need to replace the following variables with the actual values:
•
<JAVA_HOME>:
The absolute path of the Java home (JDK 1.6.0 Update 4 or
later release)
•
<ARCHIVE_LOCATION>:
The absolute path of the archive file location
•
<MW_HOME>:
The target Fusion Middleware
home
directory
For example, to apply the clone
(mw_clone.jar)
to the
/u02/app/oracle/
product/fmw
directory, use the following
sh
script: