AC-50480: Internal error occurred: java.lang.Exception: Error while generating listener.ora

PROBLEM:

Encounter the following error when running autoconfig on the ApplicationĀ  Tier.

ERROR:

Updating s_tnsmode to ‘generateTNS’
UpdateContext exited with status: 0
AC-50480: Internal error occurred: java.lang.Exception: Error while generating listener.ora.
Error generating tnsnames.ora from the database, temporary tnsnames.ora will be generated using templates
Instantiating Tools tnsnames.ora
Tools tnsnames.ora instantiated
Web tnsnames.ora instantiated

adgentns.pl exiting with status 2
ERRORCODE = 2 ERRORCODE_END
.end std out.

SOLUTION:

There is no information in the table FND_NODES for the database node. Which means that autoconfig has not executed on the Database Tier.
First need to run autoconfig on the database tier to populate the database node values in FND_NODES table then run autoconfig on Application Tier.

please execute the following steps:

1. Loging to as oracle user and perform the below steps
sqlplus apps/$apps
exec fnd_conc_clone.setup_clean

2. Run autoconfig.sh on db node.

3. Run autocnfig.sh on apps node.

Thank You !!

Post a comment or leave a trackback: Trackback URL.

Comments

  • Roshan  On February 13, 2016 at 6:10 am

    Hello,

    when I run autoconfig on the database tier it gives me error below:

    Classpath : :/u01/oracle/PREPROD/db/11.2.0/jdbc/lib/ojdbc6.jar:/u01/oracle/PREPROD/db/11.2.0/appsutil/java/xmlparserv2.jar:/u01/oracle/PREPROD/db/11.2.0/appsutil/java:/u01/oracle/PREPROD/db/11.2.0/jlib/netcfg.jar:/u01/oracle/PREPROD/db/11.2.0/jlib/ldapjclnt11.jar

    Using Context file : /u01/oracle/PREPROD/db/11.2.0/appsutil/PREPROD_erppreprod.xml

    Context Value Management will now update the Context file
    UnsatisfiedLinkError exception loading native library: njni11
    java.lang.UnsatisfiedLinkError: /u01/oracle/PREPROD/db/11.2.0/lib/libnjni11.so: /u01/oracle/PREPROD/db/11.2.0/lib/libnjni11.so: wrong ELF class: ELFCLASS64 (Possible cause: architecture word width mismatch)

    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 with errors.

    Rgds,
    Roshan

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: