Adclonectx pl vs adbldxml.pl

1.What is the difference between adclonectx pl vs adbldxml.pl
2.When to use what ?
3.Is the below thumb rule correct ?
"adbldxml.pl : to create database context file
adclonectx : to create appl tier context file"

udayjampani wrote:
1.What is the difference between adclonectx pl vs adbldxml.pladclonectx.pl is used to create the database context file.
adbldxml.pl is used to recover the application context file when it is lost.
2.When to use what ?Already answered above.
3.Is the below thumb rule correct ?
"adbldxml.pl : to create database context file
adclonectx : to create appl tier context file"Yes.
Using AutoConfig to Manage System Configurations in Oracle E-Business Suite Release 12 [ID 387859.1]
Thanks,
Hussein

Similar Messages

  • Adbldxml.pl issue

    Hi;
    I have been made moe to my win2003 32 bit server dbtier to win 2003 64 bit server dbtier on r12.0.4 wiht 10.2.0.2 db version. Now my db is up lsnr up and i can connect from apps tier to database(new db)
    I followed note:Using Oracle E-Business Suite Release 12 with a Database Tier Only Platform on Oracle 10g Release 2 [ID 456197.1]
    while i was try to enable autoconfig on new 64 bit db i follow this steps:
    set ORACLE_HOME=xxx\database\10.2.0
    set ORA_NLS10=xxx\database\10.2.0\nls\9idata
    set PATH=xxx\database\10.2.0\bin;%PATH%
    set LD_LIBRARY_PATH=xxx\database\10.2.0\lib
    set PERL5LIB=xxx\database\10.2.0\perl\5.8.3\lib\MSWin32-x86-multi-thread;xxx\database\10.2.0\perl\5.8.3\lib;xxx\database\10.2.0\perl\site\5.8.3\lib\MSWin32-x86-multi-thread;xxx\database\10.2.0\perl\site\5.8.3\lib;xxx\database\10.2.0\appsutil\perl
    set PERL=xxx/database/10.2.0/perl/5.8.3/bin/MSWin32-x86-multi-thread
    set PATH=%PERL%;%PATH%
    set ORACLE_SID=MYSID
    After those sets i follow:
    cd <RDBMS> $ORACLE_HOME>/appsutil/bin
    I run:
    C:\perl adbldxml.pl
    C:\
    Nothing happened, i try:
    C:\ perl adbldxml.pl tier=db appsuser=<APPSuser> appspasswd=<APPSpwd>
    C:\
    Nothing happened. I checked adbldxml.pl. It has this entery:
    FILENAME
    # | adbldxml.pl
    # |
    # | DESCRIPTION
    # | AutoConfig Tool to generate the Context file for APPL_TOP and the
    # | Database Oracle Home.
    # | This Tool has been obsoleted for R12. Its funcionality has been
    # | replaced by adclonectx.pl and the enhancement request in bug 5129854.
    What i have to do?I cant use adbldxml.pl no more?I should use adclonectx.pl? It doesnt harmful(its for clone as i know)
    After i cant run this, i try to enable my EBS, so i move to appstier. When i run autoconfig on appstier, i have below error in log file:
    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 512
    ERRORCODE = 512 ERRORCODE_END
    .end std out.
    .end err out.
    and also:
    [CVM Error Report]
    The following report lists errors encountered during CVM Phase
    <filename> <return code where appropriate>
    xxx\apps\testappl\ad\12.0.0\bin\adgentns.pl 512
    No of scripts failed in CVM phase: 1
    [AutoConfig Error Report]
    The following report lists errors AutoConfig encountered during each
    phase of its execution. Errors are grouped by directory and phase.
    The report format is:
    <filename> <phase> <return code where appropriate>
    [SETUP PHASE]
    AutoConfig could not successfully execute the following scripts:
    Directory: xxx\apps\CONTEXT FILE\admin\install
    adgendbc.cmd INSTE8_SETUP 1
    AutoConfig is exiting with status 1
    I found R12: adgentns.pl fails with AC-50480: Internal error occurred: java.lang.Exception: Error while generating listener.ora [ID 453901.1], but it direct me again to make enable autoconfig on dbtier
    Help please

    Hi Hussein;
    I didnt create new appsutil on appstier, i just copy it from apps tier to new db server. In that note it mention:
    Install the jre in the appsutil directory:
    Copy the jre from the old $ORACLE_HOME/appsutil/jre to the new $ORACLE_HOME/appsutil directory. Or download the jre from the Sun website.
    But in note Using Oracle E-Business Suite Release 12 with a Database Tier Only Platform on Oracle 10g Release 2 [ID 456197.1]
    For Windows x64, both BEA's JRockit JDK 5.0 and Sun's JDK 5.0 are certified - we currently recommend that Windows x64 users copy over the Sun's JDK/JRE from the database's JDK directory to appsutil with the following instructions:
    $ cd $ORACLE_HOME/appsutil
    $ mv jre jre_old
    $ mv clone/jre clone/jre_old
    $ cp -r $ORACLE_HOME/jdk/jre jre
    $ cp -r $ORACLE_HOME/jdk/jre clone/jre
    What i did, i made first 10.2.1.0 sotware installation then i go $ORACLE_HOME/jdk/jre than copy it to $ORACLE_HOME/appsutil and also clone/jre as note mention
    PS: I already install Java Development Kit (JDK) 5 on windows, question is i should copy jre from where i made this installation to appsutil/jre or i need to use $ORACLE_HOME/jdk/jre?? CONFUSED HERE!

  • Adclonectx.pl throwing classpath is not set properly error

    I recreated the appsutil folder on DB tier and now when I am running the below command to create the context file I am getting error.
    perl adclonectx.pl outfile=E:\R12\11.1.0\appsutil
    The above command is giving error, 'Please ensure that Classpath is set properly'
    Even though I have set the classpath to the below I am getting the error.
    SET CLASSPATH=E:\R12\11.1.0\jdbc\lib\ojdbc5.jar;E:\R12\11.1.0\appsutil\java\xmlparserv2.jar;E:\R12\11.1.0\appsutil\java;E:\R12\11.1.0\jlib\netcfg.jar;E:\R12\11.1.0\jlib\ldapjclnt11.jar
    SET PERL5LIB=E:\R12\11.1.0\perl\5.8.3\lib\MSWin32-X64-multi-thread;E:\R12\11.1.0\perl\5.8.3\lib;E:\R12\11.1.0\perl\site\5.8.3\lib\MSWin32-X64-ulti-thread;E:\R12\11.1.0\perl\site\5.8.3\lib;E:\R12\11.1.0\appsutil\perl

    Sami,
    Are you passing the template in the command as in (R12 adbldxml.pl AutoConfig Tool to Generate the Context File on the Database Tier [ID 1079053.1])?
    If this is a RAC-to-RAC cloning, please see (R12 RAC to RAC cloning fails with 'Please ensure that Classpath is set properly' [ID 966321.1]).
    Thanks,
    Hussein

  • How adbldxml.pl creates the new database tier context file

    We just completed database upgrade from 9.2.0.6 to 9.2.0.8 to 11gR2 for 11.5.10.2 financial (on Windows 2003).
    Application seems working fine after upgrade, autoconfig on application and database tiers are all success, but I have an issue with adbldxml.pl.
    I have tried to run adbldxml.pl after upgrade, I can not sync the <s_perl5lib> and <s_adperlprg> oa_var on context it created with oa_var I read from OAM.
    On OAM PROD > AutoConfig > Environments > oa_environment:db_home, it read as,
    <s_adperlprg>D:\oracle\proddb\11.2.0\perl\bin\perl.exe
    <s_perl5lib>D:\oracle\proddb\11.2.0\perl\lib\site_perl\5.10.0;D:\oracle\proddb\11.2.0\appsutil\perl
    but the db context file created by adbldxml.pl read as,
    <s_adperlprg>d:\oracle\proddb\11.2.0\Apache\perl\5.00503\bin\MSWin32-x86\perl.exe
    <s_perl5lib>d:\oracle\proddb\11.2.0\Apache\perl\5.00503\lib\MSWin32-x86;d:\oracle\proddb\11.2.0\Apache\perl\5.00503\lib;d:\oracle\proddb\11.2.0\Apache\perl\site\5.00503\lib\MSWin32-x86;d:\oracle\proddb\11.2.0\Apache\perl\site\5.00503\lib;d:\oracle\proddb\11.2.0\appsutil\perl;d:\oracle\proddb\11.2.0\appsutil\perl
    By my understanding, adbldxml.pl should take shell (DB DOS) evn perl settings to create context file, but it never takes env settings.
    I was wondering how does adbldxml.pl works? does it creates a context file by reading from database or take some templates or may be both? and eventually, how to solve the issue.
    thanks in advance.
    DW

    Thanks for reply.
    I did apply the TXK AUTOCONFIG AND TEMPLATES ROLLUP PATCH U (9535311), it was a success from adpatch.
    I did apply the clone patches per Cloning Oracle Application Release 11i with Rapid Clone [ID 230672.1] 5. Apply the lastest Rapid Clone patches
    I have completed a rapid clone into a test server and ran clone scripts on app tier and db tier, the cloned application works fine as I can tell.
    I have tried (Autoconfig FAQ [ID 218089.1]), "I was instructed to change the value of the context variables s_adperlprg and s_perl5lib. How can I achieve that?"
    on the test server by setting perl5lib to the location it should be, but I ran adautocfg.pl instead of adconfig.pl, did it make difference? my understanding that adautocfg.pl
    will call adconfig.pl, are they interchangeable?
    Can I run adconfig.pl with context=<the correct context file> will make difference?
    adbldxml.pl is really stubborn, just won't bend.
    Would you mind advice me which table(s) in database contains these variables, I understand that it is not a good idea to modify the data in database directly, just curious?
    thanks
    DW

  • Adclonectx.pl fails on db tier with RC-50004: Error occurred in CloneContext - using options addnode noprompt

    I'm trying to run adclonectx.pl non-interactively using a pairsfile and noprompt to automate my clone, this is to create the second node context file on the db tier of a 2 node Linux RAC environment and is the only bit that's still interactive so it would be really cool to get this working!
    I'm using a pairsfile with all the variables from a sucessfull interactive run, I probably need to add more variables to this file though I can't figure out what.
    Has anyone else got this working?
    EBS 12.1.3 DB 11.2.0.3 RAC.
    This is the command I run, I'm using host variables which are defined beforehand.
    --this bit just shows the variables are valid
    [orebsdba@dxd1client02 clone_dev]$ echo $CONTEXT_NAME2
    EBSDBA2_dxd1db02-ib
    [orebsdba@dxd1client02 clone_dev]$ echo $SRCCTX
    /u01/EBSDBA/product/11.2.0/appsutil/EBSDBA1_dxd1db01-ib.xml
    [orebsdba@dxd1client02 clone_dev]$ echo $NEWCTX
    /u01/EBSDBA/product/11.2.0/appsutil/EBSDBA2_dxd1db02-ib.xml
    [orebsdba@dxd1client02 clone_dev]$ cd ${ORACLE_HOME}/appsutil/clone/bin
    [orebsdba@dxd1client02 bin]$ cp ${SRCCTX} ${DBMNT}/${SID}/tmp
    [orebsdba@dxd1client02 bin]$ export APPSPWD=**********
    echo \$APPSPWD | perl ./adclonectx.pl \
    > contextfile=$SRCCTX \
    > template=$ORACLE_HOME/appsutil/template/adxdbctx.tmp \
    > outfile=$NEWCTX \
    > pairsfile=$PAIRSFILE \
    > addnode noprompt
    Copyright (c) 2002 Oracle Corporation
    Redwood Shores, California, USA
    Oracle Applications Rapid Clone
    Version 12.0.0
    adclonectx Version 120.23.12010000.1
    Running:
    /u01/EBSDBA/product/11.2.0/appsutil/clone/bin/../jre/bin/java -Xmx600M -classpath /u01/EBSDBA/product/11.2.0/appsutil/clone/bin/../jlib/ojdbc5.jar:/u01/EBSDBA/product/11.2.0/appsutil/clone/bin/../jlib/xmlparserv2.jar:/u01/EBSDBA/product/11.2.0/appsutil/clone/bin/../jlib/java oracle.apps.ad.context.CloneContext -e /u01/EBSDBA/product/11.2.0/appsutil/EBSDBA1_dxd1db01-ib.xml -tmpl /u01/EBSDBA/product/11.2.0/appsutil/template/adxdbctx.tmp -pairsfile /u01/EBSDBA/product/11.2.0/appsutil/clone/pairsfile2.txt -out /u01/EBSDBA/product/11.2.0/appsutil/EBSDBA2_dxd1db02-ib.xml -addnode -noprompt
    Log file located at /u01/EBSDBA/product/11.2.0/appsutil/log/CloneContext_0916151900.log
    RC-50004: Error occurred in CloneContext:
    null
    Check Clone Context logfile /u01/EBSDBA/product/11.2.0/appsutil/log/CloneContext_0916151900.log for details.
    ERROR: context creation not completed successfully.
    Log contains this:
    Using admin directory: /u01/EBSDBA/product/11.2.0/appsutil
    #------Log File time stamp: 0916151900------------
    # $Header: CloneContext.java 120.92.12010000.26 2013/05/06 12:02:01 mmanku ship $
    # Running on          - dxd1client02
    # Source Host         - null
    # Domain Name         - mgmt.shared.health.nz
    # Context Location    - /u01/EBSDBA/product/11.2.0/appsutil/EBSDBA1_dxd1db01-ib.xml
    # Context Type        - null
    # Context Template    - /u01/EBSDBA/product/11.2.0/appsutil/template/adxdbctx.tmp
    # Clone Stage Area    - null
    # Pairs File          - /u01/EBSDBA/product/11.2.0/appsutil/clone/pairsfile2.txt
    # Destination Context - /u01/EBSDBA/product/11.2.0/appsutil/EBSDBA2_dxd1db02-ib.xml
    # Validation          - false
    # Platform Migration  - false
    # no prompt           - true
    Variables extracted from pairsfile: /u01/EBSDBA/product/11.2.0/appsutil/clone/pairsfile2.txt
    ****************************************************/n
      s_undo_tablespace  =  APPS_UNDOTS2
      s_dbClusterInst  =  2
      s_db_oh  =  /u01/EBSDBA/product/11.2.0
      s_dbhost  =  dxd1db02-ib
      s_dbSid  =  EBSDBA2
      s_hostname  =  dxd1db02-ib
      s_dbGlnam  =  EBSDBA
      s_database_type  =  RAC
      s_virtual_hostname  =  dxd1db02-ib
      s_clusterInterConnects  =  dxd1db02-priv
      s_base  =  /u01/EBSDBA
      s_dbuser  =  orebsdba
      s_dbgroup  =  oinstall
      s_db_util_filedir  =  /u01/EBSDBA/tmp
      s_dbhome1  =  +DATA_DXD1
      s_display  =  dxd1db02-ib:0.0
      s_instName  =  EBSDBA2
      s_domainname  =  mgmt.shared.health.nz
      s_instThread  =  2
      s_dbCluster  =  true
      s_contextname  =  EBSDBA2_dxd1db02-ib
      s_dbdomain  =  mgmt.shared.health.nz
      s_instNumber  =  2
      s_db_ons_remoteport  =  6414
      s_db_ons_localport  =  6314
      s_cmanport  =  1535
      s_dbport  =  1535
      s_port_pool  =  14
    StackTrace:
    java.lang.NullPointerException
    at oracle.apps.ad.context.CloneContext$RACContext.checkRACDBConnection(CloneContext.java:6424)
    at oracle.apps.ad.context.CloneContext$RACContext.access$400(CloneContext.java:5655)
    at oracle.apps.ad.context.CloneContext.getInputDBRACAdd(CloneContext.java:1587)
    at oracle.apps.ad.context.CloneContext.getInputFromUsers(CloneContext.java:988)
    at oracle.apps.ad.context.CloneContext.doClone(CloneContext.java:601)
    at oracle.apps.ad.context.CloneContext.main(CloneContext.java:5266)
    RC-50004: Error occurred in CloneContext:
    null
    Context file creation not succesful
    I have been trying to work my way through the stack trace and the source code.  I can see that getInputFromUsers() is called and that then calls getInputDBRACAdd().   That will then call checkRACDBConnection().  The question is where in checkRACDBConnection() – source code below – is it finding the NULL?
    I am guessing that as we don’t see the following in the log file:
    LogFile.getLogFile().info("Attempting to connect to database using :\n");
    the NULL has to happen before this line.  This gives us to work with:
    s = CloneContext.access$2000(CloneContext.this).getReplValIgnoreCase("s_apps_user").toString();
            if(CloneContext.access$2500(CloneContext.this) == null)
                CloneContext.access$2502(CloneContext.this, CloneContext.access$1400(CloneContext.this, "APPS password is required to validate database connection \nEnter APPS Password [APPS]"));
            i = 0;
    _L2:
            String s1;
            if(i >= m_racHostList.length)
                break; /* Loop/switch isn't completed */
            s1 = (new StringBuilder()).append("jdbc:oracle:thin:@").append(m_racHostList[i]).append(".").append(m_racdomain).append(":").append(m_racPortList[i]).append(":").append(m_racSidList[i]).toString();
    Not  much.
    Could it be this?
    if(i >= m_racHostList.length)
    In which case perhaps s_rachostlist needs to be set?  But I think the length function should return 0 not NULL if something is unset, so perhaps not.
    I am not sure there would be a problem with s_apps_user or the string assignment.
    So perhaps it’s the loop.
    i = 0;
    _L2:
            String s1;
            if(i >= m_racHostList.length)
                break; /* Loop/switch isn't completed */
    ‘i’ is set to 0.  If m_racHostList.length is 0 that means it breaks out of the conditional and, though I don’t know enough Java to be sure, as the function throws an exception, perhaps it goes into the exception handler:
    catch(Exception exception)
                Object obj1 = null;
                String as[] = {
                    m_racSidList[i]
                String s2 = MessageHandler.getMessage("RC-40201", as, 0, false);
                LogFile.getLogFile().printStackTrace(exception);
                LogFile.getLogFile().info(s2);
                i++;
    But that gives us an RC-40201 message, which isn’t what I'm seeing.
    So I just don’t know, unless s_rachostlist is the key, I am out of ideas.
    Has anyone else done this?
    I've also raised an SR but haven't had a response yet.
    Thanks in advance.
    Jeremy

    further info..
    I've pulled these variables out of the java code and added them to the pairsfile which gets rid of the null value problem but now it returns a tns error..
    s_isDBCluster=Y
    s_rachostlist=dxd1db01-ib
    s_racdomain=xxxxxxxxxxxxxxx
    s_racsidlist=EBSDBA
    s_racportlist=1535
    s_rachostlist=dxd1db02-ib                      
    s_racvirtualhostlist=dxd1db02-ib                      
    s_racinstnumlist=2
    s_clusterInterConnects=dxd1db02-priv
    we noticed that s_rachostlist is used for two different values in the java code, interactilvey this value is prmpted for twice using the same variable - this may be causing our problem.
    strangely when run interactively the tns connectivity details are the same as when run interactively, the first works the latter doesn't ...
    we're thinking this could be a bug...
    Cheers
    Jeremy

  • 11.2.0.3 db upgrade - adbldxml.pl xml file has "allprod" as NULL

    We are doing a new implementation of Oracle EBS . So installed 12.1.1 with 11g R1 through rapid wiz and then did the 12.1.3 apps upgrade followed by the final database 11.2.0.3 upgrade. It is non-RAC database. So straightforward.
    Notes followed for 11.2.0.3 database upgrade
    a) Oracle 11g upgrade - 1058763.1
    b) Autoconfig on db tier - 387859.1 for the appsutil directory on the new 11.2.0.3 oracle home after the upgrade
    When i ran the adbldxml.pl after the 11.2.0.3 upgrade to generate the new context file, suprisingly it sets "allprod" and "allshareprod" and "allterr" tags as NULL also "dbtype" is showing as VISION. The original xml file (11g R1 home) prior to the 11.2.0.3 upgrade is filled with the RIGHT values for the "allprod" and "allshareprod" and "allterr" tags. Also the "dbtype" is PROD.
    I have started the apps after the 11.2.0.3 upgrade and The Oracle Applications Manager => License Manager is still showing all our products and country specific functionalities that i have chosen initially INTACT. (Financials, Service contracts etc.)
    But the concern is if i run the adautocfg.sh on the database tier with the new xml file (that contains "allprod" and "allshareprod" and "allterr" tags as NULL), will it update the database tables somewhere and disable all the products in License Manager ?
    From where does the adbldxml.pl is setting "allprod" and "allshareprod" and "allterr" tags as NULL , whereas the The Oracle Applications Manager => License Manager is still showing all our products and country specific functionalities that i have chosen initially INTACT
    -Thanks

    When i ran the adbldxml.pl after the 11.2.0.3 upgrade to generate the new context file, suprisingly it sets "allprod" and "allshareprod" and "allterr" tags as NULL also "dbtype" is showing as VISION. The original xml file (11g R1 home) prior to the 11.2.0.3 upgrade is filled with the RIGHT values for the "allprod" and "allshareprod" and "allterr" tags. Also the "dbtype" is PROD. I cannot find those context variables in the database context file. Could you please post them (context variables along with values) from your context file here?
    I have started the apps after the 11.2.0.3 upgrade and The Oracle Applications Manager => License Manager is still showing all our products and country specific functionalities that i have chosen initially INTACT. (Financials, Service contracts etc.)
    But the concern is if i run the adautocfg.sh on the database tier with the new xml file (that contains "allprod" and "allshareprod" and "allterr" tags as NULL), will it update the database tables somewhere and disable all the products in License Manager ?It will not.
    From where does the adbldxml.pl is setting "allprod" and "allshareprod" and "allterr" tags as NULL , whereas the The Oracle Applications Manager => License Manager is still showing all our products and country specific functionalities that i have chosen initially INTACTAgain, please elaborate more about those tags.
    Thanks,
    Hussein

  • Getting error: RC-50004 String index out of range when running adclonectx.pl

    Hi,
    I'm trying to clone a RAC database on the same host. I'm using the MOS note:
    Cloning Oracle E-Business Suite Release 12 RAC-Enabled Systems with Rapid Clone ( Doc ID 559518.1  )
    I run the command from Step 5.1.3:
    perl adclonectx.pl ......
    But getting error:
    "RC-50004: Error occurred in CloneContext:
    String index out of range: 38
    ERROR: context creation not completed successfully."
    From the Clone Context logfile:
    PROMPT :
    Number of DATA_TOP's on the Target System [3]
    ANSWER :
    1
    PROMPT :
    Target System DATA_TOP Directory 1
    ANSWER :
    +DATA/prod/datafile
    ASM Path, not Validating: +DATA/prod/datafile
    Creating ../data/stage/addbhomtgt.xml which will contain Target system database mount points.
    StackTrace:
    java.lang.StringIndexOutOfBoundsException: String index out of range: 38
             at java.lang.String.substring(String.java:1765)
             at oracle.apps.ad.context.CloneContext.gen_iFile(CloneContext.java:6681)
             at oracle.apps.ad.context.CloneContext.getInputFromUsers(CloneContext.java:1114)
             at oracle.apps.ad.context.CloneContext.doClone(CloneContext.java:601)
             at oracle.apps.ad.context.CloneContext.main(CloneContext.java:5260)
    RC-50004: Error occurred in CloneContext:
    String index out of range: 38
    Context file creation not succesful
    And workaround/solution will be much appreciated. Thanks very much.

    FYI, I'm cloning on the same host as target. This is 2 node EBS RAC setup.
    PATH is OLD source for contextfile.xml
    Latest clone patches applied.
    Here is the complete output from the log file...
    [oracle@PPDBS11 bin]$ cat /u01/app/oracle/product/11.2.0/dbhome_1/appsutil/clone/bin/CloneContext_0908210110.log  
    Using admin directory: /u01/app/oracle/product/11.2.0/dbhome_1/appsutil/clone/bin
    #------Log File time stamp: 0908210110------------
    # $Header: CloneContext.java 120.92.12010000.26 2013/05/06 12:02:01 mmanku ship $
    # Running on          - ppdbs11
    # Source Host         - null
    # Domain Name         - <xxxx.yyyy.zz>
    # Context Location    - /u01/app/oracle/product/11.2.0/dbhome_1/appsutil/PREPROD1_ppdbs11.xml
    # Context Type        - null
    # Context Template    - /u01/app/oracle/product/11.2.0/dbhome_1/appsutil/template/adxdbctx.tmp
    # Clone Stage Area    - null
    # Pairs File          - /u01/app/oracle/product/11.2.0/dbhome_1/appsutil/clone/pairsfile.txt
    # Destination Context - null
    # Validation          - false
    # Platform Migration  - false
    # no prompt           - false
    Variables extracted from pairsfile: /u01/app/oracle/product/11.2.0/dbhome_1/appsutil/clone/pairsfile.txt
    ****************************************************/n
       s_undo_tablespace  =  APPS_UNDOTS1
       s_dbClusterInst  =  2
       s_db_oh  =  /u01/app/oracle/product/11.2.0/dbhome_1
    ****************************************************   PROMPT :
    Target System Hostname (virtual or normal) [ppdbs11]
    ANSWER :
    ppdbs11   PROMPT :
    It is recommended that your inputs are validated by the program.
    However you might choose not to validate them under following circumstances:           -If cloning a context on source system for a remote system.
             -If cloning a context on a machine where the ports are taken and
              you do not want to shutdown the services at this point.
             -If cloning a context but the database it needs to connect is not available.   Do you want the inputs to be validated (y/n) [n] ?
    ANSWER :
    n   PROMPT :
    Target Instance is RAC (y/n) [y]
    ANSWER :
    y   PROMPT :
    Target System Database Name
    ANSWER :
    PROD   PROMPT :
         Host name [ppdbs11]
    ANSWER :
    ppdbfmisscan   PROMPT :
         Virtual Host name [null]
    ANSWER :
    ppdbs11-vip   PROMPT :
         Instance number [1]
    ANSWER :
    1   PROMPT :
         Private interconnect name [ppdbs11]
    ANSWER :
    ppdbs11-priv   PROMPT :
    Target System Base Directory
    ANSWER :
    /u01/app/oracle   PROMPT :
    Oracle OS User [oracle]
    ANSWER :
    oracle   PROMPT :
    Oracle OS Group [oinstall]
    ANSWER :
    oinstall   PROMPT :
    Target System utl_file_dir Directory List
    ANSWER :
    /usr/tmp/PROD   PROMPT :
    Number of DATA_TOP's on the Target System [3]
    ANSWER :
    1   PROMPT :
    Target System DATA_TOP Directory 1
    ANSWER :
    +DATA/prod/datafile
    ASM Path, not Validating: +DATA/prod/datafile
    Creating ../data/stage/addbhomtgt.xml which will contain Target system database mount points.  
    StackTrace:
    java.lang.StringIndexOutOfBoundsException: String index out of range: 38
             at java.lang.String.substring(String.java:1765)
             at oracle.apps.ad.context.CloneContext.gen_iFile(CloneContext.java:6687)
             at oracle.apps.ad.context.CloneContext.getInputFromUsers(CloneContext.java:1120)
             at oracle.apps.ad.context.CloneContext.doClone(CloneContext.java:601)
             at oracle.apps.ad.context.CloneContext.main(CloneContext.java:5266)   RC-50004: Error occurred in CloneContext:
    String index out of range: 38
    Context file creation not succesful

  • Perl adbldxml.pl tier=db

    Hi,
    after migrating from 9i to 10gR1, I have launched :
    perl adbldxml.pl tier=db
    it asks me :
    Enter the value for Display Variable:
    What should I answer ?
    many thanks.

    Please refer to the following notes, it should be helpful.
    Note: 153960.1 - FAQ: X Server Testing and Troubleshooting
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=153960.1
    Note: 340949.1 - How to set environment variable DISPLAY for Oracle Applications to use xserver of another machine
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=340949.1

  • Adbldxml.pl tier=db error

    Hi All,
    i am on EBS 11.5.10.2 OS AIX 5.3
    i have performed an 11i DB upgrade from 9i to 10g and currently implementing autoconfig
    i have generated the appsutil.zip file and moved to 10g ORACLE_HOME
    when i run the
    perl adbldxml.pl tier=db script i get the below error
    Starting context file generation for db tier..
    ERROR: Invalid java version found: /erp/oracle10g/devdb/10.2.0/jre/1.4.2/bin/java[3]: /erp/oracle10g/devdb/10.2.0/jre/1.4.2/bin/java.bin: 0403-006 Execute permission denied.
    could anyone suggest how to resolve this error?
    Thanks
    SK

    Hi Sk;
    i am on EBS 11.5.10.2 OS AIX 5.3
    i have performed an 11i DB upgrade from 9i to 10g and currently implementing autoconfig
    i have generated the appsutil.zip file and moved to 10g ORACLE_HOME
    when i run the
    perl adbldxml.pl tier=db script i get the below error
    Starting context file generation for db tier..
    ERROR: Invalid java version found: /erp/oracle10g/devdb/10.2.0/jre/1.4.2/bin/java[3]: /erp/oracle10g/devdb/10.2.0/jre/1.4.2/bin/java.bin: 0403-006 Execute permission denied.If you set env file in .profile than please disable it than, set correct ORACLE_HOME(11g) than retry issue. Also be sure u have permisson for this path
    Regard
    Helios

  • Adclonectx.pl

    Hello,
    I moved context file to some other location and i am trying to retrieve context file using
    adclonectx.pl retrive
    But iam gettin "Please ensure the classpath is set correctly"
    echo $CLASSPATH AND echo $AF_CLASSPATH both are fine but iam gettin this statement always.
    What to do?Kindly tell me.
    Thanks,
    928714.

    Please post the details of the application release, database version and OS.
    I moved context file to some other location and i am trying to retrieve context file using
    adclonectx.pl retrive
    But iam gettin "Please ensure the classpath is set correctly"
    echo $CLASSPATH AND echo $AF_CLASSPATH both are fine but iam gettin this statement always.
    What to do?Kindly tell me.Have you sourced the correct env file before running this command?
    Using AutoConfig to Manage System Configurations in Oracle E-Business Suite Release 12 [ID 387859.1] -- 4) How do I recover the Applications context file if it is lost or deleted accidentally?
    Thanks,
    Hussein

  • "Please ensure that Classpath is set properly" then run adclonectx.pl

    Hello,
    I am working on cloning Oracle Home. When running clone context to create context file on the target system:
    [oracle@cvlx10 bin]$ perl adclonectx.pl contextfile=/v01/vdev/11.1.0/vdev/appsutil/VPRD3_cvlx30.xml template=/v01/vdev/11.1.0/vdev/appsutil/template/adxdbctx.tmp pairsfile=/v01/vdev/11.1.0/vdev/appsutil/clone/pairsfile.txt
    and received this message
    Please ensure that Classpath is set properly
    I am new to cloning, can anyone give me some idea where to check this? Thanks a lot.

    Please post the details of the application release, database version and OS.
    I am working on cloning Oracle Home. When running clone context to create context file on the target system:
    [oracle@cvlx10 bin]$ perl adclonectx.pl contextfile=/v01/vdev/11.1.0/vdev/appsutil/VPRD3_cvlx30.xml template=/v01/vdev/11.1.0/vdev/appsutil/template/adxdbctx.tmp pairsfile=/v01/vdev/11.1.0/vdev/appsutil/clone/pairsfile.txt
    and received this message
    Please ensure that Classpath is set properlyWhat does "echo $CLASSPATH" return?
    I am new to cloning, can anyone give me some idea where to check this? Thanks a lot.Please make sure you follow all the steps in Rapid Clone doc -- Rapid Clone Documentation Resources For Release 11i and 12 [ID 799735.1]
    Thanks,
    Hussein

  • Re: On refresh of ebs DB is it necessary to run adclonectx.pl

    Hi ,
    On refresh of ebs DB is it necessary to run adclonectx.pl again for the 2nd node with add node option or can I simply reuse the contextfile from the first time it was cloned providing nothing has changed?
    It simple terms does adclonectx.pl addnode do anything more than cloning the contextfile provided?
    I have included a successfull run of adclonectx.pl when used with the addnode option for example .
    Regards .

    On refresh of ebs DB is it necessary to run adclonectx.pl again for the 2nd node with add node option or can I simply reuse the contextfile from the first time it was cloned providing nothing has changed?You can use the context file from the first time the database was cloned if nothing changed (hostname, domain name, directory structure, port pool, SID ..etc).
    It simple terms does adclonectx.pl addnode do anything more than cloning the contextfile provided?No.
    Thanks,
    Hussein

  • Change path for context file  11i (11.5.10.2)

    Hi ,
    How to change the context file path in 11i. I have tried 2 methods "perl adbldxml.pl tier=apps appsuser=apps" and perl adclonectx.pl contextfile=/u01/visappl/admin/vis_gold.xml , it works and I can see the s_context var in .xml changed to new path . But when I ran adconfig.sh it revert back the changes to old path.
    Anyone faced this issue before ?
    /d01/visappl/admin/vis_gold.xml to /u01/visappl/admin/vis_gold.xml ?

    How to change the context file path in 11i. I have tried 2 methods "perl adbldxml.pl tier=apps appsuser=apps" and perl adclonectx.pl contextfile=/u01/visappl/admin/vis_gold.xml , it works and I can see the s_context var in .xml changed to new path . But when I ran adconfig.sh it revert back the changes to old path.
    Anyone faced this issue before ?
    /d01/visappl/admin/vis_gold.xml to /u01/visappl/admin/vis_gold.xml ?You cannot change the location of the context file and it is always defaulted to $APPL_TOP/admin directory in 11i release. Any reason you want to change this location?
    Thanks,
    Hussein

  • Upgrade steps Details for 9.2.0.8 to 11.2.0.3 Database

    Support,
    We have one requirement from our client like "Upgrade the Database from 9.2.0.8 to 11.2.0.3". They are asking only the DB upgrade except Application.
    Our Current Database is running in Solaris OS and DB is an 9.2.0.8 and Application is an 11.5.10.2.
    I am going to follow the below documents for the Database Upgrade process using DBUA for First Iteration,
    Interoperability Notes Oracle EBS 11i with Oracle Database 11gR2 (11.2.0.3) (Doc ID 1585577.1)
    Interoperability Notes Oracle EBS 11i with Oracle Database 11gR2 (11.2.0) (Doc ID 881505.1)
    In the above documents they mentioned the steps related to the 11g new home installation and upgrade process but before starting the process what are all the things i have to check it in my current Database and Applications.
    Because i have clear idea on what we have to do in the new Oracle Home 11g and the Upgrade process but still have some confusion on the Pre-Upgrade Steps in current database.
    Kindly suggest me what are the details i have to collect and check in my Current Database or provide any proper Oracle documents for the Database Pre-Upgrade Process.
    Thanks in advance,
    Vijay.

    Vijay,
    We would suggest you advice your customer to upgrade to 11.2.0.4 instead on 11.2.0.3
    Interoperability Notes Oracle EBS 11i with Oracle Database 11gR2 (11.2.0) (Doc ID 881505.1)
    https://blogs.oracle.com/stevenChan/entry/11_2_0_4_database
    Preparing to Upgrade Oracle Database can be found at http://docs.oracle.com/cd/E11882_01/server.112/e23633/toc.htm
    You would also need to refer to:
    How To Get The Proper Environment Set To Run Adbldxml.pl When Upgrading To 11g/11gR2? (Doc ID 1310854.1)
    11i: ad_parallel_compile: Ora-01031: Insufficient Privileges in adadmin / re-create grants and synonyms for APPS schema after upgrade from 10gR2 to 11gR2 (Doc ID 1148264.1)
    Note: Please note that we have a dedicated forum for EBS questions -- https://forums.oracle.com/community/developer/english/e-business_suite
    Thanks,
    Hussein

  • Upgrading ebs database from 10g to 11g

    Hi,
    By following Interoperability Notes Oracle EBS 11i with Oracle Database 11gR2 (11.2.0.1) [ID 1265268.1]
    i am doing a test upgrade.
    As part of upgrade, only the oracle home location is changed. sid, host and port all are same as previous.
    After running dbua, for autoconfig, changing the OH path in xml file and run autoconfig is fine? or any other steps are needed?
    Thanks,
    Kavitha

    Hi,
    Could you please tell us which step you are refering to in the document. During upgrade you do not have to change the ORACLE HOME any where in XML file
    But you need to run perl adbldxml.pl
    As mentioned in step 22 of "Interoperability Notes Oracle EBS 11i with Oracle Database 11gR2 (11.2.0.1) [ID 1265268.1]"
    On application tier
         Source the env file
         $$ADPERLPRG $AD_TOP/bin/admkappsutilpl
    Copy appsutil.zip to $ORALCE_HOME/.
    Unzip –o appsutil.zip
    cp –r $11g oracle home <which came with rapidwiz> $ORACLE_HOM/appsutil/jre
    On the database tier
    Source database env file
    Export JRE_TOP=$ORACLE_HOME/appsutil/jre
    $cd $ORACLE_HOME/appsutil/bin
    $perl adbldxml.pl
    $sh adconfig.sh
    Thanks
    Edited by: user11970143 on Aug 26, 2011 6:22 PM

Maybe you are looking for

  • Canon SX260HS no longer recognized by iPhoto

    After upgrading to Mavericks my Canon SX260HS is no longer recognized by iPhoto. When plugged in to a USB port the system report shows the camera, but iPhoto does not mount the camera. The camera briefly displays "communication error" on its display.

  • Booting problem

    hi, i have a problem in booting my system. This i got after i loaded a driver lpdevice into the /usr/kernel/drv and rebooted the system. the following is the message displayed at the time of rebooting. Boot device : disk File and args: SunOS Release

  • How do I create mail filters in 6.0.2?

    I asked about mail filters in 6.0.2. Eeeeek! I found it. I was looking in FF help, rather than in yayhoo mail Options. :-( Please disregard original query.

  • Html File in SMW0 Output Error ?

    Hello All, I have a HTML file in the SMW0 Transaction. The content of the HTML File is in Spanish Language . Now when I'm using the FM CL_GUI_HTML_VIEWER in my Custom Program to display that html file content I'm getting some junk values in the outpu

  • Service group for particular document type or Purchase Organisation

    Dear Gurus, I want to add service group as like Material group. but my objective is to restrict those service group for particular document type or Purchase Organisation?? Is it possible, if so please advice me the SPRO Settings Thanks RS