This discussion is archived
6 Replies Latest reply: Jul 4, 2013 10:26 PM by Asif Muhammad RSS

error running autoconfig on apps tier

951027 Newbie
Currently Being Moderated

Hello all

I am using R12 (12.1.3)

on linux 5.8

while running autoconfig from apps tier im getting below error

]$ ./adautocfg.sh
Enter the APPS user password:

The log file for this session is located at: /d01/r12/r12u/inst/apps/XYZ_xyz/admin/log/07041249/adconfig.log

AutoConfig is configuring the Applications environment...

AutoConfig will consider the custom templates if present.
        Using CONFIG_HOME location     : /d01/r12/r12u/inst/apps/XYZ_xyz
        Classpath                   : /d01/r12/r12u/apps/apps_st/comn/java/lib/appsborg2.zip:/d01/r12/r12u/apps/apps_st/comn/java/classes

AC-10006: Exception - org.xml.sax.SAXParseException: file:/d01/r12/r12u/inst/apps/XYZ_xyz/appl/admin/XYZ_xyz.xml<Line 1, Column 1>: XML-20108: (Fatal Error) Start of root element expected. thrown while creating OAVars object for file: /d01/r12/r12u/inst/apps/XYZ_xyz/appl/admin/XYZ_xyz.xml

file:/d01/r12/r12u/inst/apps/XYZ_xyz/appl/admin/XYZ_xyz.xml<Line 1, Column 1>: XML-20108: (Fatal Error) Start of root element expected.
ERROR: Version Conflicts utility failed.
Terminate.

In the log it says

 

Starting AutoConfig at Thu Jul  4 12:49:40 2013
Using adconfig.pl version 120.26

        Classpath                   : /d02/r12/r12u/apps/apps_st/comn/java/lib/appsborg2.zip:/d02/r12/r12u/apps/apps_st/comn/java/classes

null
ERROR: Version Conflicts utility failed.
Terminate.

The logfile for this session is located at: /d02/r12/r12u/inst/apps/XYZ_xyz/admin/log/07041249/adconfig.log

 

Thanks

  • 1. Re: error running autoconfig on apps tier
    Asif Muhammad Guru
    Currently Being Moderated

    Hi,

     

    It seems you will have to rebuild you XML context file

     

    You will find more details to troubleshoot on the logfile, Please post the content here:

    /d02/r12/r12u/inst/apps/XYZ_xyz/admin/log/07041249/adconfig.log

     

    Also refer the following notes:

    Autoconfig Error "Version Conflicts utility failed" [ID 437441.1]


    Hope this helps!,

    Regards

  • 2. Re: error running autoconfig on apps tier
    951027 Newbie
    Currently Being Moderated

    Thanks asif.

     

    I have already gave you the log file in my previous comment

     

         /d01/r12/r12u/inst/apps/XYZ_xyz/admin/log/07041249/adconfig.log

     

    Starting AutoConfig at Thu Jul  4 12:49:40 2013
    Using adconfig.pl version 120.26

            Classpath                   : /d02/r12/r12u/apps/apps_st/comn/java/lib/appsborg2.zip:/d02/r12/r12u/apps/apps_st/comn/java/classes

    null
    ERROR: Version Conflicts utility failed.
    Terminate.

    The logfile for this session is located at: /d02/r12/r12u/inst/apps/XYZ_xyz/admin/log/07041249/adconfig.log

     

     

    Autoconfig Error "Version Conflicts utility failed" [ID 437441.1]

    this is applicable for Oracle Applications Manager - Version 11.5.10.2 to 11.5.10.2 [Release 11.5.10]

     

    Im refering to R12 (12.1.3)

     

    I did tried to rebuild it but failed

     

    bin]$ adbldxml.pl tier=apps appsuser=apps appspasswd=passwd

     

    Invalid argument Found **

            USAGE:
              ./adbldxml.pl [appsuser=<appsusername>] [appspass=<appspassword>]
                         [template=<contexttemplatepath>] [log=<logfilepath>] [out=<contextfilepath>]
                         [servername=<hostname>] [jtop=<jre/jdk location>]
              For help, use ./adbldxml.pl [-]help
            WHERE:
          <appsusername>        : Apps user name, defaults to "apps".
              <appspassword>        : Apps password, prompts if not passed.
              <contexttemplatepath> : Complete path to context template. If not specified, default template will be
                                      For db tier   : " <ORACLE_HOME>/appsutil/template/adxdbctx.tmp "
              <logfilepath>         : Complete path of log file. If not specified, the file will be automatically created in
                                      For db tier   : " <ORACLE_HOME>/appsutil/log/<s_contextname> "
              <contextfilepath>     : Complete path of output context file. If not specified, the file will be
                                      For db tier   : " <ORACLE_HOME>/appsutil/<s_contextname>.xml "
              <hostname>            : Server for which database context File is to be generated.
              <jtop>                : Complete path to JRE_TOP or JDK_TOP, depending on the the RDBMS version(db tier only)

     

     

    bin]$ adbldxml.pl appsuser=apps appspasswd=passwd

     

     

    Incorrect environment file sourced. Unset apps environment

    and source RDBMS oracle home environment file.

  • 3. Re: error running autoconfig on apps tier
    Asif Muhammad Guru
    Currently Being Moderated

    Hi,

     

    Apologies for not focussing on your application version:

     

    Take a backup of your existing Apps XML context file.

     

    You may regenerate you xml file using:

    perl $COMMON_TOP/clone/bin/adclonectx.pl retrieve

     

    Do some google search for further instructions:

    http://www.appsdbatraining.com/2012/09/25/adbldxml-pl-oracle-apps/

     

    Hope this helps!

    Regards

  • 4. Re: error running autoconfig on apps tier
    951027 Newbie
    Currently Being Moderated


    well i did that now landed up in more problem i guess

     

    while runing the adautocfg

     

    im getting this error

     

    ERROR: Directory /d02/r12/r12appl/au/11.5.0/perl doesn't exist

  • 5. Re: error running autoconfig on apps tier
    Hussein Sawwan-Oracle Employee ACE
    Currently Being Moderated
    ERROR: Directory /d02/r12/r12appl/au/11.5.0/perl doesn't exist


    This directory should exist. If the directory is missing, please restore it from your backup or copy it from your source instance (if you are cloning this instance).


    Thanks,

    Hussein

  • 6. Re: error running autoconfig on apps tier
    Asif Muhammad Guru
    Currently Being Moderated

    Hi,

     

    As mentioned by Hussein, the directory should exist.. Please confirm whether you are trying to run a post clone...

     

    Also, please ensure the directory exist in the respective location and,

    if the directory exist it has adequate permission.

     

    Please explain the recent changes you made if any, and what is the reason for autconfig if no changes were made.

     

    Regards

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points