Tag Archives: AutoPatch error

Error updating master archive

Problem:

When applying patch 4104924, the following error appears:

AutoPatch error:
ERROR
[code language="1"][/code]
[/code]
 Running adjopy.class
AutoPatch error:
Error updating master archive

Solution:

LD_ASSUME_KERNEL not set

export LD_ASSUME_KERNEL=2.4.19

Grants missing after applying patch 6502082

Problem: The following error occurs when applying patch 6502082 for the second time:

AutoPatch error:

Your database is missing important grants on SYS objects.

To fix this:

1) Log on as the database server owner, and set your environment for maintaining your database server.  Create a directory called $ORACLE_HOME/appsutil/admin and copy $APPL_TOP/admin/adgrants.sql to that directory.

2) Connect to the database as the SYS user and run adgrants.sql passing the name of the schema containing FND tables. For example, if the schema that contains FND tables in your database is called APPLSYS, you would run adgrants.sql as follows:

$ cd $ORACLE_HOME/appsutil/admin

$ sqlplus /nolog

SQL> connect / as sysdba

SQL> @adgrants.sql APPLSYS

Solution: Perform steps listed above

ojspcompile.pl Errors With ‘Xml File Not Found’

After running patch 4712852,

error! could not find autoconfigure’s XMLFILE

Solution: Metalink Doc ID: 374676.1 (Subject: Ojspcompile.pl Errors With ‘Xml File Not Found’ During Patching In a RAC Environment)

had the following solution:

To implement the solution, please execute the following steps:

1. Apply 4709948, ‘TXK (FND) AUTOCONFIG TEMPLATE ROLLUP PATCH M (APRIL 2006)’
2. Retest.

This patch is included in patch 5759055, which will be applied next.

SOLUTION:

Rreran patch 4712852, perl -x /emca/PROD/prodappl/jtf/11.5.0/admin/scripts/ojspCompile.pl –compile –quiet
ran successfully.

Failed to generate product JAR files in JAVA_TOP

Problem: While applying patch 3218526, the following error occurs:

Failed to generate product JAR files in JAVA_TOP -
   /u02/bravo/bravocomn/java.

adogjf() Unable to generate jar files under JAVA_TOP

AutoPatch error:
Failed to generate the product JAR files

You should check the file
/u02/bravo/bravoappl/admin/bravo/log/adpatch_3218526_20070628a.log

for errors.

Solution:

Issue encountered while running this patch on BRAVO.

To resolve this issue, on the AP node (web tier):

1. Source the environment
2. Run:
adjkey -initialize
3. Run:
adjbuild.sh /u0/bravo/bravocomn/util/jinitiator /u0/bravo/bravocomn/util/jinitiator/jinit11816.exe
4. Run adadmin on both nodes and generate product jars