adpatch options=hotpatch

 

--no need to shutdown application and no need to enable maintenance mode

adpatch options=hotpatch

find . -name FAS420.rdf -bash-3.2$ strings -a ./fa/12.0.0/reports/US/FAS420.rdf|grep '$Header'

SQL> select bug_id,application_short_name from ad_bugs where bug_number='9287896';

    BUG_ID APPLICATION_SHORT_NAME ---------- --------------------------------------------------     882825

  SQL> select count(1) from ad_applied_patches where patch_name='9287896';

  COUNT(1) ----------          1

         --history log -bash-3.2$ adpatch options=hotpatch

                     Copyright (c) 2002 Oracle Corporation                         Redwood Shores, California, USA

                         Oracle Applications AutoPatch

                                 Version 12.0.0

NOTE: You may not use this utility for custom development       unless you have written permission from Oracle Corporation.

Attention: AutoPatch no longer checks for unapplied pre-requisite patches. You must use OAM Patch Wizard for this feature. Alternatively, you can review the README for pre-requisite information.

Your default directory is '/u02/TM12/apps/apps_st/appl'. Is this the correct APPL_TOP [Yes] ?

AutoPatch records your AutoPatch session in a text file you specify.  Enter your AutoPatch log file name or press [Return] to accept the default file name shown in brackets.

Filename [adpatch.log] :

Options = "hotpatch".

You can be notified by email if a failure occurs. Do you wish to activate this feature [No] ?

Please enter the batchsize [1000] :

Please enter the name of the Oracle Applications System that this APPL_TOP belongs to.

The Applications System name must be unique across all Oracle Applications Systems at your site, must be from 1 to 30 characters long, may only contain alphanumeric and underscore characters, and must start with a letter.

Sample Applications System names are: "prod", "test", "demo" and "Development_2".

Applications System Name [TM12] : TM12 *

NOTE: If you do not currently have certain types of files installed in this APPL_TOP, you may not be able to perform certain tasks.

Example 1: If you don't have files used for installing or upgrading the database installed in this area, you cannot install or upgrade the database from this APPL_TOP.

Example 2: If you don't have forms files installed in this area, you cannot generate them or run them from this APPL_TOP.

Example 3: If you don't have concurrent program files installed in this area, you cannot relink concurrent programs or generate reports from this APPL_TOP.

Do you currently have files used for installing or upgrading the database installed in this APPL_TOP [YES] ? YES *

Do you currently have Java and HTML files for HTML-based functionality installed in this APPL_TOP [YES] ? YES *

Do you currently have Oracle Applications forms files installed in this APPL_TOP [YES] ? YES *

Do you currently have concurrent program files installed in this APPL_TOP [YES] ? YES *

Please enter the name Oracle Applications will use to identify this APPL_TOP.

The APPL_TOP name you select must be unique within an Oracle Applications System, must be from 1 to 30 characters long, may only contain alphanumeric and underscore characters, and must start with a letter.

Sample APPL_TOP Names are: "prod_all", "demo3_forms2", and "forms1".

APPL_TOP Name [prcsgidb1] : prcsgidb1 *

 

You are about to apply a patch to the installation of Oracle Applications in your ORACLE database 'TM12' using ORACLE executables in '/u02/TM12/apps/tech_st/10.1.2'.

Is this the correct database [Yes] ?

AutoPatch needs the password for your 'SYSTEM' ORACLE schema in order to determine your installation configuration.

Enter the password for your 'SYSTEM' ORACLE schema:

The ORACLE username specified below for Application Object Library uniquely identifies your existing product group: APPLSYS

Enter the ORACLE password of Application Object Library [APPS] :

AutoPatch is verifying your username/password. The status of various features in this run of AutoPatch is:

                                           <-Feature version in-> Feature                          Active?   APPLTOP    Data model    Flags ------------------------------   -------   --------   -----------   ----------- CHECKFILE                        Yes       1          1             Y N N Y N Y PREREQ                           Yes       6          6             Y N N Y N Y CONCURRENT_SESSIONS              No        2          2             Y Y N Y Y N PATCH_TIMING                     Yes       2          2             Y N N Y N Y PATCH_HIST_IN_DB                 Yes       6          6             Y N N Y N Y SCHEMA_SWAP                      Yes       1          1             Y N N Y Y Y JAVA_WORKER                      Yes       1          1             Y N N Y N Y CODELEVEL                        Yes       1          1             Y N N Y N Y

 

