Adconfig With 11gR2 Database Tier On Linux (64bit) Encounters java.lang.reflect.InvocationTargetException (Doc ID 1635679.1)

Last updated on AUGUST 22, 2015

Applies to:

Oracle Applications DBA - Version 12.1.1 to 12.1.1 [Release 12.1]
Information in this document applies to any platform.

Symptoms

On Oracle Applications 12.1.1 version,
after upgrading the database server from 10.2.0.5 to 11.2.0.4.0,
when attempting to run autoconfig on the Database tier the following error occurs:

Updating local context file variables for Database Tier
Getting listener port from /ms/dist/orcl/PROJ/product/11.2.0.4.1_OF_12/exec/network/admin/HKTORTGL_hkcydb50/listener.ora
Exception occurred while preseeding variables in the context file: java.lang.reflect.InvocationTargetException


StackTrace:
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at oracle.apps.ad.tools.configuration.CVMHelper.getCurrentPort(CVMHelper.java:601)
at oracle.apps.ad.tools.configuration.CVMHelper.processDBTierListener(CVMHelper.java:488)
at oracle.apps.ad.tools.configuration.CVMHelper.processLocalConfig(CVMHelper.java:771)
at oracle.apps.ad.context.CtxValueMgt.preSeed2Ctx(CtxValueMgt.java:1813)
at oracle.apps.ad.context.CtxValueMgt.processCtxFile(CtxValueMgt.java:1610)
at oracle.apps.ad.context.CtxValueMgt.main(CtxValueMgt.java:755)
Caused by: java.lang.UnsatisfiedLinkError: oracle.net.common.NetGetEnv.get(Ljava/lang/String;)Ljava/lang/String;
at oracle.net.common.NetGetEnv.get(Native Method)
at oracle.net.config.Config.getNetDir(Unknown Source)
at oracle.net.config.Config.initConfig(Unknown Source)
at oracle.net.config.Config.(Unknown Source)
... 10 more


The issue can be reproduced at will with the following steps:
1. Upgrade the database server from 10.2.0.5 to 11.2.0.4.0.
2 Run autoconfig on the Database tier.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms