Auto Config completed with Error in DB Tire : java.lang.UnsatisfiedLinkError: njni11
*****************************************************************
Running AutoConfig On DB Node Reports: UnsatisfiedLinkError
Exception Loading Native Library: njni11 while DB upgraded to 11.2.0.2
Recently While DB Upgraded from 11.1.0.7 to 11.2.0.2 , while running autoconfig below is the error
Context Value Management will now update the Context file
UnsatisfiedLinkError exception loading native library: njni11
java.lang.UnsatisfiedLinkError: njni11 (No such file or directory)
Updating Context file...COMPLETED
Attempting upload of Context file and templates to database...COMPLETED
Updating rdbms version in Context file to db112
Updating rdbms type in Context file to 64 bits
Configuring templates from ORACLE_HOME ...
AutoConfig completed successfully.
Solution :
*******
This issue because of Database 11.2 it only comes with 64bit libraries, but we are still trying to use 32bit java as defined by context variables s_jdktop and s_jretop which points to ORACLE_HOME/appsutil/jre
So changed the s_jdktop and s_jretop in $CONTEXT_FILE to point to $ORACLE_HOME/jdk/jre and ran the autoconfig and if went successful.
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 db112
Updating rdbms type in Context file to 64 bits
Configuring templates from ORACLE_HOME ...
AutoConfig completed successfully.
############################################################################3
*****************************************************************
Running AutoConfig On DB Node Reports: UnsatisfiedLinkError
Exception Loading Native Library: njni11 while DB upgraded to 11.2.0.2
Recently While DB Upgraded from 11.1.0.7 to 11.2.0.2 , while running autoconfig below is the error
Context Value Management will now update the Context file
UnsatisfiedLinkError exception loading native library: njni11
java.lang.UnsatisfiedLinkError: njni11 (No such file or directory)
Updating Context file...COMPLETED
Attempting upload of Context file and templates to database...COMPLETED
Updating rdbms version in Context file to db112
Updating rdbms type in Context file to 64 bits
Configuring templates from ORACLE_HOME ...
AutoConfig completed successfully.
Solution :
*******
This issue because of Database 11.2 it only comes with 64bit libraries, but we are still trying to use 32bit java as defined by context variables s_jdktop and s_jretop which points to ORACLE_HOME/appsutil/jre
So changed the s_jdktop and s_jretop in $CONTEXT_FILE to point to $ORACLE_HOME/jdk/jre and ran the autoconfig and if went successful.
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 db112
Updating rdbms type in Context file to 64 bits
Configuring templates from ORACLE_HOME ...
AutoConfig completed successfully.
############################################################################3
No comments:
Post a Comment