Tuesday, October 25, 2016

Generate CONTEXT FILE USING AUTOCONFIG while upgrade

When Upgrading Database on EBS (11.2.4 to 12.1.0)
Generate CONTEXT FILE USING AUTOCONFIG while upgrade 

For generating a context file .Before running autoconfig follow steps

Go to Application Tier first
--------------------------------
All services are stopped now.

If You execute autoconfig .It will generate an error

execute
---------
Execute admkappsutil.pl utility to create the file appsutil.zip
$ perl $AD_TOP/bin/admkappsutil.pl admkappsutil.pl utility will create appsutil.zip in $INST_TOP/admin/out directory

copy this appsutil.zip to database tier under ORACLE HOME folder.

Now under new Oracle Home where .appsutil.zip  is copied

Copy the created appsutil.zip file from $INST_TOP/admin/out to the

 Uncompress appsutil.zip under the  

     $ cd $ORACLE_HOME
     $ unzip -o appsutil.zip
Step 4: Create Contextfile

     $ cd $ORACLE_HOME/appsutil/bin
$ perl adbldxml.pl appsuser=apps password=***

(Issues you will face) 
perl and java 
(perl adbldxml.pl
Can't locate Config.pm (Go to perl adbldxml.pl document) and find out the solution 
export Perl file 

and java You need to set jtop (example JTOP not found at its desired location /u01/oracle/OFIN/12102/jdk
Restart adbldxml.pl with valid jtop or without jtop(to take default JRE_TOP)

execute 
perl adbldxml.pl jtop=$ORACLE_HOME/12102/jdk/

it will complete successfully.

context file will be generated.

Go to APPLICATION Tier 
and execute autoconfig





 

No comments: