2 Replies Latest reply: Feb 4, 2013 5:04 AM by yoonas RSS

    DB Autoconfig fails

    Russell H.
      Hi,
      Running R12.1.1 Demo on Oracle Linux.

      Been having a few issues with the tnsnames.ora and listener.ora files, so I've gone to run the DB Autoconfig.
      The database listener is up and running and so is the database.

      I get the following in the adconfig.log

      Updating local context file variables for Database Tier
      Getting listener port from /u01/ebs/R12VIS/db/tech_st/11.1.0/network/admin/VIS_oel63/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.<init>(Unknown Source)
           ... 10 more

      No other errors where present in the log file.

      Anyone able to help point me in the right direction.

      Cheers,
      Russ H
        • 1. Re: DB Autoconfig fails
          EBSDBA
          Hi,

          Do you have the latest autoconfig and TXK Patches?

          And is the environment file sourced?

          What is the value of $TNS_ADMIN?

          Please post the listener.ora file from $TNS_ADMIN folder (cd $TNS_ADMIN)

          And also, please post the output of

          grep dbport $CONTEXT_FILE

          Thanks
          • 2. Re: DB Autoconfig fails
            yoonas
            Hi,

            See MOS note : Running Autoconfig on DB Tier Errors With: Unsatisfiedlinkerror Exception Loading Native Library: Njni11 [ID 1103163.1]

            Regards
            Yoonas

            Edited by: yoonus on Feb 4, 2013 3:04 AM