4 Replies Latest reply on May 9, 2017 6:14 AM by #MVivek

    Error While Running Autoconfig on Patch FS || Error occured before Context Value Management could be completed // ERROR: Context Value Management Failed.

    #MVivek

      bash-3.2$

      bash-3.2$ sh adautocfg.sh

      Enter the APPS user password:

      The log file for this session is located at: /oradbf3/SIT922/oracle/SIT9/fs2/inst/apps/SIT9_egluatfidb/admin/log/05072253/adconfig.log

       

      AutoConfig is configuring the Applications environment...

       

      AutoConfig will consider the custom templates if present.

              Using CONFIG_HOME location     : /oradbf3/SIT922/oracle/SIT9/fs2/inst/apps/SIT9_egluatfidb

              Classpath                   : /oradbf3/SIT922/oracle/SIT9/fs2/FMW_Home/Oracle_EBS-app1/shared-libs/ebs-appsborg/WEB-

       

      INF/lib/ebsAppsborgManifest.jar:/oradbf3/SIT922/oracle/SIT9/fs2/EBSapps/comn/java/classes

              Using Context file          : /oradbf3/SIT922/oracle/SIT9/fs2/inst/apps/SIT9_egluatfidb/appl/admin/SIT9_egluatfidb.xml

       

      Context Value Management will now update the Context file

      Error occured before Context Value Management could be completed

      ERROR: Context Value Management Failed.

      Terminate.

       

      The logfile for this session is located at:

          /oradbf3/SIT922/oracle/SIT9/fs2/inst/apps/SIT9_egluatfidb/admin/log/05072253/adconfig.log

      bash-3.2$

      bash-3.2$

        • 1. Re: Error While Running Autoconfig on Patch FS || Error occured before Context Value Management could be completed // ERROR: Context Value Management Failed.
          #MVivek

          bash-3.2$

          bash-3.2$ tail -100f /oradbf3/SIT922/oracle/SIT9/fs2/inst/apps/SIT9_egluatfidb/admin/log/05072253/adconfig.log

          Starting AutoConfig at Sun May  7 22:53:21 2017

          Using adconfig.pl version 120.32.12020000.2

           

                  Classpath                   : /oradbf3/SIT922/oracle/SIT9/fs2/FMW_Home/Oracle_EBS-app1/shared-libs/ebs-appsborg/WEB-

          INF/lib/ebsAppsborgManifest.jar:/oradbf3/SIT922/oracle/SIT9/fs2/EBSapps/comn/java/classes

           

          ===========================================================================

          Starting Utility to Report Version Conflicts at Sun May 07 22:53:27 MYT 2017

          Using VersionConflictListGenerator.java version 120.4

          All driver files processed.

          No version conflict encountered.

          ===========================================================================

                  Using Context file          : /oradbf3/SIT922/oracle/SIT9/fs2/inst/apps/SIT9_egluatfidb/appl/admin/SIT9_egluatfidb.xml

          Attempting to create a back up of the Context file

          Created back up file of name :

                /oradbf3/SIT922/oracle/SIT9/fs2/inst/apps/SIT9_egluatfidb/admin/out/05072253/SIT9_egluatfidb.xml

          ===========================================================================

          Starting synchronization of file system Context file and its templates with those in the database

             Database connection     : Failed

             OAM Context editing support feature: Unverified

             OAM Customization support feature  : Unverified

             File system template    : /oradbf3/SIT922/oracle/SIT9/fs2/EBSapps/appl/ad/12.0.0/admin/template/adxmlctx.tmp

             Checking for customizations to Context template

             Warning: Unable to connect to Database.

                     If the system is OAM enabled, this may result in loss of customizations.

             Looking for custom template at : /oradbf3/SIT922/oracle/SIT9/fs2/EBSapps/appl/ad/12.0.0/admin/template/custom/adxmlctx.tmp

             Custom template         : Available

             Action to be taken      : Custom template to be recreated by adding customizations in the custom template to the actual template

             Result                  : Failed to append customizations

           

          StackTrace:

          java.lang.Exception: Failed to add customizations

                  at oracle.apps.ad.tools.configuration.FileSysDBCtxMerge.updTmplwithDBdown(FileSysDBCtxMerge.java:428)

                  at oracle.apps.ad.tools.configuration.FileSysDBCtxMerge.updateFileSysTemplate(FileSysDBCtxMerge.java:286)

                  at oracle.apps.ad.tools.configuration.FileSysDBCtxMerge.updateFileSysFiles(FileSysDBCtxMerge.java:211)

                  at oracle.apps.ad.context.CtxValueMgt.mergeCustomInFiles(CtxValueMgt.java:1814)

                  at oracle.apps.ad.context.CtxValueMgt.processCtxFile(CtxValueMgt.java:1632)

                  at oracle.apps.ad.context.CtxValueMgt.main(CtxValueMgt.java:787)

           

          ERROR: Context Value Management Failed.

          Terminate.

           

          The logfile for this session is located at:

              /oradbf3/SIT922/oracle/SIT9/fs2/inst/apps/SIT9_egluatfidb/admin/log/05072253/adconfig.log

           

          bash-3.2$

          bash-3.2$

          1 person found this helpful
          • 2. Re: Error While Running Autoconfig on Patch FS || Error occured before Context Value Management could be completed // ERROR: Context Value Management Failed.
            #MVivek

            checking :

             

            Step#1: tns problem - tnsping is working properly.

            step#2: listener - listener is up

            step#2: db status - DB must be up and running in open mode.

             

            Resolved the issues .

            And try again with adautocfg.sh and it is completed successfully.

             

            Thanks

            Vivek

            1 person found this helpful
            • 3. Re: Error While Running Autoconfig on Patch FS || Error occured before Context Value Management could be completed // ERROR: Context Value Management Failed.
              mdtaylor

              FYI, Autoconfig will always fail on the patch FS unless you are in the middle of a adop cycle because the patch edition does not exist until then.

              1 person found this helpful
              • 4. Re: Error While Running Autoconfig on Patch FS || Error occured before Context Value Management could be completed // ERROR: Context Value Management Failed.
                #MVivek

                adop i failed. because of context file as my earlier query.

                Because of that, adautocfg i have tried to run. Then it is failed.

                 

                Checked as above and successfully completed.

                 

                Then I run sequentially,

                 

                adop phase=abort

                adop phase=cleanup cleanup=full

                 

                Now all sessions are aborted and cleaned up successfully.

                 

                Thanks

                Vivek