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

Similar Messages

  • 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

  • Create XML file failed in apps tier

    appliations instance details
    version:11.5.8 and database version 9.2.0.7
    platform HP-tru64 5.1b
    type=single node
    I have applied the patch AD.I.6 and Autoconfig latest patch ie 5985992
    during migrating non-autoconfig to autoconfig dbtier went smoothly but appstier getting some errors
    alpha2.bw.ltindia.com> perl adbldxml.pl tier=apps appsuser=apps appspasswd=apps
    Starting context file generation for apps tier..
    Using JVM from /usr/bin/java -mx256m to execute java programs..
    The log file for this adbldxml session is located
    at:
    /d36/appluat/erpuatappl/admin/log/adbldxml_02132005.log
    For errors, Check log file :/d36/appluat/erpuatappl/admin/log/adbldxml_02132005.
    log
    In the log file
    FOLLOWING ERROR OCCURED :
    null
    StackTrace:
    java.lang.NullPointerException
    at java.io.File.<init>(Compiled Code)
    at oracle.apps.ad.context.GenerateContext.InstantiateRestForApps(Compile
    d Code)
    at oracle.apps.ad.context.GenerateContext.main(Compiled Code)
    Thanks in advance

    The problem is resolved use the metalink id below
    adbldxml.pl fails with java.lang.Exception DocID:     Note:340945.1
    Java.Lang.Nullpointerexception     Doc ID: Note:404762.1

  • 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!

  • Where is  jre in database tier 10.2.0.5.

    Hi,
    I have successfully upgraded the 11.5.10.2 with 9.2.0.6 to R12 with 10.2.0.5. Now i am doing post installation steps.
    I have created appsutil.zip and copied it to the database tier. Now i am building the context file for database tier.
    $perl adbldxml.pl [It throws the following error]
    Starting context file generation for db tier..
    JRE_TOP not found at its desired location /data/clonedb/10.2.0/appsutil/jre
    Restart adbldxml.pl with value for jtop as an necessary argument
    But in appsutil i can not find jre.
    I am referring to R12 Oracle Application upgrade guide page no: 3-9. This about jre.
    1. Do i need to install jre.???
    2. I have old copy of appsutil that came with the installation. But jre folder is in $ORACLE_HOME.
    Please help??
    Thanks,
    Taher

    Hi hussein,
    As per the document 165195.1 section 8 i issued
    $perl adbldxml.pl tier=db appsuer=apps
    [oraclone@meskprod bin]$ perl adbldxml.pl tier=db appsuser=apps
    ** 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)
    Old environment file:The environment file which was used while using the 11.5.10.2 applications.
    I have checked the file version of env. file it is
    $Header: ad8idbux.env 115.26 2005/09/14 06:28:28 sridhsub ship $
    So i was saying old [11.5.10.2] env file.
    Thanks,
    Taher
    Edited by: user11970143 on Dec 20, 2010 11:52 AM

  • Problems running autoconfig on db tier

    I am in the process of upgrading to apps 12.1.1 and database 11.2.0.1
    I have managed to first upgrade db to 11.2.0.1 and in the process of integrating new db with the current 11.5.10.2 apps, i am getting the error at the autoconfig stage:
    perl adbldxml.pl tier=db appsuser=apps appspasswd=appsStarting context file generation for db tier..
    Using JVM from /oracle02/appsdapo/rdbms/11.2.0/jdk/bin/java to execute java programs..
    execve(): No such file or directory
    Error trying to exec /oracle02/appsdapo/rdbms/11.2.0/jdk/bin/sparcv9/java.
    Check if file exists and permissions are set correctly.
    Failed to start a 64-bit JVM process from a 32-bit JVM.
    Verify all necessary J2SE components have been installed.
    (Solaris SPARC 64-bit components must be installed after 32-bit components.)
    My main question is that the path above does not exist and since context.xml file has not been created, where is it picking - /oracle02/appsdapo/rdbms/11.2.0/jdk/bin/sparcv9/java from???
    Thanks

    I have applied the patch 9835302 -
    Patch 9835302: TCH11201: ADBLDXML AND AUTOCONFIG COMPLETES WITH JAVA.LANG.UNSATISFIEDLINKERROR
    and this is what my system is showing:
    strings -a $AD_TOP/bin/adbldxml.pl |grep '$Header'
    # $Header: adbldxml.pl 115.23 2010/07/14 09:11:49 dhakumar noship $Please query AD_BUGS table to verify.
    There is another similar patch which is:
    Patch 9494547: TCH11201: ADBLDXML AND AUTOCONFIG COMPLETES WITH JAVA.LANG.UNSATISFIEDLINKERROR
    I haven't this applied. Should I need to apply that?Yes.
    Why can these 2 have the same description and has 9835302 superseeded 9494547Apply both patches as none of the patches supersede the other one.
    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

  • Error with adautocfg.sh on the DB during final stage of upgrade

    Hi ;
    I have same issue like:
    Error with adautocfg.sh on the DB during final stage of upgrade
    i folled documents but somehow i cant recreate xml file
    i use this:
    cd <RDBMS ORACLE_HOME/appsutil/bin
    perl adbldxml.pl
    but nothing happen!! it doesnt do nothing!
    i rename my xml file under <RDBMS ORACLE_HOME/appsutil/ but there is no new xml file!!
    Is anyone know why?
    Thanks

    Hi hussein;
    Those note solved my problem, but i have one other problem now.. when i try to create new context file by usng :
    perl adbldxml.pl tier=db appsuser=apps appspasswd=apps jtop=/u01/VIS/visdb/10.2.0/jre/1.4.2
    i have this error:
    FOLLOWING ERROR OCCURED :
    +3 >= 3+
    StackTrace:
    java.lang.ArrayIndexOutOfBoundsException: 3 >= 3
    at java.util.Vector.setElementAt(Unknown Source)
    at oracle.apps.ad.context.GenerateContext.setJRETOP(GenerateContext.java:7483)
    at oracle.apps.ad.context.GenerateContext.InstantiateRestForDB(GenerateContext.java:3057)
    at oracle.apps.ad.context.GenerateContext.main(GenerateContext.java:8150)
    Upgrade to DB 10g fails with error - cannot generate contextfile
    i found note 369179.1, Note says i need to apply lastest autoconfig patch...
    When i donwload patch 6372396 which is lasest patch number for r11( i sourced r11 env file), and try to apply patch to my system its gives me that:
    AutoPatch error:
    adprdf(): At line 3 in file u6372396.drv:
    This patch is not compatible with your on-site release:
    patch's intended release version and
    on-site          release version
    do not have identical major and minor version numbers (first two components)
    patch's intended release is "11.5.0"
    on-site          release is "12.0.4"
    Processing line   10000.
    Processing line   20000.
    +24658 lines processed.+
    AutoPatch error:
    AutoPatch encountered errors parsing and loading the patch driver file.
    +STRT_TASK: [Prereq checking logic] [] [Sun Jun 28 2009 09:04:57]+
    So i decide to apply autoconfig patch 7237313 for r12, so i source r12 env file and then start path end its ended wihtout error
    After i try to create context file by using this command again:
    perl adbldxml.pl tier=db appsuser=apps appspasswd=apps jtop=/u01/VIS/visdb/10.2.0/jre/1.4.2
    and have still same error :(
    FOLLOWING ERROR OCCURED :
    3 >= 3
    StackTrace:
    java.lang.ArrayIndexOutOfBoundsException: 3 >= 3
    at java.util.Vector.setElementAt(Unknown Source)
    at oracle.apps.ad.context.GenerateContext.setJRETOP(GenerateContext.java:7483)
    at oracle.apps.ad.context.GenerateContext.InstantiateRestForDB(GenerateContext.java:3057)
    at oracle.apps.ad.context.GenerateContext.main(GenerateContext.java:8150)
    so now what i have to do?
    thanks for advice

  • Oracle Applications Release 11i with Oracle Database 10g Release 2 (10.2.0)

    Hi,
    I am upgrading our Oracle EBS 11i database to Oracle 10g R2 as per note:362203.1.
    In section After the Database Upgrade  --&gt; 5. Implement and run AutoConfig we need to refer to Note:165195.1.(Section 8: Migrating to AutoConfig on the Database Tier).
    Since I dont have the DB enviornement file, I created one by copying the envioroment file from Oracle 9i Home and replaced 9.2.0 with 10.2.0. I also created Apache directory under Oracle 10g Home and copied perl directory from Oracle 9i Home/Apache to Oracle 10g Home/Apache. This way I got the DB enviornement file for Oracle 10g Home.
    Then I used the following command to create the DB Context File:
    perl adbldxml.pl tier=db appsuser=apps
    Then executed autoconfig using:
    adconfig.cmd contextfile=&lt;Full path to the CONTEXT&gt;
    Is this the way I should do? Its working ok but I am not sure if my method is ok.
    Plz suggest if some other method is there.
    Thanks.
    Thiru

    This is a way I used to do it too. I am not sure whether it is the official way, but it works nevertheless.
    Do make sure you run autoconfig afterwards, which will create a new environment file for you. Then stop listener and database, source the new environment file and restart listener and database.
    I found some other procedure in order for you to recreate the environment file:
    1. On the application tier, Execute $AD_TOP/bin/admkappsutil.pl to generate appsutil.zip for the database tier.
    2. Copy this appsutil.zip to the database tier and unzip it into the ORACLE_HOME
    3. Set the following environment variables:
    ORACLE_HOME =<10g ORACLE_HOME>
    LD_LIBRARY_PATH = <10g ORACLE_HOME/lib, 10g ORACLE_HOME/ctx/lib>
    ORACLE_SID = instance name running on this database node.
    PATH= $PATH:$ORACLE_HOME/bin;
    TNS_ADMIN = $ORACLE_HOME/network/admin/<context_name> 4. Edit the $ORACLE_HOME/network/admin/tnsnames.ora file. Change the aliases for SID=<new RAC instance name>
    5. Modify the listener.ora. Change the instance name and Oracle Home to match environment
    6. Start the listener.
    7. From the 10g ORACLE_HOME/appsutil/bin directory, create an instance-specific XML context file by executing the command:
    adbldxml.pl tier=db appsuser=<APPSuser> appspasswd=<APPSpwd>8. De-register the current configuration using the command:
    perl $ORACLE_HOME/appsutil/bin/adgentns.pl appspass=apps contextfile=$CONTEXT_FILE -removeserver9. Rename $ORACLE_HOME/dbs/init<rac instance>.ora , to a new name (i.e. init<rac instance>.ora.old in order to allow AutoConfig to regenerate the file using the RAC specific parameters.
    10. From the 10g ORACLE_HOME/appsutil/bin directory, execute AutoConfig on the database tier by running the adconfig.pl script.
    Now you should have the officially created environment file.
    HTH.
    Arnoud Roth

  • Configuring the Net Services with EBS

    Hi DBAs,
    I am in process of upgrading the Oracle 11.5.10.2 with Oracle 9.2.0.6 to Oracle 10.2.0.4 - single instance.
    I followied the ML note 362203.1 but upgraded the Oracle 9.2 to 10.2 manually.
    The upgrade process went fine and verified with util102s.sql. Now I need to generate the new env and xml files. I copied the env file from old db server and replace the string for oracle home to new oracle home. I sourced the env and then using the Old Context File, ran the adconfigh.sh from appsutil directory under new oracle home. Some how I am not able to shutdown and start the database with addbctl scripts seems still try to point to old database.
    If I login to new database with sqlplus / as sysdba - I dont have any issue.
    Similary, when I souce the apps env file and running autoconfig - The autoconfig is pointing to 8.0.6 oracle home for SYSTEM and APPS password. I did not changed any thing in apps env and xml file. I did not changed the host, port or sid of the database. I manually moved over the tnsnames.ora and listener.ora file from old oracle home to new oracle home.
    Please provide your suggestions and recommendations.
    Thanks
    Naveed

    Hi Hussein,
    While running the perl adbldxml.pl tier=db appsuser=apps appspasswd=apps I got following errors in the log file.
    [ s_dbGlnam ]
    SEVERITY : INFO
    SOURCE SEARCHED : Reading the value from v$parameter table
    SEARCH RESULTS : Value obtained from table - VIS
    VALUE ASSIGNED : VIS
    USER ACTION : No action required
    [ s_dbService ]
    SEVERITY : INFO
    SOURCE SEARCHED : Reading the value from v$parameter table
    SEARCH RESULTS : Value obtained - VIS
    VALUE ASSIGNED : VIS
    USER ACTION : No action required
    [ s_dbCluster ]
    SEVERITY : INFO
    SOURCE SEARCHED : Reading the value from v$parameter table
    SEARCH RESULTS : Value obtained - FALSE
    VALUE ASSIGNED : FALSE
    USER ACTION : No action required
    FOLLOWING ERROR OCCURED :
    3 >= 3
    StackTrace:
    java.lang.ArrayIndexOutOfBoundsException: 3 >= 3
    at java.util.Vector.setElementAt(Unknown Source)
    at oracle.apps.ad.context.GenerateContext.setJRETOP(GenerateContext.java:7483)
    at oracle.apps.ad.context.GenerateContext.InstantiateRestForDB(GenerateContext.java:3057)
    at oracle.apps.ad.context.GenerateContext.main(GenerateContext.java:8150)
    THX
    Naveed

  • Problem with EBS 11.5.10 after 10g upgrade

    hi,
    i have upgraded my oracle databse from 9.2.0.5 to 10.2.0.3 , my EBS version is 11.5.10, platform is HP UX 11.11
    after sourcing env file on new 10 g home
    i ran
    perl adbldxml.pl tier=db appsuser=apps appspasswd=pasword
    and then
    adconfg .sh contextfile=path appspass=password
    but it exited with an error
    [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: /oradvp/ora/proddb/9.2.0/Apache/perl/bin/perl -I /oradvp/ora/proddb/9.2.0/Apache/perl/lib/5.00503 -I /oradvp/ora/proddb/9.2.0/Apache/perl/lib/site_perl/5.005 -I /oradvp/ora/proddb/9.2.0/appsutil/perl -I /oradvp/ora/proddb/10.2.0/appsutil/perl /oradvp/ora/
    proddb/10.2.0/appsutil/scripts/DVP_test
    adchknls.pl INSTE8_SETUP 1
    AutoConfig is exiting with status 1
    The log file for this session is located at: /oradvp/ora/proddb/10.2.0/appsutil/log/DVP_test/01201440/adconfig.log
    ~
    ~
    ~
    ~
    ~
    i checked perl5lib
    echo $PERL5LIB
    /oradvp/ora/proddb/10.2.0/perl/bin:/oradvp/ora/proddb/10.2.0/perl:/oradvp/ora/proddb/9.2.0/Apache/perl/lib/5.00503:/oradvp/ora/proddb/9.2.0/Apache/perl/lib/site_perl/5.005:/oradvp/ora/proddb/9.2.0/appsutil/perl
    echo $PATH
    /oradvp/ora/proddb/10.2.0/perl:/oradvp/ora/proddb/10.2.0/bin:/oradvp/ora/proddb/9.2.0/Apache/perl/bin:/oradvp/ora/proddb/9.2.0/bin:/usr/ccs/bin:/usr/sbin:/oradvp/ora/proddb/9.2.0/jre/1.4.2/bin:/usr/bin:/etc:/usr/bin/X11:/usr/local/bin:/opt/bin:/usr/bin:/opt/perl5:/opt/j
    ava1.3/bin:/opt/softbench/bin:/usr/bin:/usr/ccs/bin:/usr/contrib/bin:/opt/ansic/bin:/opt/ipf/bin:/opt/hparray/bin:/opt/nettladm/bin:/opt/upgrade/bin:/opt/fcms/bin:/opt/resmon/bin:/opt/pd/bin:/usr/bin/X11:/usr/contrib/bin/X11:/opt/graphics/common/bin:/opt/gnome/bin:/opt/
    mozilla:/opt/mx/bin:/opt/ignite/bin:/var/opt/netscape/servers/shared/bin:/var/opt/netscape/servers/bin/slapd/server:/var/opt/netscape/servers/bin:/usr/sbin/diag/contrib:/opt/java1.4/jre/bin:/opt/spb/bin:/opt/wbem/bin:/opt/wbem/sbin:/opt/aCC/bin:/opt/langtools/bin:/opt/i
    make/bin:/opt/hpnpl//bin:/opt/sanmgr/commandview/client/sbin:.
    $
    and when i run this
    $ which perl
    /oradvp/ora/proddb/9.2.0/Apache/perl/bin/perl
    it gives a path of old 9i home , how do i change it
    i am not able to see the error
    can any one help me with it
    Edited by: Adroit77 on Jan 20, 2009 1:55 AM

    hello sir,
    ur solution worked for me but when i tried upgrading again with patch set 10.2.0.4
    during adconfig , it gave the following error
    AutoConfig Error Report]
    he following report lists errors AutoConfig encountered during each
    hase of its execution. Errors are grouped by directory and phase.
    he report format is:
    <filename> <phase> <return code where appropriate>
    [PROFILE PHASE]
    AutoConfig could not successfully execute the following scripts:
    Directory: /oradvp/ora/proddb/10.2.0/appsutil/install/DVP_test
    afdbprf.sh INSTE8_PRF 1
    AutoConfig is exiting with status 1
    when i ran afdbprf.sh
    it gave this error
    afdbprf.sh started at Fri Jan 23 18:45:51 IST 2009
    The environment settings are as follows ...
    ORACLE_HOME : /oradvp/ora/proddb/10.2.0
    ORACLE_SID : DVP
    PATH : /oradvp/ora/proddb/10.2.0/perl/bin:/oradvp/ora/proddb/10.2.0/perl/bin:/oradvp/ora/proddb/10.2.0/bin:/usr/ccs/bin:/usr/sbin:/oradvp/ora/proddb/10.2.0/jre/1.4.2/bin:/usr/bin:/etc:/usr/bin/X11:/usr/local/bin:/opt/bin:/usr/bin:/opt/perl5:/opt/java1.3/bi
    n:/opt/softbench/bin:/usr/bin:/usr/ccs/bin:/usr/contrib/bin:/opt/ansic/bin:/opt/ipf/bin:/opt/hparray/bin:/opt/nettladm/bin:/opt/upgrade/bin:/opt/fcms/bin:/opt/resmon/bin:/opt/pd/bin:/usr/bin/X11:/usr/contrib/bin/X11:/opt/graphics/common/bin:/opt/gnome/bin:/opt/mozilla:/
    opt/mx/bin:/opt/ignite/bin:/var/opt/netscape/servers/shared/bin:/var/opt/netscape/servers/bin/slapd/server:/var/opt/netscape/servers/bin:/usr/sbin/diag/contrib:/opt/java1.4/jre/bin:/opt/spb/bin:/opt/wbem/bin:/opt/wbem/sbin:/opt/aCC/bin:/opt/langtools/bin:/opt/imake/bin:
    /opt/hpnpl//bin:/opt/sanmgr/commandview/client/sbin:.
    LD_LIBRARY_PATH : /oradvp/ora/proddb/10.2.0/lib32:/oradvp/ora/proddb/10.2.0/lib:/usr/dt/lib:/usr/openwin/lib:/oradvp/ora/proddb/10.2.0/ctx/lib
    Executable : /oradvp/ora/proddb/10.2.0/bin/sqlplus
    SQL*Plus: Release 10.2.0.4.0 - Production on Fri Jan 23 18:45:52 2009
    Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
    ERROR:
    ORA-12504: TNS:listener was not given the SID in CONNECT_DATA
    ERRORCODE = 1 ERRORCODE_END
    but i am able to connect to oracle DB using apps user, how can this be possible??

  • Configuring Oracle Authentication Services 4 OS (OAS4OS) with OUD

    I'm planning on using OAS4OS to configure with unix/linux servers. From the documentation, it says the directory needs to be OID. Is that the only directory supported? Can I use OUD or OVD in front of AD?
    Thanks

    Hi Hussein,
    While running the perl adbldxml.pl tier=db appsuser=apps appspasswd=apps I got following errors in the log file.
    [ s_dbGlnam ]
    SEVERITY : INFO
    SOURCE SEARCHED : Reading the value from v$parameter table
    SEARCH RESULTS : Value obtained from table - VIS
    VALUE ASSIGNED : VIS
    USER ACTION : No action required
    [ s_dbService ]
    SEVERITY : INFO
    SOURCE SEARCHED : Reading the value from v$parameter table
    SEARCH RESULTS : Value obtained - VIS
    VALUE ASSIGNED : VIS
    USER ACTION : No action required
    [ s_dbCluster ]
    SEVERITY : INFO
    SOURCE SEARCHED : Reading the value from v$parameter table
    SEARCH RESULTS : Value obtained - FALSE
    VALUE ASSIGNED : FALSE
    USER ACTION : No action required
    FOLLOWING ERROR OCCURED :
    3 >= 3
    StackTrace:
    java.lang.ArrayIndexOutOfBoundsException: 3 >= 3
    at java.util.Vector.setElementAt(Unknown Source)
    at oracle.apps.ad.context.GenerateContext.setJRETOP(GenerateContext.java:7483)
    at oracle.apps.ad.context.GenerateContext.InstantiateRestForDB(GenerateContext.java:3057)
    at oracle.apps.ad.context.GenerateContext.main(GenerateContext.java:8150)
    THX
    Naveed

  • CE10 and DB running on 64bit OS

    Post Author: lerwick
    CA Forum: Deployment
    hi, we have CE10 running against a DB2 db on Windows. I would like to move to a 64bit OS so my db can have a bit more grunt. Am I wrong in thinking that the only DBs CE10 will run against (supported) are 32 bit OS? I read the platform support list and it read that way to me. I am willing to move to Oracle or SQL.

    Hai sami
    If u have created the appsutil file from apps tier using $AD_TOP/bin/admkappsutil.pl
    $perl $AD_TOP/bin/admkappsutil.pl then its ok.
    after copying the file to RDBMS ORACLE HOME
    Build the XML file using adbldxml.pl script resided in the
    $cd ORACLE_HOME/appsutil/bin
    ( $perl adbldxml.pl tier=db appsuser=apps appspass=<apps password> )
    source the context file of db tier. (under appsutil directory)

  • I am stuck - TXK AUTOCONFIG AND TEMPLATES ROLLUP PATCH U (9535311)

    Hi All,
    I have installed 11.5.10.2 vision version on Windows XP.
    I have below dirs after installtion:
    (1) D:\orclapps\orclappsappl
    (2) D:\orclapps\orclappscomn
    (3) D:\orclapps\orclappsdata
    (4) D:\orclapps\orclappsdb\9.2.0
    (5.1) D:\orclapps\orclappsora\8.0.6
    (5.2) D:\orclapps\orclappsora\iAS
    After installation I am able to logon and use application.
    But I am badly stuck while applying below patch:
    TXK AUTOCONFIG AND TEMPLATES ROLLUP PATCH U (9535311)
    After applying that patch I have to perform below after patch steps.
    ==============================================================================
    2.3.2.1 On the Application Tier (as the APPLMGR user):
    2.3.2.1.1 Source the environment file.
    2.3.2.1.2 Create the appsutil.zip file by executing:
    $ADPERLPRG $AD_TOP/bin/admkappsutil.pl
    (On Windows: %ADPERLPRG% %AD_TOP%\bin\admkappsutil.pl)
    This will create appsutil.zip in $APPL_TOP/admin/out .
    2.3.2.2 On the Database Tier (as the ORACLE user):
    2.3.2.2.1 Copy or FTP the appsutil.zip file to the
    <RDBMS ORACLE_HOME>
    2.3.2.2.2 cd <RDBMS ORACLE_HOME>
    2.3.2.2.3 unzip -o appsutil.zip
    2.3.2.2.4 Run AutoConfig by executing:
    <RDBMS_ORACLE_HOME>/appsutil/scripts/<CONTEXT_NAME>/
    adautocfg.sh (On Windows use adautocfg.cmd).
    ==============================================================================
    (Step 2.3.2.2) -->
    As part of Windows XP vision installation, I have created only applmgr user. Should I create ORACLE user also even in Windows XP 11i installation?
    (Step 2.3.2.2.2) --> cd <RDBMS ORACLE_HOME> -->
    Is it D:\orclapps\orclappsdb\9.2.0 or D:\orclapps\orclappsora\8.0.6?
    I assumed D:\orclapps\orclappsdb\9.2.0. I did like below. Please let me know if I am wrong.
    (i) Start ->
    Run ->
    cmd ->
    D: ->
    D:\orclapps\orclappsdb\9.2.0\ORCLAPPS_erp.cmd (This is what I think is sourcing. Is that right? If not please correct me here.)
    (Step 2.3.2.2.4) --> After unzip -o appsutil.zip I could not find folder named scripts under D:\orclapps\orclappsdb\9.2.0\appsutil. So I tried to follow below link 2nd point.
    http://oracleajidba.blogspot.com/2010/05/autoconfig-on-database-tier-for-new.html
    i.e.
    Source the .cmd file using < RDBMS ORACLE_HOME>\< CONTEXT_NAME>.cmd
    cd /d < RDBMS ORACLE_HOME>\appsutil\bin
    perl adbldxml.pl tier=db appsuser=< APPSuser>
    But when I did " perl adbldxml.pl tier=db appsuser=apps " I got below error and I am stuck.
    ----Error: --->>>
    Incorrect environment file sourced. Unset apps environment and
    Thanks in advance.
    Regards,
    Mahi.

    (Step 2.3.2.2) -->
    As part of Windows XP vision installation, I have created only applmgr user. Should I create ORACLE user also even in Windows XP 11i installation? You do not need to create oracle user as the concept of multi-user installation is not applicable in Windows.
    D:\orclapps\orclappsdb\9.2.0\ORCLAPPS_erp.cmd (This is what I think is sourcing. Is that right? If not please correct me here.)
    Is it D:\orclapps\orclappsdb\9.2.0 or D:\orclapps\orclappsora\8.0.6? This is correct for the database env file and ORACLE_HOME should point to D:\orclapps\orclappsdb\9.2.0
    Please issue "echo %ORACLE_HOME%" to verify.
    For the application env file, you have to source/run the env<CONTEXT_NAME>.cmd file under %APPL_TOP% "D:\orclapps\orclappsappl" directory.
    (Step 2.3.2.2.4) --> After unzip -o appsutil.zip I could not find folder named scripts under D:\orclapps\orclappsdb\9.2.0\appsutil. So I tried to follow below link 2nd point.
    http://oracleajidba.blogspot.com/2010/05/autoconfig-on-database-tier-for-new.html
    i.e.
    Source the .cmd file using < RDBMS ORACLE_HOME>\< CONTEXT_NAME>.cmd
    cd /d < RDBMS ORACLE_HOME>\appsutil\bin
    perl adbldxml.pl tier=db appsuser=< APPSuser>
    But when I did " perl adbldxml.pl tier=db appsuser=apps " I got below error and I am stuck.
    ----Error: --->>>
    Incorrect environment file sourced. Unset apps environment and Run the above <CONTEXT_NAME>.end file and issue "echo %ORACLE_HOME%".
    Thanks,
    Hussein

  • Enabling autoconfig on DB tier After upgrade from 9i to 10g

    Environment: 11.5.10.2
    Number of Nodes: 2
    Node1: Db & Conc Manager
    Node2: Admin, Forms,Reports, web
    I have upgraded the Apps 11i database 9.2.0.6 to 10.2.0.4
    Now I have to enable autoconfig on new DB home
    1) I have generated appsutil.zip on node2 and moved to db node. I have unziped the file. However it does not have $ORACLE_HOME/appsutil/scripts directory and its scripts, what is the problem, why scripts are not generated?
    2) Until now we do not have env file on db tier as autocofnig not yet run on new 10g home
    So How we can create the contextfile & env file ?

    John,
    1) I have generated appsutil.zip on node2 and moved to db node. I have unziped the file. However it does not have $ORACLE_HOME/appsutil/scripts directory and its scripts, what is the problem, why scripts are not generated?Refer to Note: 377495.1 - How To Recreate the /appsutil/scripts/ directory
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=377495.1
    2) Until now we do not have env file on db tier as autocofnig not yet run on new 10g home
    So How we can create the contextfile & env file ?Copy the env files from the 9i ORACLE_HOME to the 10g ORACLE_HOME and edit it manually (Or set the environment variables manually), then generate the database context file by running "perl adbldxml.pl" as explained in the note referenced above.

Maybe you are looking for

  • Make entries in a table in webdynpro abap

    Hi all, We have a requirement to make multiple entries in a Table in webdynpro ABAP. We have created a table and inserted inputfield as cellEditor but at runtime it is being displayed in readonly mode we cannot enter anything in that inputfield. inpu

  • How do I restore my MacBook Pro to an earlier date?

    I installed an updated version of a program I had been running for over a year now.  I have had a lot of trouble since installing the update, and would like to restore my MacBook Pro to a date that is prior to installing said update.

  • App purchased in error

    I purchased the uk and Ireland Tom Tom app in error and deleted before it was installed. I then purchased the western Europe app which I needed. I was subsequently billed for the UK and Ireland app and therefore require a refund how would I go about

  • CAF Entity locking HELP

    hello I am doing some tests in WebDynpro and CAF Core services. I have a piece of code as below that retrieves an entity from CAF Core for update. I need this entity to be locked during the update but the two methods lock() and unlock() do nothing. I

  • Order By Clause based on Account

    Hi, I have a query which pulls the list of GL account details. But i have specific account needs to be at the bottom. Ordery Asc/desc will not work in this case. IS there any ways that i can conditionally order by.. Please help.. Thanks, Genoo