Friday, September 20, 2013

UnsatisfiedLinkError exception loading native library: njni11

UnsatisfiedLinkError exception loading native library: njni11 while running Autoconfig on DB Node

After upgrading database to 11GR2, This issue can occur.

While running autoconfig on the DB node this error occured.

java.lang.UnsatisfiedLinkError: /u01/CRP1/db/tech_st/11.2.0/lib/libnjni11.so: /u01/2CRP1/db/tech_st/11.2.0/lib/libnjni11.so: wrong ELF class: ELFCLASS64 (Possible cause: architecture word width mismatch)


FiX
---

To fix this issue, Edit the database node xml as below and re-run the autoconfig.

From
----
<          <JDK_TOP oa_var="s_jdktop">/u01/CRP1/db/tech_st/11.2.0/appsutil/jre</JDK_TOP>
<          <JRE_TOP oa_var="s_jretop">/u01/R12CRP1/db/tech_st/11.2.0/appsutil/jre</JRE_TOP>

To
---
>          <JDK_TOP oa_var="s_jdktop">/u01/CRP1/db/tech_st/11.2.0/jdk/jre</JDK_TOP>
>          <JRE_TOP oa_var="s_jretop">/u01/CRP1/db/tech_st/11.2.0/jdk/jre</JRE_TOP>



Note:
----
From 11gR2 DB version onwards AutoConfig on DB node uses the JRE from <Oracle_Home>/jdk/jre where as earlier versions of DB uses JRE from $ORACLE_HOME/appsutil/jre  Ref Note 1467892.1

4 comments:

  1. Regards
    Sridevi Koduru (Senior Oracle Apps Trainer Oracleappstechnical.com)
    LinkedIn profile - https://in.linkedin.com/in/sridevi-koduru-9b876a8b
    Please Contact for One to One Online Training on Oracle Apps Technical, Financials, SCM, Oracle Manufacturing, OAF, ADF, SQL, PL/SQL, D2K at sridevikoduru@oracleappstechnical.com | +91 - 9581017828.

    ReplyDelete
  2. Custom essay writing service offer quality and reliable help with writing essays. As opposed to concentrating on yourself in finding courses as for how you can beat the due date, you can basically rely on upon our master writers to make each vital stride. With our services, you can accommodatingly sit tight for the last yield as we do the straggling leftovers of the writing task. Set aside your burdens and let us handle the work with Essay writing service.

    ReplyDelete
  3. I have completely read this article & there is no doubt that this article is highly informative. I am sure that you will update the public from this type of information on regular basis. I really like your post. college essay writing tips

    ReplyDelete
  4. I am reading this whole blog. Your blog is very informative and useful. I am very happy about this blog. This is my first visit in this website. I will bookmark your web. I want to say thank you for sharing. Custom Essay Writing Service

    ReplyDelete