After 9i to 10g upgrade, i am going to Implement and run Autoconfig on the new Database home.
When i was run adbldxml in database, i got following error message.
bash-2.05b$ perl adbldxml.pl tier=db appsuser=apps appspasswd=xxxxx
Starting context file generation for db tier..
JRE_TOP not found at its desired location /u01/11i/uat/oracle/uatdb/10.2.0/jre/1.1.8
Restart adbldxml.pl with value for jtop as an necessary arguement
Then i was try following command.....
bash-2.05b$ perl adbldxml.pl tier=db appsuser=apps appspasswd=xxxx jtop=/u01/11i/uat/oracle/uatdb/9.2.0/jre/1.4.2
Starting context file generation for db tier..
Using JVM from /u01/11i/uat/oracle/uatdb/9.2.0/jre/1.4.2/bin/java to execute java programs..
The log file for this adbldxml session is located at:
/u01/11i/uat/oracle/uatdb/10.2.0/appsutil/log/adbldxml_09060216.log
UnsatisfiedLinkError exception loading native library: njni10
Could not Connect to the Database with the above parameters, Please answer the Questions below
Enter Hostname of Database server: zeus
Enter Port of Database server: 1521
Enter SID of Database server: uat
For errors, Check log file :/u01/11i/uat/oracle/uatdb/10.2.0/appsutil/log/adbldxml_09060216.log
Here i got following error message on logfile.
The Autoconfig log file reports following error :
StackTrace:
java.lang.ArrayIndexOutOfBoundsException: 3 >= 3
at java.util.Vector.setElementAt(Vector.java:543)
at oracle.apps.ad.context.GenerateContext.setJRETOP(GenerateContext.java:7483)
at oracle.apps.ad.context.GenerateContext.InstantiateRestForDB(GenerateContext.java:3057)
at oracle.apps.ad.context.GenerateContext.main(GenerateContext.java:8150)
Then i was applied latest AUTOCONFIG TEMPLATE ROLLUP PATCH. Then i resloved that problem.
Solution
To implement the solution, please execute the following steps :
1. Download and apply Patch 4709948 - 'TXK (FND) AUTOCONFIG TEMPLATE ROLLUP PATCH M (APRIL 2006)', which brings the latest Release of the GenerateContext.java used to build the context file
After Applied this patch, i was sucessfully created in XML file.
2. Synchronize the APPS-Tier files with the DB-Tier - appsutil directory
3. Execute Autoconfig on the DB-Tier
Result
bash-2.05b$ pwd
/u01/11i/uat/oracle/uatdb/10.2.0/appsutil/bin
bash-2.05b$ perl adbldxml.pl tier=db appsuser=apps appspasswd=xxxxxx
Starting context file generation for db tier..
Using JVM from /u01/11i/uat/oracle/uatdb/10.2.0/jdk/bin/java to execute java programs..
The log file for this adbldxml session is located at:
/u01/11i/uat/oracle/uatdb/10.2.0/appsutil/log/adbldxml_09060343.log
Enter the value for Display Variable: zeus:0.0
The context file has been created at:
/u01/11i/uat/oracle/uatdb/10.2.0/appsutil/uat_zeus.xml
========================
bash-2.05b$ adconfig.sh
Enter the full path to the Context file: /u01/11i/uat/oracle/uatdb/10.2.0/appsutil/uat_zeus.xml
Enter the APPS user password:
The log file for this session is located at: /u01/11i/uat/oracle/uatdb/10.2.0/appsutil/log/uat_zeus/09060347/adconfig.log
AutoConfig is configuring the Database environment...
AutoConfig will consider the custom templates if present.
Using ORACLE_HOME location : /u01/11i/uat/oracle/uatdb/10.2.0
Classpath : :/u01/11i/uat/oracle/uatdb/10.2.0/jdk/jre/lib/charsets.jar:/u01/11i/uat/oracle/uatdb/10.2.0/jdk/jre/lib/core.jar:/u01/11i/uat/oracle/uatdb/10.2.0/jdk/jre/lib/graphics.jar:/u01/11i/uat/oracle/uatdb/10.2.0/jdk/jre/lib/ibmcertpathprovider.jar:/u01/11i/uat/oracle/uatdb/10.2.0/jdk/jre/lib/ibmjaaslm.jar:/u01/11i/uat/oracle/uatdb/10.2.0/jdk/jre/lib/ibmjcefw.jar:/u01/11i/uat/oracle/uatdb/10.2.0/jdk/jre/lib/ibmjgssprovider.jar:/u01/11i/uat/oracle/uatdb/10.2.0/jdk/jre/lib/ibmjssefips.jar:/u01/11i/uat/oracle/uatdb/10.2.0/jdk/jre/lib/ibmjsseprovider.jar:/u01/11i/uat/oracle/uatdb/10.2.0/jdk/jre/lib/ibmorb.jar:/u01/11i/uat/oracle/uatdb/10.2.0/jdk/jre/lib/ibmorbapi.jar:/u01/11i/uat/oracle/uatdb/10.2.0/jdk/jre/lib/ibmpkcs.jar:/u01/11i/uat/oracle/uatdb/10.2.0/jdk/jre/lib/javaplugin.jar:/u01/11i/uat/oracle/uatdb/10.2.0/jdk/jre/lib/security.jar:/u01/11i/uat/oracle/uatdb/10.2.0/jdk/jre/lib/server.jar:/u01/11i/uat/oracle/uatdb/10.2.0/jdk/jre/lib/xml.jar:/u01/11i/uat/oracle/uatdb/10.2.0/jdk/lib/dt.jar:/u01/11i/uat/oracle/uatdb/10.2.0/jdk/lib/tools.jar:/u01/11i/uat/oracle/uatdb/10.2.0/jdbc/lib/ojdbc14.jar:/u01/11i/uat/oracle/uatdb/10.2.0/appsutil/java/xmlparserv2.zip:/u01/11i/uat/oracle/uatdb/10.2.0/appsutil/java:/u01/11i/uat/oracle/uatdb/10.2.0/jlib/netcfg.jar:/u01/11i/uat/oracle/uatdb/10.2.0/jlib/ldapjclnt10.jar
Using Context file : /u01/11i/uat/oracle/uatdb/10.2.0/appsutil/uat_zeus.xml
Context Value Management will now update the Context file
Updating Context file...COMPLETED
Attempting upload of Context file and templates to database...COMPLETED
Updating rdbms version in Context file to db102
Updating rdbms type in Context file to 64 bits
Configuring templates from ORACLE_HOME ...
AutoConfig completed successfully.
Upgrade to DB 10g fails with error - cannot generate contextfile Doc ID: Note:369179.1
No comments:
Post a Comment