Identifier for the current session is 549206

Reading product information from file...

Reading language and territory information from file...

Reading language information from applUS.txt ...

AutoPatch warning:  Product Data File  /u02/TM12/apps/apps_st/appl/admin/zfaprod.txt  does not exist for product "zfa". This product is registered in the database but the above file does not exist in APPL_TOP.  The product will be ignored without error.

AutoPatch warning:  Product Data File  /u02/TM12/apps/apps_st/appl/admin/zsaprod.txt  does not exist for product "zsa". This product is registered in the database but the above file does not exist in APPL_TOP.  The product will be ignored without error.

AutoPatch warning:  Product Data File  /u02/TM12/apps/apps_st/appl/admin/jtsprod.txt  does not exist for product "jts". This product is registered in the database but the above file does not exist in APPL_TOP.  The product will be ignored without error.

Reading database to see what industry is currently installed.

Reading FND_LANGUAGES to see what is currently installed. Currently, the following languages are installed:

Code   Language                                Status ----   --------------------------------------- --------- US     American English                        Base ZHS    Simplified Chinese                      Install

Reading language information from applZHS.txt ...

Your base language will be AMERICAN.

Your other languages to install are: SIMPLIFIED CHINESE

Setting up module information. Reading database for information about the modules. Saving module information. Reading database for information about the products. Reading database for information about how products depend on each other. Reading topfile.txt ...

Saving product information.

AD code level : [B.1]

Not checking the system maintenance mode.

 

Trying to obtain a lock...

Attempting to instantiate the current-view snapshot...

  Was already instantiated. So no instantiation done this time.

     **************** S T A R T   O F   U P L O A D ****************

Start date: Thu Nov 17 2016 16:43:57

 

0 "left over" javaupdates.txt files uploaded to DB: Thu Nov 17 2016 16:43:57

0 patches uploaded from the ADPSV format patch history files: Thu Nov 17 2016 16:43:57

Uploading information about files copied during the previous runs ...

0 "left over" filescopied_<session_id>.txt files uploaded to DB: Thu Nov 17 2016 16:43:57

     ****************** E N D   O F   U P L O A D ******************

 

End date: Thu Nov 17 2016 16:43:57

 

Enter the directory where your Oracle Applications patch has been unloaded

The default directory is [/u02/adpatchtest/9287896] :

Please enter the name of your AutoPatch driver file : u9287896.drv

Getting Oracle Applications Release...

Current installed release is  12.1.1

Reading patch driver file...

  Parsing and loading patch driver file...          46 lines processed.

  Not checking patch integrity as integrity checking flag is turned off.

Successfully read patch driver file.

Determining target release...

Current target    release is  12.1.1

This Patch seems to have been applied already. Would you like to continue anyway  [N] ? y

-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - This base patch contains files which may require translation depending on the languages you currently have installed.

Oracle Corporation recommends that you obtain any translated versions of this patch for each of your non-US languages PRIOR to applying this base patch.

The translated version of the patch should be applied immediately AFTER applying this base patch. -- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Do you wish to apply this patch now [No] ? yes

Determining which bug fixes to apply...

Done determining which bug fixes to apply.

Log and Info File sync point:   Thu Nov 17 2016 16:44:23

Turning off actions that reference unrecognized products.

Log and Info File sync point:   Thu Nov 17 2016 16:44:23

End of unrecognized products checking.

 

AD utilities can support a maximum of 999 workers. Your current database configuration supports a maximum of 150 workers. Oracle recommends that you use between 48 and 96 workers.

Enter the number of parallel workers [48] : 24

AutoPatch will run in parallel mode.

Did not need to apply new applterr.txt.

Applying new applprod.txt (if any)...

  Did not need to apply new applprod.txt.

Performing version checking for driver files...

Copying driver files into installation area...

  No driver files were selected for copying.

Skipping...  ForceCopy driver files into installation area for Specified driver  since no such action is present for this driver file

Screening out files not valid for this installation...

Determining valid on-site files...

Skipping...  Extract object modules from libraries for Specified driver  since no such action is present for this driver file

Performing version checking...

Log and Info File sync point:   Thu Nov 17 2016 16:44:27   AutoPatch found some files which it will not apply.   These files are listed in the AutoPatch informational message file.

Skipping...  Determine directories to create for Specified driver  since no such action is present for this driver file

Skipping...  Determine executables to link for Specified driver  since no such action is present for this driver file

Skipping...  Determine forms to generate for Specified driver  since no such action is present for this driver file

Skipping...  Determine Oracle Reports libraries to generate for Specified driver  since no such action is present for this driver file

Determining what Oracle Reports files to generate...

Skipping...  Determine if need to generate message files for Specified driver  since no such action is present for this driver file

Looking for active bug fixes with no active actions...

Reading customized files list (if any)...

Did not find customized files registration file "/u02/TM12/apps/apps_st/appl/admin/applcust.txt" The file may have been uploaded to the database.

This patch replaces the following customized files:

  No customized files are replaced by this patch.

Copying files into installation area...

  No files were selected for copying.

Skipping...  ForceCopy files into installation area for Specified driver  since no such action is present for this driver file

Skipping...  Archive object modules into product libraries for Specified driver  since no such action is present for this driver file

Skipping...  Create Directories for Specified driver  since no such action is present for this driver file

Skipping...  Relink for Specified driver  since no such action is present for this driver file

Performing second half of mirrored copies...

  No mirrored copies were executed in this patch.

Updating Oracle Applications Java files if necessary...

  No Oracle Applications Java files required updates.

  Checking to see if any files possibly included in the product JAR files   were copied by this patch...

    No files possibly included in the product JAR files     were copied by this patch.

Skipping ...   Running AutoConfig to instantiate templates which affect   the generation of JAR files since none of these templates   were patched during this run of adpatch.

 

   No product JAR files need to be re-generated.

Checking to see if adjborg.txt or any files included in   adjborg.txt were copied by this patch...

   Neither adjborg.txt nor any file included in    adjborg.txt was copied by this patch.

  Checking to see if adjborg2.txt or any files included in   adjborg2.txt were copied by this patch...

   Neither adjborg2.txt nor any file included in    adjborg2.txt was copied by this patch.

Compiling JSP files...

  Not compiling JSPs: no JSPs in patch.

  No JSP files were compiled.

Skipping...  Run SQL scripts and EXEC commands for Specified driver  since no such action is present for this driver file

Skipping...  Compile invalid objects for Specified driver  since no such action is present for this driver file

Skipping...  Generate forms library files for Specified driver  since no such action is present for this driver file

Skipping...  Generate forms menu files for Specified driver  since no such action is present for this driver file

Skipping...  Generate forms for Specified driver  since no such action is present for this driver file

Skipping...  Generate reports libraries for Specified driver  since no such action is present for this driver file

Generating reports...

  No reports were selected for generation.

Skipping...  Generate Messages for Specified driver  since no such action is present for this driver file

Skipping...  Generate Workflow resource files for Specified driver  since no such action is present for this driver file

Skipping ...  Running AutoConfig since none of its templates were  patched during this run of adpatch.

Saving Patch History information to Database...

Trying to obtain a lock...

> Inserted 1 patch history records (total).

Gathering Statistics for AD_PATCH_HIST_TEMP

Done Gathering Statistics for AD_PATCH_HIST_TEMP

>>> Inserted 1 bug history records for this patch (total). >>>>> Inserted 0 action history records for this bug (total).

Gathering Statistics for AD_PATCH_HIST_TEMP

Done Gathering Statistics for AD_PATCH_HIST_TEMP

>>> Inserted 1 bug history records for this patch (total). >>>>> Inserted 0 action history records for this bug (total).

 

  Updating the current-view snapshot...

  Done saving Patch History information.

About to do IREP processing...

  Attempting to process IREP files ...

  Successfully processed IREP files.

Done IREP processing.

Copying applprod.tmp to applprod.txt (if needed)...

  Did not need to copy applprod.tmp to applprod.txt.

Copying admin/<sid>/applterr.txt to admin/applterr.txt (if needed)...

Did not need to copy admin/TM12/applterr.txt to admin/applterr.txt.

There is no timing information available for the current session.

AutoPatch is complete.

AutoPatch may have written informational messages to the file /u02/TM12/apps/apps_st/appl/admin/TM12/log/adpatch.lgi

Errors and warnings are listed in the log file /u02/TM12/apps/apps_st/appl/admin/TM12/log/adpatch.log

and in other log files in the same directory.

 

posted @ 2016-12-07 18:12  Ayumie  阅读(852)  评论(0编辑  收藏  举报