DESCRIPTION
    This operation applies an interim patch to a Fusion Middleware
    ORACLE_HOME. The patch location can specified using the parameter
    patch_location. The default patch location is the current directory.

    This operation also deploys the following artifacts. All operations
    are patch metadata driven.

    1. Life cycle operations for JEE.
    2. SOA composite artifacts.
    3. SOA resource bundle artifacts.

    Please refer the following instructions for life cycle & SOA
    composite deployment.

    The -domain <DOMAIN_NAME> option has to be specified along with the
    -auto option for automated rollout to the Fusion Middleware domain.
    If only a single domain has been created out of the Oracle Home
    you can omit specifying the domain name. Only certain patches which
    have been certified by Oracle Product Support can be rolled out using
    this command.

    OPatch will pose questions to query for information necessary for
    accessing the Fusion Middleware domain. They are Admin Server URL,
    Admin Server User, Admin Server Password, Node Manager User and Node
    Manager password. Node Manager User and Node Manager password are not
    needed for SOA composite deployment.

    Any failure in deployment will not restore the patched bits during 'apply'
    session.


SYNTAX
opatch apply  -auto
              [-domain <DOMAIN_NAME>]
              [-mw_home <MW_HOME> ]
              [-delay <value> ] [ -force ]
              [-init <parameters for the init script in escaped double
               quotes> [-opatch_init_end] ]
              [-invPtrLoc <Path to oraInst.loc> ]
              [-jre <LOC> ] [-no_bug_superset ]
              [-no_relink] [-ocmrf <Response file location> ]
              [-oh <ORACLE_HOME> ]
              [-post <parameters for the post script in escaped
               quotes> [-opatch_post_end] ] 
              [-pre <parameters for the pre script
               in escaped double quotes> [-opatch_pre_end] ]
              [-profile_mask <Name of profile>]
              [-property_file <Path to property file>]
              [-retry <value ] [-report]
              [-silent ] [-verbose ]
              [ <Patch Location> ]

OPTIONS
       -domain
              The name of the Fusion Middleware domain to which the
              patched artifacts will be redeployed. For patches to
              'No Stage' mode applications OPatch performs only the
              necessary lifecycle operations for the specified domain

       -auto
              This option has to be specified for automated rollout of 
              the patch to the specified domain

       -mw_home
              The Middleware Home to work on. This takes precedence over
              the environment variable MW_HOME.

       -oh
              The Oracle Home to work on. This takes precedence over
              the environment variable ORACLE_HOME This is optional.
              OPatch can determine this value from the launch location
              of the OPatch script if executed from a Fusion Middleware
              Product Oracle Home.

       -delay
              If  -retry is specified, this options  tells OPatch how
              many seconds it should wait before attempting to lock
              inventory again in case of a previous failure.

       -force
              If a conflict exist which prevents the patch from being
              applied, the -force flag can be used to apply the patch.
              OPatch will remove all the conflicting patches before
              applying the current patch.

       -init
              This option is used to pass parameters to the init
              script. This script is executed before prerequisite checks
              are run. The value for this option have to be enclosed
              in double quotes. This option should be ended by option
              'opatch_init_end'.

       -invPtrLoc
              Used to locate the oraInst.loc file. Needed when the
              installation used the -invPtrLoc flag. This should be
              the path to the oraInst.loc file

       -jre
              This option tells OPatch to use JRE (java) from the
              specified location instead of the default location
              under Oracle Home.

       -no_bug_superset
              This option tells OPatch to error out if the current
              patch's bugs-to-fix is a super-set (or same set) of an
              installed patch's bugs-fixed in the Oracle Home.

       -no_relink
              The nolink option does not perform any make operations.
              This option can be used during multiple patch
              applications and perform the linking step only once.
              OPatch does not keep track of the make operations it
              did not perform. It is the job of the OPatch users to
              make sure the execute OPatch without this option at
              the end, so that compilation happens once

       -ocmrf
              This OPatch is generic, not being bundled with OCM.
              The -ocmrf option is being deprecated. Please remove it 
              while calling OPatch.

       -opatch_init_end
              This option is used to mark the end of init options.
              Without this option everything after init till end of
              the command is passed into init. This option is
              meaningless without -init option.

       -opatch_post_end
              This option is used to mark the end of post options.
              Without this option everything after post till end of
              the command is passed into post. This option is
              meaningless without -post option.

       -opatch_pre_end
              This option is used to mark the end of pre options.
              Without this option everything after pre till end of
              the command is passed into pre. This option is
              meaningless without -pre option.

       -post
              This option is used to pass parameters to the post script.
              This script is executed after application of the patch.
              The value for this option have to be enclosed in double
              quotes. This option should be ended by option 
              'opatch_post_end'.

       -pre
              This option is used to pass parameters to the pre
              script. This script is executed before application of
              the patch. The value for this option have to be enclosed
              in double quotes. This option should be ended by option
              'opatch_pre_end'.
 
       -profile_mask
              If the patch to be applied specifies WLS patch/patchset
              as prerequisites, OPatch will read the WLS default patch
              profile. To have OPatch read non-default patch profile,
              specify the patch profile name with this option.

       -property_file
              The user defined property file for OPatch to use. The
              path to the property file should be absolute. This
              property file takes precedence over the one that is
              supplied with OPatch.

              For SOA composite, SOA resource bundle deployment, the
	      following keys are required with the necessary values.

              'AdminConfigFile' - Encrypted file for Admin Server user.
              'AdminKeyFile' - Encrypted file for Admin Server password.
              'AdminServerURL' - Admin Server URL.
  
              For encryption files, Please check 'storeUserConfig' WLST
              command for details.

              For life cycle deployment, the following keys are required
              with the necessary values.

              'AdminConfigFile' - Encrypted file for Admin Server user.
              'AdminKeyFile' - Encrypted file for Admin Server password.
              'AdminServerURL - Admin Server URL.
              'NodeManagerConfigFile' - Encrypted file for Node Manager user.
              'NodeManagerKeyFile' - Encrypted file for Node Manager password.

              For encryption files, Please check 'storeUserConfig' WLST
              command for details.

              The Key, value pair is of the format 'x=y' where 'x' is OPatch
              understood key and each pair is separated by newline in the
              property file. This option is typically used for silent
              operations.

       -report
              Just prints out the actions without executing

       -retry
              This option tells OPatch how many times it should retry
              in case of an inventory lock failure.

       -silent
              This suppresses any user-interaction. For 'auto' operations,
              please check 'property_file' option.

       -verbose
              This option prints more OPatch output to the screen as
              well as to the log file

PARAMETERS
      Patch Location
              Path to the location for the patch. If the patch 
              location is not specified, then the current directory 
              is taken as the patch location.
