You are on page 1of 32

Architecture:

1) What does an application tier constitute of in R12?


1) Oracle Application Server
2) Concurrent Processing Server
2) What services are included in Oracle Application Server?
i) Form Services ii) Web Services
3) What is JVM (Java Virtual Machine) and which component uses JVM?
JVM stands for Java Virtual Machine, JVM acronym for Java Virtual Machine which executes instructions
generated by Java compiler.
4) What is OPMN?
It stands for Oracle Process Manager and Notification. Responsible for monitoring the subcomponents of
web services. Ex:-http server, oacore, form and oafm.
5) What is Web Listener?
Web Listener is Web Server listener which is listening for web Services (HTTP) request. This listener is
started by adapcctl.sh& defined by directive (Listen, Port) in httpd.conf for Web Server.
6) How many ORACLE HOME are in Oracle Apps and what is the significance of each?
There are three $ORACLE_HOME in Oracle Apps, Two for Application Tier (Middle Tier) and One in
Database Tier.
# ORACLE_HOME 1: On Application Tier used to store 10.1.2 techstack software. This is used by forms,
reports & discoverer.
# ORACLE_HOME 2: On Application Tier used by IAS (Web Server) techstack software. This is used by Web
Listener & contains Apache.
# ORACLE_HOME 3: On Database Tier used by Database Software usually 8i, 9i or 10g database.
7) If you have done two nodes installation, first machine: Database and concurrent processing server.
2nd machine: form, web. Which machine has admin server/node?
Admin Server will be on First machine with concurrent processing server.
8) If your system has more than one J2SE(plugin), how will the system know, which one to pick?
When client makes a forms connection in Oracle Applications, forms client session uses configuration file
defined by environment variable FORMS_WEB_CONFIG_FILE
9) Find application server version?
FND_PRODUCT_GROUPS
10) What generally a Desktop Tier Constitute of?
Internet Browser, J2SE

http://krishnasudagani.blogspot.in/

Page 1

11) Default mode for forms processing in R12?


Servlet Mode
Explanation: R12 web services has Http Server therefore Security is high (R11i:-Socket Mode)
12) The component Responsible for Checking the Request type as html or Form Based.?
Oacore (Sub component of OC4J)
13) Which is the Default servlet Engine in R12?
OC4J-Oracle Container for Java
14) The plugin required at client Side to access a Form in R12?
J2SE (Version JRE 1.6)
15) What was the plugin used in R11i to access Forms?
Jinitiator (Version JRE 1.3)
16) What is version of Form services Oracle Home in R11i and R12?
In R11i:-8.1.7 and R12:-10.1.2
17) What is the Version of Oracle Application Server in R12?
10g r1
18) What is the difference Socket and Servlet mode?
In Socket Mode the Processing for Form Base Request is done by frmweb process.
In servlet Mode the processing is done under web services by Apache Server (Through oc4j
subcomponent form)
19) What is Form Runtime Process? What were the process in R11i and R12?
Forms Runtime Process is invoked by Forms Runtime Engine for processing Form Based Requests.
In R11i it was f60webmx
In R12 its frmweb
20) The default ORACLE_HOME in apps TIER is also called as?
C, TOOLS or DEVELOPERS ORACLE_HOME
21) What are the Version of Form and Web Services ORACLE_HOME in R12?
Form:-ORACLE_HOME (10.1.2)
Web Services:-IAS_ORACLE_HOME (10.1.3)
22) How to check the version of EBS installed?
Select release_name from fnd_product_groups;

http://krishnasudagani.blogspot.in/

Page 2

23) What is the location of J2SE in the Desktop Tier?


c:\program files\oracle\J2SE
24) What is the location of client cache?
c:\documents and settings\user\oracle jar Cache.
25) The default servlet engine in new release 12.2?
Fusion (Weblogic)
26) Difference between Application Tier in R11i and R12?
Web server and form server in R11i has been clubbed into a Single server OAS.Report server and CPS in
R11i has been clubbed in a single server CPS (Concurrent Processing Server).

File System:
1) What are main configuration files in Web Server (Apache)?
Main configuration files in Oracle Apps Web Server are
# httpd.conf, apps.conf, oracle_apache.conf, httpd_pls.conf
# jserv.conf, ssp_init.txt, jserv.properties, zone.properties
# plsql.conf, wdbsvr.app, plsql.conf
2) What is US directory in $AD_TOP or under various product TOP's?
US directory is default language directory in Oracle Applications. If you have multiple languages Installed
in your Applications then you will see other languages directories besides US, that directory will contain
reports, fmx and other code in that respective directory like FR for France, AR for Arabic.
3) Where is HTML Cache stored in Oracle Apps Server?
HTML Cache is available at $COMMON_TOP/_pages for some previous versions you might find it in
$OA_HTML/_pages
4) List out the modules related to oracle Apps DBA?
FND Application Object Library, AU Application Utilities, AD Application DBA.
5) What is the location of J2SE in the Desktop Tier?
c:\program files\oracle\J2SE
6) What is the location of client cache?
c:\documents and settings\user\oracle jar Cache
7) What is the location of Server cache?
$COMMON_TOP/_pages

http://krishnasudagani.blogspot.in/

Page 3

8) What are adadmin utilities and their location?


$AD_TOP/bin
adadmin
adpatch
adsplice
adident
adrelink
adlicmgr
9) How do you load java class to database?
adjava
10) What are restart files and its location?
These files contain the previous session info about adadmin. Location is
$APPL_TOP\admin\sid\restart\*.rf9
11) What is forms configuration file and its location?
1. In R11i, appsweb_<Context Name>.cfg @$COMMON_TOP/html/bin
2. In R12, appsweb.cfg @$INST_TOP/ora/10.1.2/forms/server
12) What are report server configuration and log file name and its location?
Configuration files (R11i): REP_<SID>.ora (R11i).
Log files (R11i): REP_<SID>.log @806_ORACLE_HOME/reports60/server
Configuration file (R12): rwbuilder.conf @$INST_TOP/ora/10.1.2/report/conf
13) Location of Scripts in database tier?
$ORACLE_HOME/appsutil/scripts/<c_n>
14) Location of startup and shutdown services in apps Tier?
$ADMIN_SCRIPTS_HOME---$INST_TOP/admin/scripts
15) Location of database connect descriptor file?
DBC file $FND_SECURE:--$INST_TOP/appl/fnd/12.0.0/secure
16) Location of context file in apps Tier and database Tier?
$ORACLE_HOME/appsutil/<c_n>.xml
In APPS tier $INST_TOP/appl/admin:-<C_N>.xml
17) Log files location for form and web services?
$LOG_HOME---$INST_TOP/logs

http://krishnasudagani.blogspot.in/

Page 4

18) Where is configuration files located for form and web services?
$ORA_CONFIG_HOME--->$INST_TOP/ora

19) Location of log files generated by concurrent manager?


$APPLCSF:-$INST_TOP/logs/appl/conc
20) Location of temporary sql and plsql files generated by concurrent programs?
$APPLTMP and $APPLPTMP
21) Common location for class files?
$COMMON_TOP/java/classes
22) Difference between file system in R11i and R12?
In R11i there was only a single INST directory for multiple nodes whereas from r12 each and every node
has a separate INST directory.
In R11i scripts were under $COMMON_TOP/admin/scripts
From R12 $ADMIN_SCRIPTS_HOME:-$INST_TOP/admin/scripts
Versions:
1) How to check my java version in R12 EBS?
$ORACLE_HOME/jdk/bin/java fullversion
Java full version "1.4.2_14-b05"
2) How to check my forms version in R12 EBS?
$ORACLE_HOME/bin/frmcmp_batch|grep Forms| grep Version
Forms 10.1 (Form Compiler) Version 10.1.2.3.0 (Production)
3) How to check my Apache version in R12 EBS?
$IAS_ORACLE_HOME/Apache/Apache/bin/httpd version
Server version: Oracle-Application-Server-10g/10.1.3.4.0 Oracle-HTTP-Server
Server built: Jul 7 2008 14:58:00
4) How to check my pl/sql version in R12 EBS?
$ORACLE_HOME/bin/frmcmp_batch|grep PL/SQL|grep Version
PL/SQL Version 10.1.0.5.0 (Production)
5) How to check my jre version R12 EBS?
cat $FORMS_WEB_CONFIG_FILE|grep sun_plugin_version
sun_plugin_version=1.6.0_07
6) How to find workflow version in oracle apps R12?
SQL> select TEXT from WF_RESOURCES whereNAME='WF_VERSION';
http://krishnasudagani.blogspot.in/

Page 5

TEXT
-------------------------------2.6.0
7) How to check ther version of EBS?
Select release_name from fnd_product_groups
Or run ./rapidwizversion from s/w directory.

FNDCPASS:
1) What is content of dbc file & why its important ?
DBC file is quite important as whenever Java or any other program like forms want to connect to database
it uses dbc file. Typical entry in dbc file is GUEST_USER_PWD ,APPS_JDBC_URL ,DB_HOST
2) There are lot of dbc file under $FND_SECURE, How its determined that which dbc file to use from
$FND_SECURE?
This value is determined from profile option Applications Database ID
3) What is TWO_TASK in Oracle Database ?
TWO_TASK mocks your tns alias which you are going to use to connect to database. Lets assume you have
database client with tns alias defined as PROD to connect to Database PROD on machine
appsdbatraining.com listening on port 1521. Then usual way to connect is sqlplus
username/passwd@PROD ; now if you dont want to use @PROD then you set TWO_TASK=PROD and
then can simply use sqlplus username/passwd then sql will check that it has to connect to tnsalias define
by value PROD i.e. TWO_TASK
4) What is GWYUID?
GWYUID stands for Gateway User ID and password. Usually like APPLSYSPUB/PUB
5) Where GWYUID defined & what is its used in Oracle Applications ?
GWYUID is defined in dbc i.e. Database Connect Descriptor file . It is used to connect to database by thin
clients.
6) What is wdbsvr.app file used for? What's full path of this file? What's significance of this file?
The wdbsvr.app is used by mod_plsql component of Apache to connect to
database. The File is located at $IAS_ORACLE_HOME/Apache/modplsql/cfg.
7) How to retrieve SYSADMIN password?
If forgot password link is enabled and sysadmin account is configured with mail id user forget password
link else you can reset sysadmin password via FNDCPASS
8) What is difference between GUEST_USER_PWD (GUEST/ORACLE) &GWYUID?
http://krishnasudagani.blogspot.in/

Page 6

GUEST_USER_PWD(Guest/Oracle) is used by JDBC Thin Client where as GWYUID is used by Thick Clients
like via Forms Connections
9) What is the utility to change the password of a dba schema in oracle apps?
FNDCPASS
10) What are mandatory users in oracle apps?
applsys, applsyspub, apps
11) How you will change apps password?
FNDCPASS 0 y apps/ system/ SYSTEM APPLSYS

http://krishnasudagani.blogspot.in/

Page 7

12) What if apps password is changed with alter command?


Applications wont work.
13) What is the difference between alter and FNDCPASS in changing apps password?
FNDCPASS will update some fnd tables other than standard tables.
14). Where the FNDCPASS utility is located?
Concurrent node @FND_TOP/bin
15) Location of log file generated by FNDCPASS?
This utility generates a log file in same location where we run FNDCPASS.
Always with a unique name.
ex :-<unique name>.log
16) How can we identify that fndcpass has successfully changed the passwords.
By referring Logfile generated by fndcpass.
If the status in logfile is null value(blank) or working Password has been changed Successfully.
Else password has not changed successfully.
17) Can we change a regular database user password using fndcpass ex:-U1?
FNDCPASS is a utility used the change the password of apps related Users.
18) Which user's password is changed by FNDCPASS?
Apps Super Users:-applsys,apps
BASE product schema:-ex:-gl,ap
FRONT end USers:-ex:-JOHN
19) Can we change the password of base product schema AD,FND and AU?
By default Base product Schema's by this name or for this products does not exists in database.
Explanation:-As data objects for this products owned/contained by Applsys user.
20) How can we troubleshoot if FNDCPASS fails to change the password?
take backup of two tables
1)DBA_USERS
2)FND_ORACLE_USERID
the rerun fndcpass until the password gets changed successfully.
21) How to fix even if the password cannot be changed by FNDCPASS after taking backup of two tables?
Always refer logfile generated by FNDCPASS.
else regenerate FNDCPASS executable using adadmin option or by using adrelink utility.
22) Does usage of FNDCPASS invoke a worker process?e
http://krishnasudagani.blogspot.in/

Page 8

Using FNDCPASS to change password deosn't involve or invoke a worker process.

23) What are the different modes used during FNDCPASS?


1)SYSTEM
2)ORACLE
2)USER
24) What is the usage of system mode using FNDCPASS?
SYSTEM mode is to change the password of Apps Super Users.
1)Applsys and apps
25) Can we define any other username while using SYSTEM mode?
SYSTEM mode is predefined for only one user applsys(not even for apps)
26) What happens when we use SYSTEM mode in FNDCPASS?
SYSTEM mode using FNDCPASS changes the password of apps and applssys user at the same time.
Explanation:-As some utility like "adctrl" needs authentication from applsys and apps.
27) Can we individually Change the password of Applsys or apps using FNDCPASS or do we have any
other alternative?
Using FNDCPASS its not possible and not even through "alter user" command as its updates only a single
table dba_users but not FND_ORACLE_USERID.
28) What is the usage of ALL ORACLE mode using FNDCPASS?
Using ALL ORACLE mode we can change the password of all Base Product Schema's at once.
where all the base product schema's now contains the same password.
29) Can we use ALL ORACLE mode in r12.1.1 by default?
By default this option is not available in R12.1.1 its introduced from r12.1.3
which can be used by apply a patch in r12.1.1
30) Which two usernames and their passwords must be defined using FNDCPASS?
APPS username and its password must be defined along wth the database user system and its password.
31) Can we change any password using FNDCPASS incase if we forget the apps user password?
If we forget the apps password we can cannot change any other users password not even applsys.
Explanation:-Therefore a function must be created to decrypt apps password then can change other users
password using FNDCPASS.
32) What is 0 & Y in FNDCPASS?
0 & Y are flags for FND Executable like FNDCPASS.
Explanation: where 0 is request id (request ID 0 is assigned to request IDs which are not submitted via
Submit Concurrent Request Form.
http://krishnasudagani.blogspot.in/

Page 9

Y indicates the method of invocation. i.e. it is directly invoked from the command-line not from the
Submit Request Form.
33) Usage of FNDCPASS to change password?
FNDCPASS 0 y apps/<pwd> system/<pwd> <MODE> <username> <new pwd>
34) Incase of USER mode what tables in the database are being updated?
Incase of USER mode FNDCPASS updates a single table FND_USER but not dba_users.
35) Who is the owner of the tables FND_USER and FND_ORACLE_USERID
apps
36) What is DAD?
It is a file which stores apps passwords in hard coded format i.e. wdbsvr.app(in r11i) not in r12
Adadmin:
1)What is adadmin and why is it used?
Adadmin (Ad administration) is used to perform a number of administrative tasks to maintain the Oracle
Applications. Adadmin ensure that Oracle Applications run smoothly.
The Adadmin performs two types of worksone which is performed at database level and other which is
performed at the file system level.
2) What options are available in the adadmin main menu.
AD Administration Main Menu
Generate Applications Files menu
Maintain Applications Files menu
Compile/Reload Applications Database Entities menu
Maintain Applications Database Entities menu
Change Maintenance Mode
Exit AD Administration
3) What are the adadmin activities that can be run in a parallel way?
The following adadmin tasks are supported to be run in parallel mode.
Recreate grants and synonyms
Compile APPS schema
Generate message files
Generate form files
Generate report files
4) Which options of adadmin can and cannot be run in a non-interactive way?
Starting form AD.I all the options of the adadmin can be run in non-interactive way.
5) Do Ad utilities support the help option?
http://krishnasudagani.blogspot.in/

Page 10

Yes, starting from AD.I all Ad utilities support the help option. The help can beinvoked by typing
<AD Utility name> help=y
6) How can you regenerate all the forms files using adadmin and what does it do internally?
The generate forms files option of adadmin takes care of generating the forms files (extension .fmx) from
binary forms definition files (extension .fmb). These binary forms definition files are normally located at
$AU_TOP, and the executables files are stored under each products directory. Oracle Applications use
the binary form files to display data entry forms.
7) You have accidentally deleted the environment file. How can you recreate it?
Prior to R12 in R11i environmental file could be regenerated using adadmin but from R12 we can
regenerate it using autoconfig (adautocfg.sh)
8) In adadmin there is an option validate APPS schema. What does it mean and what does it do?
Validating APPS schema means verifying the integrity of the APPS schema. It checks whether the apps
schema has proper roles and privileges or not. It determines the problems you must fix specific to APPS
schema as well as the problems you must fix not specific to the APPS schema. This task produces a report
named <APPS schema name>. 1st which is located at $APPL_TOP/admin/$TWO_TASK/out.
Validation of the APPS schema is in turn taken care by a SQL script advrfapp.sql. The location of the same
is $AD_TOP/admin/sql. The same script can also be run from the sql prompt.cc
9) How do you recreate the grants and the synonyms for the APPS schema?
The recreation of the grants and the synonyms inthe APPS schema can be done using the option recreate
grants and synonym for the APPS schema available in the adadmin. This task takes care of recreating
grants and synonyms for APPLSYSPUB, recreates grants in some packages from SYSTEM to APPS and
recreating grants and synonyms for APPS schema.
This task runs two SQL files:
Runs $FND_top/admin/sql/afpub.sql to set up grants and synonyms for the Applications Public Schema
(APPLSYSPUB by default)
Runs $AD_TOP/admin.sql/adappsgs.pls for every Oracle Applications base product schema
10) What is the significance of the DUAL table? Who owns this table and how many rows it should
have?
The DUAL table is created automatically by Oracle along with the data dictionary. It is located in the
schema of SYS. It has one column named DUMMY of type VARCHAR2 and contains one row with a value
of X. In case it has more than one row, application system may not function properly.
11) What is distributed AD?
Distributed AD is introduced after AD.H which allows workers processing to be distributed across multiple
nodes. This can be used only on the application systems that are using a shared application tier file
system.each time you run AutoPatch; it automatically creates a new (updated) snapshot so that
theinformation is current as of the application of the patch.
The same can be done using the adadmin utility

http://krishnasudagani.blogspot.in/

Page 11

12) what is adodfcmp?


The object description file comparison utility is known as adodfcmp. Each Oracle application product is
made up of one or more building blocks. For example, journal entry is one building block of Oracle
General Ledger. There is an object descriptor file (ODF) describing the tables, views, indexes, sequences
and privilege sets for the particular building block.
The ODF comparison utility compares an ODF with the database objects in an Oracle account, detects any
differences in database structure, and runs SQL statements to remove the differences
13) What is maintaining snapshot information and how can it be done?
Basically, there are two types of snapshots: APPL_TOP snapshot and global snapshot. An APPL_TOP
snapshot lists patches and versions of files in the APPL_TOP. A global snapshot lists patches and latest
versions of files in the entire applications system (that is across all APPL_TOP).
14) How to compile rdf?
Either using adadmin or rwconverter($ORACLE_HOME/bin)
15) What is mean by enabling maintanance mode?
Maintanance mode is the adadmin option introduced from AD.I. When maintanance mode is enabled
user may able to login to application but they only get profile option in the frontend navigation menu.
16) adident utility is used for what ?
adident utility in oracle apps is used to find version of any file . AD Identification.
17) Usage of adident utility?
adident Header <filename>
18) Location of logfile generated by adident?
$APPL_TOP/admin/<SID>/log
19)Do we have any other alternative to check file version apart from adident?
strings <filename> | grep Header
20) How will you find total number of invalid objects in database?
SQLPLUS> select count(*) from dba_objects where status like 'INVALID';

21)How to compile Invalid Objects in database?


You can use adadmin utility to compile or you can use utlrp.sql script shipped with Oracle Database to
compile Invalid Database Objects.
22)How to compile JSP in Oracle Apps?
You can use ojspCompile.pl perl script shipped with Oracle apps to compile JSP files. This script is under
$JTF_TOP/admin/scripts. Sample compilation method is
perl ojspCompile.pl --compile --quiet
23) What is difference between COMPILE_ALL=SPECIAL and COMPILE=ALL while compiling Forms?
http://krishnasudagani.blogspot.in/

Page 12

Both the options will compile all the PL/SQL in the resultant .FMX, .PLX, or .MMX file but
COMPILE_ALL=YES also changes the cached version in the source .FMB, .PLL, or .MMB file.
24). How do you generate jar files?
Using adadmin and option 5 under Generate files Menu
25) How do you validate apps schema?
To validate synonyms, missing synonyms and all grantsuse adadmin. After validating it will produce a
report in the location $APPL_TOP\admin\sid\out\*.out
26) How do you enable maintenance mode?
Using adadmin or running a script called "adsetmmd.sql ENABLE/DISABLE" (AD_TOP/patch/115/sql)
27). What isthe location of adadmin log?
$APPL_TOP\admin\sid\log
28)which utility is used to generate forms exec file in R12?
frmcmp_batch in R12.
f60gen in R11i
29)Utility Used to generate message file?
In R11i FNDMSGEN
R12 FNDMDGEN
30)How does the message file is regenerated?
Using FNDMDGEN which takes info from FND_NEW_MESSAGE_TABLE (apps)
Adctrl and adrelink:
1) What is adctrl?
Adctrl is one of the adutilities, which is used to check the status of workers and to manage the workers.
2) Can you name some of the menu options in adctrl?
Check the status of workers, tell manager that worker has quieted, restart a failed worker etc.
3) How to skip a worker and why?
We can skip a worker using option 8 in adctrl which is hidden. We will go for skipping a worker when we
have executed the job which the worker issupposed to do it.
4)What is the hidden option in adctrl?
The eighth and last option is adctrl is the hidden option. Its used for skipping and restarting the failed
workers.
5) Explain briefly the different status of the workers.
Following are the different status of workers:
http://krishnasudagani.blogspot.in/

Page 13

Assigned
Completed
Failed
Fixed, Restarted
Restarted
Running
Wait

: The manager assigned a job to the worker.


: The worker completed the job
: The worker has encountered a problem and has failed.
: You fixed the problem and the failed job has restarted.
: The worker has restarted a job.
: The worker is running a job.
: The worker is idle.

6). Can adctrl be run in non-interactive way? If yes, how?


Yes, adctrl can be in a non-interactive way exactly in the same way it runs for adadmin. The same defaults
file which is used for the adadmin can also be used for running adctrl in non-interactive manner. Only the
menu option needs to be added for running the adctrl in case same defaults file is used. If you want to
create a new defaults file then the same can be created exactly in the same way as created for adadmin.
example of running adctrl in non-interactive mode:
adctrl interactive=n\
defaultsfile=$APPL_TOP/admin/emstest/ctrldefs.txt\
menu_option=SHOW_STATUS \
logfile=adctrl.log
7)Few menuoption for the defaults file for adctrl is listed below:
ACKNOWLEDGE_QUIT
Tell manager that a worker acknowledges quit
INFORM_FAILURE
Tell manager that a worker failed its job
RESTART_JOB
Tell worker to restart a failed job
SHOW_STATUS
Show worker status
SHUTDOWN_WORKER
Tell worker to quit
START_WORKER
Restart a worker on the current machine
8)Logfile location for adctrl?
$APPL_TOP/admin/<sid>/log
9)what tables are created by the utility when a worker process invokes?
FND_INSTALL_PROCESSES
AD_DEFERRED_JOBS
10)What does the status failed indicates?
Incase if the worker process fails to run a job the status of worker process
changes to failed.

http://krishnasudagani.blogspot.in/

Page 14

11)How can we restart a failed job?


Using adctrl option 2
Tell the worker to restart a failed job.
12)Does adctrl require any users authentication?
Yes adctrl needs an authentication of apps and applsys.
13)Can we run adctrl if applsys and apps password is not identical?
No we cannot run adctrl is super users passwords are not same and not even if any user's(apps or applsys)
account is locked.
14)How can we forcefully fail a job?
Using adctrl option 4
Tell the manager that a worker failed its job.
15)whats the usage of 6th option in adctrl?
Incase if o/s crashes due to some minor error therefore to restart the failed job on same machine we go
with this option.
16)Location of adctrl utility?
Ans: $AD_TOP/bin
17)What is adrelink and why is it used?
Adrelink is the executable which is used to relink ad executables with Oracle product libraries contained
within the Oracle Applications Technology Stack Oracle_Home. All product executables can be linked
using the relink application executables menu on the adadmin maintain application filessubmenu except
an ad executable which has to be manually relinked using ad relink.
18)What is the force=y option while using the adrelink.sh?
The option force=y will relink the executables regardless the status of the libraries or the object files.
Force=n will relink only if the libraries or object files are some recent than the current executable
program.
19). How do you relink an executable of a product?
By relinking option in adadmin or adrelink
20). How do you relink AD product executable and usage?
adrelink.sh and adrelink.sh force=y "ad adsplice"
21).When do you go for relinking?
When you miss an executable file
22)When there is a problem with any executable file
When any product executable gets corrupted
http://krishnasudagani.blogspot.in/

Page 15

22)Location of logfile for adrelink?


$APPL_TOP/admin/<SID>/log

Autoconfig:
1) What is autoconfig?
Autoconfig is an adutility which is used to maintain application environment and configuration files.
2. What are the parameter autoconfig will ask for?
Context file name and apps password
3. What is context file?
Context file is a central repository, which stores all application configuration information. The name is like
<Instance name>_ <Host name>.xml
4. How you will find autoconfig is enabled/not for your applications?
1. Open any environment / configuration files, the first few lines will tell you that these files are
maintained by autoconfig or not.
2. If <Context Name>.xml file is there in APPL_TOP/admin

5. How autoconfig will create environment and configuration files?


Autoconfig will go to each and every top template directory take the templates from there and fill the
values from xml file and create the required files.
6. In how many phases autoconfig will run?
Autoconfig will run in 3 phases.
1. INIT Instantiate the drivers and templates
2. SETUP Fill the template with values from xml and create files
3. PROFILE Update the profile values in database.
7. What is the location of adconfig log file?
$INST_TOP/admin/log/< timestamp >
8. Is it possible to restore an autoconfig run?
Partially but not complete. Adconfig will create a restore.sh script at
$INST_TOP/admin/out/<timestamp> directory. This restore.sh will copy the backed up files before
autoconfig run to its original locations. But the profile values updated in the database cant be restored
back.

http://krishnasudagani.blogspot.in/

Page 16

9. How to run autoconfig in test mode?


adchkcfg.sh script at AD_TOP/bin. This script will run autoconfig in test mode and create the difference
file which tells us what is going to change, when you actually run autoconfig.
10. How to find autoconfig is enabled or not for database?
If we have appsutil directory under RDBMS_ORACLE_HOME
11.How to find adconfig is enabled for oracle operating system user/database?
If appsutil directory is there in RDBMS_ORACLE_HOME
12)How can we run autoconfig?
using adautocfg.sh
13)Where can we find autocfg.sh?
$ADMIN_SCRIPTS_HOME:-$INST_TOP/admin/scripts
14)which scripts are invoked by autocfg.sh?
autocfg.sh invokes adconfig.sh location:-$AD_TOP/bin
which further invokes adconfig.pl under $AD_TOP/bin which again invokes java API.
15)How to rollback the changes done by autoconfig?
autoconfig always takes the backup of all the files in the current before updating or regenerating
configuration file in the form of o/p file "restore.sh ". therefore the changes can be roll backed using
restore.sh.
16)Location of the output file(restore.sh) generated by autoconfig?
$INST_TOP/admin/out/<timestamp>
17)Location of autoconfig script(autoconfig) in database tier?
$ORACLE_HOME/appsutil/scripts/<c_n>
18)Location of template files in database tier and apps tier?
In database Tier:-$ORACLE_HOME/appsutil/templates
In apps Tier:-$<PROD>_TOP/admin/templates
19)what is cvm?
CVM stands for context value management is a process which saves or updates the value permanently in
context file.
20)which script is used to invoke cvm in database Tier and apps Tier?
In apps Tier adcvm.sh --->$AD_TOP/bin
Database Tier adcvm.sh--->$ORACLE_HOME/appsutil/bin
21)Location of adconfig.sh and adconfig.pl invoked by autocfg.sh in database tier?
http://krishnasudagani.blogspot.in/

Page 17

$ORACLE_HOME/appsutil/bin
22)Logfile Location for autoconfig in database Tier
$ORACLE_HOME/appsutil/log
23)Execution of which script is faster adchkcfg.sh or adautocfg.sh?
adchkcfg.sh execution is faster as it would not update or regenerate a configuration but only generates a
report in the form of o/p file.
24)How can we change the value in context file using OAM?
OAM is monitoring tool for Oracle Apps.
using System administrator-->OAM-->dashboard-->sitemap-->autoconfig
25)Can we run autonfig in apps Tier incase context file is missing or db in down state?
No we cannot run autconfig without having context file?
Explanation:-As autoconfig takes the values from context file and creates a new configuration file.
26) I have the context file in the APPL_TOP admin directory and all my configuration files also say that
the application system is managed by autoconfig but when I login to the database server I am not able
to see the context file. Is my application system really autoconfig enabled?
It means that autoconfig is not enabled in the database tier. You need to enable the autoconfig in the
database tier also using admkappsutil.pl ($AD_TOP/bin) in apps Tier.

Concurrent Manager:
1.What is RRA?
RRA stands for Report Review Agent. RRA is nothing but FNDFS which is part of apps listener. RRA job is to
pick the log/out file from the file system and show on the editor when u press view log/out button in
View concurrent request form.
2. What is apps listener?
Apps listener is the combination of FNDFS and FNDSM. FNDSM is service manager which will monitor
application services on that node when GSM:enable profile value is Y.
3.Where is the concurrent manager log file located?
$INST_TOP/logs/appl/conc/log or $APPLCSF/$APPLLOG
http://krishnasudagani.blogspot.in/

Page 18

4.What are the different types of concurrent managers?


1. Internal concurrent manager Will start all other managers and monitor.
2. Standard Manager All concurrent requests by default will go to this.
3. Conflict resolution manager Concurrent programs with incompatibilities will be handled by this.
4. Transaction manager Handle all transaction requests.
5. What are actual and target count in Administer Concurrent Managers form?
Target is the number of concurrent processes a manager is supposed to start (specified in the definition
of concurrent manager). Actual is the number of processes a manager started actually. Target and Actual
should be always same.
6. What if Target and Actual are not same?
It means at operating system level resources are low to accommodate the required processes for
concurrent managers.
7. What are work shifts?
Work shifts are nothing but timings at which the concurrent manageris supposed to run.
8. What if internal concurrent manager target and actual are not same?
we need to bounce the concurrent manager using adcmctl.sh
9. How to bounce a single concurrent manager?
From frontend using Administer ConcurrentManager form.
10.How to find trace file for a given concurrent request id?
Go to $RDBMS_ORACLE_HOME/admin/<context_name>/udump
Grep <request id> *
11. What is the command line utility to submit a concurrent request?
CONCSUB @ $FND_TOP/bin/CONCSUB.
12. What is the script to find out ICM status?
afimchk.sql@FND_TOP/sql
13. What is the script to list the concurrent request status?
afrqrun.sql@FND_TOP/sql
14. What is the script that Lists managers that currently are running a request?
afcmrrq.sql@FND_TOP/sql
15.List out few Concurrent mgr related tables ?
CONCURRENT REQUEST/PROGRAM/MANAGERS
------------------FND_CONCURRENT_QUEUES
http://krishnasudagani.blogspot.in/

Page 19

FND_CONCURRENT_PROGRAMS
FND_CONCURRENT_REQUESTS
FND_CONCURRENT_PROCESSES
FND_CONCURRENT_QUEUE_SIZE
16.Output & logfiles for requests executed on source instance not working on cloned instance?
Check whether apps listener is running
17.What happens if you dont give cache size while defining concurrent manager?
Most often when a request goes inactive/no manager and is then processed a short time later, the
solution is to either increase the cache size for your Standard manger, or increase the actual number of
Standard Manager processes that can run. Cache Size is set in the Concurrent/Manager/Define form.
Basically, this regulates how many requests a manager will pick up for each sleep cycle.
18.Conflict resolution managers resolves the conflicts yes , but hw it knows tht there are conficts?why
conflicts occur?
Concurrent managers read request to start concurrent programs running. The Conflict Resolution
Manager checks concurrent program definitions for incompatibility rules. If a program is identified as Run
Alone, then the Conflict Resolution Manager prevents the concurrent managers from starting other
programs in the same conflict domain.
When a program lists other programs as being incompatible with it, the Conflict Resolution Manager
prevents the program from starting until any incompatible programs in the same domain have completed
running
19.How to start Apps listener?
you have script adalnctl.sh which will start your apps listener. You can also start it by command lsnrctl
start APPS_$SID (Replace sid by your Instance SID Name)
20. How to confirm if Apps Listener is Up & Running?
lsnrctl start APPS_$SID (replace SID with your Instance Name) so if your SID is VISION then use lsnrctl
status APPS_VISION

21.If by mistake someone deleted FNDLIBR can this executable be restored if Yes, How & if no, what
will you do?
Yes, you can restore FNDLIBR executables
Run adadmin on concurrent manager node
Select Maintain Applications Files menu
Then select Relink Applications programs
When prompts for Enter list of products to link ('all' for all products) [all] select FND
When prompt for Generate specific executables for each selected product [No]? select YES
http://krishnasudagani.blogspot.in/

Page 20

From list of executables select FNDLIBR this will create new FNDLIBR executables
22)is the utility to clean the concurrent manager?
@cmclean.sql (You have to download it from metalink)
23)How to define a customconcurrent manager?
System administrator--->concurrent:manager-->define

Patching:
1.What are the different types of patches?
oneoff, mini packs, family packs, maintanance packs, rollup pathches, colsolidated patches.
2. What is a oneoff patch?
An oneoff patch is a small patch of (20-90K size) without any pre-reqs
3. What is a mini pack ?
A mini pack is one which will upgrade any product patchset level to next level like AD.H to AD.I
4. What is Family pack ?
A Family pack is one which will upgade the patchset level of all the products in thsat family to perticular
patchsetlevel.
5. What is Maintanance pack ?
A maintanance pack will upgrade applications from one version to another like 11.5.8 to 11.5.9
6. What is a Rollup patch?
A rollup patch is one which will deliver bug fixes identified after therelease of any major application
versions like 11.5.8/11.5.9
7. What is consilidated patch?
Consolidated patches will come into pictures after upgrades from one version of applications to anoter,
all post upgrade patches will a consolidated and given as consolidated patch.
8. How u will find whether a patch is applied/not?
Query ad_bugs.

9. What is the other table where u can query what are the patches applied?
Ad_applied_patches
10. What is the difference between ad_bugs and ad_applied_patches?

http://krishnasudagani.blogspot.in/

Page 21

A patch can deliver solution for more than one bug, so ad_applied_patches may not give u the perfect
information as in case of ad_bugs.
11. How u apply a patch?
adpatch
12. What inputs you need to apply a patch other than driver name and etc?
apps and system passwords
13. What are the table u r adpatch will create and when?
Adpatch will create FND_INSTALL_PROCESSES and AD_DEFERRED_JOBS table when it will apply d,g and u
drivers.
14. What is the significance of FND_INSTALL_PROCESSES and AD_DEFERRED_JOBS table?
FND_INSTALL_PROCESSES table will store the worker information like what job is assigned to which
worker and its status. AD_DEFERRED_JOBS will come into picture when some worker is failed, it will be
moved to AD_DEFERRED_JOBS table, from where again adpatch will take that job and try to resign, after
doing this 3 times if still that worker is failing, then adpatch will stop patching and throw the error that
perticular worker has failed. We need to trouble shoot andrestrart the worker.
15. If it is a multinode installation which driver we need to apply on which node?
c,d,g on concurrent node and c, g on web node. If it is u-driver we need to apply on all nodes.
16.While applying a application patch is that necessary that u r database and listener should be up?
Yes . why because adpatch will connect to database and update so many tables etc..
17. While applying a patch if that patch is failing because of a pre-req then how you will apply that prereq patch and resume with the current patch?
We need to take the backup of FND_INSTALL_PROCESSES and AD_DEFERRED_JOBS tables and restart
directory at APPL_TOP/amdin/SID and then use adctrl to quit all the workers. Then apply the pre-req
patch , after that rename u r restart directory to its original name and create FND_INSTALL_PROCESSES
and AD_DEFERRED_JOBS tables from the bcakup tables. Start adpatch session and take the options want
to continue
previous session.
18. Where would you find .rf9 file, and what exactly it does?
These files are used during restart of patch in case of patch failure because of some reason.
19. What c-driver will do?
C-drive copies the files from patch unzipped directory to required location in your application file system.
Before copying it will check the file version of the existing file at the file system with the file version of the
file in the patch. If the patch file versionis higher than what it is at file system level then only c-driver will
copy that files.
20. How adpatch will know the file versions of the patch delivered files?
http://krishnasudagani.blogspot.in/

Page 22

With each patch a file with name f<patch_number>.ldt is delivered, which contain thefile versions of the
files delivered with the patch. Adpatch will use this file to compare the file versions of files its delivering
with the file on file system.
21. What is the worker log file name and its location?
adwork01,adwork02 and location is APPL_TOP/admin/SID/log
22. How you will know, what are the files the patch is going to change just my unzipping the patch?
When you unzip a patch it will keep all the files related to a particular product under that directory inside
your patch directory for example if the patch delivering files related to FND product then it will create a
sub directory under the patch directory with the name FND in which it will put all related files to that
product.
23. What is the adpatch log file location?
APPL_TOP/admin/SID/log
24. What is the significance of backup directory under your patch directory?
When we apply a patch it will keep the copy of the files which its going to change in file system. with the
name backupunder patch dir.
25. What are the different modes you can run your adpatch?
1. Interactive default mode
2. Non interactive Use defaults files to store prompt values (adpatch defaultsfile=<filename>
interactive=no)
3. Test Without actually applying a patch just to check what its doing.(adpatch apply=no)
4. Pre-install (adpatch preinstall=y) This mode will be useful to decrease upgrade downtime as its applies
bus fixes without running SQL,EXEC and generate portion of patch.
26. Is that necessary to enable maintenance mode while applying a patch?
We can even apply a patch without enabling maintenance mode with the following option:
$ adpatch options=hotpatch
27. How to find out what are the RDBMS patches applied to an oracle home?
1. opatch lsinventory
2. $RDBMS_ORACLE_HOME/.patch_storage directory contains the directories with the rdbms patch
number, which are applied to this oracle.
28.Is it necessary to shutdown database while applying a database patch?
Yes.
29.While applying a RDBMS patch using Opatch you are getting the error, unable to read
inventory/inventory is corrupted/ORACLE_HOME is not registered, what you will do, and how you will
apply the patch?

http://krishnasudagani.blogspot.in/

Page 23

We will check the inventory directory permission; try to apply the patch after giving 777 permissions to
that inventory directory. If still it wont work we will apply patch with the following command: $ Opatch
apply no_inventory
30.How to find out which patch driver is applied (like c,d,g or u)?
Query ad_patch_drivers.
31. How to find out whether a language patch is applied for a particular patch?
Query ad_patch_driver_langs.
32.How To get information related to how many time driver file is applied for bugs
select * from AD_PATCH_RUN_BUGS where BUG_ID in (select BUG_ID from AD_BUGS where
BUG_NUMBER = ''
33. How To find latest patchset level for module installed
select APP_SHORT_NAME, max(PATCH_LEVEL) from AD_PATCH_DRIVER_MINIPKS GROUP BY
APP_SHORT_NAME
How to find out Patch level of mini Pack
Select product_version,patch_level from FND_PROUDCT_INSTALLATIONS where patch_level like
'%&shortname%';
Replace short name by name of Oracle Apps Minipack for which you want to find out Patch level . ex.
AD -for Applications DBA
34.I am applying a patch , can I open another session and run adadmin ?
Yes, unless you are running a process where workers are involved
35.I am applying a patch , can I open another session in another node and run adpatch?
No
36.How to find opatch Version ?
opatch is utility to apply database patch , In order to find opatch version
execute"$ORACLE_HOME/OPatch/opatch version"
37. How to merge patches and what type of patches can be merged?
admrgpch. We can merge any kind of application patches, if any of the patch contain a u-driver then
merged patch will contain u_merged.drv otherwise c_merged.drv, d_merged.drv and g_merged.drv.
38.What is FNDLOAD ?
FNDLOAD is a utility which is similar to sqlloder but loads code objects into database, where as
SQLLOADER loads data objects into database.
39. How adpatch will know the file versions of the patch delivered files?
With each patch a file with name f.ldt is delivered , which contain the file versions of the files dilivered
with the patch. Adpatch will use this file to compare the file versions of files its delivering with the file on
file system
http://krishnasudagani.blogspot.in/

Page 24

40.How to find out which patch driver is applied(like c,d,g or u)?


query ad_patch_drivers.
42. How to find out whether a language patch is applied for a particular patch?
Query ad_patch_driver_langs.
43. When a patch delivers java files what extra file u will get when u unzip the patch, other then u r
dirver and readme files?
j.zip52. :
44. What are the ways to reduce patch timing?
Merging patches via admrgpch
Use various adpatch options like nocompiledb or nocompilejsp
Use defaults file
Staged APPL_TOP during upgrades
Increase batch size (Might result into negative )
45. How you put Applications 11i in Maintenance mode ?
Use adadmin to change Maintenance mode is Oracle Apps. With AD.I you need to enable maintenance
mode in order to apply apps patch via adpatch utility..
Also you can use the script $AD_TOP/patch/115/sql/ adsetmmd.sql
46. What are various options available with adpatch ?
Various options available with adpatch depending on your AD version are autoconfig, check_exclusive,
checkfile, compiledb, compilejsp, copyportion, databaseprtion,generateportion, hotpatch, integrity,
maintainmrc, parallel, prereq, validate
47.What is difference between adpatch & opatch?
adpatch is utility to apply oracle apps Patches whereas
# opatchis utility to apply database patches
48.While applying Apps patch using adpatch, if you want to hide the apps password, how will that be
possible?
Use adpatch flags=hidepw while applying patches in apps to hide apps or system password being
displayed on screen.
49. What is .pls files which you see with apps?
.PLS file stands for plsql files. In apps patch these files contain code to create package spec or package
body or both.
50. What are .ldt & .lct files which you see in apps patch or with FNDLOAD?
.ldt & .lct stands for Loader data file & Loader configuration files, used frequently in migrating
customization, profile options, configuration data etc. across Instances.

http://krishnasudagani.blogspot.in/

Page 25

51. What are .odf file in apps patch?


odf stands for Object Description Files used to create tables & other database objects while applying a
patch.
52.When you apply C driver patch does it require database to be Up & Why?
Yes, database & db listener should be UP when you apply any driver patch in apps. Even if driver is not
updating any database object connection is required to validate apps & other schema and to upload
patch history information in database tables.
53. Can C driver in apps patch create Invalid Object in database?
No, C driver only copies files in File System. Database Object might be invalidated during D driver when
these objects are created/dropped/modified.
54.Types of Driver Files within the patch directory?
Copy(c),database(d), and generate(g) driver file prior to 11.5.8
From 11.5.9 Unified(u) driver file(c+d+g) driver file

Cloning:
1)What is rapid clone?
Rapid Clone is the new cloning utility introduced in Release 11.5.8. Rapid Clone leverages the new
installation and configuration technology utilized by Rapid Install.
2) How do I determine if my system is rapid clone enabled?
First, verify that your system is AutoConfig enabled. Then, verify that you have applied the latest Rapid
Clone patch.
Explain the cloning process?
Answer:
1. Run adpreclone as applmgr and oracle user on source
Perl adpreclone.pl dbTier as oracle user
Perl adpreclone.pl appsTier as applmgr user
2. Take the cold/hotbackup of source database
3. Copy the five directories <prod>appl,<prod>comn,<prod>ora , <prod>db,<prod>data to target
4. Rename the directories, and change the permission
5. Setthe inventory in oraInst.loc
6. Run perl adcfgclone.pl dbTier as oracle user,if the backup type is cold
7. If the backup type is hotbackup then
Perl adcfgclone.pl dbTechStack.
Create the control file on target from the control script trace file fromsource.
Recover the database.
Alter database open resetlogs
8. Run autoconfig with the ports changed as per requirement in xml.
9. Run perl adcfgclone.pl appsTier as applmgr
http://krishnasudagani.blogspot.in/

Page 26

10.Run autoconfig with the ports changed as per requirement in xml.


3) What is the location of adpreclone.pl for oracle user?
$ORACLE_HOME/appsutil/scripts/<contextname>
4) What is the location of adpreclone.pl for applmgr user?
$INST_TOP/admin/scripts
5) What is the location of adcfgclone.pl for oracle user?
$ORACLE_HOME/appsutil/clone/bin
6) What is the location of adcfgclone.pl for applmgr user?
$COMMON_TOP/clone/bin
7) How do we find adpreclone is run in source or not?
If clone directory exists under RDBMS_ORACLE_HOME/appsutil for oracle user and $COMMON_TOP for
applmgr user.
8)Whether we need to run adpreclone everytime when we clone, why ?
We have to run adpreclone if there are changes in any customizations or any other tablespaces like if
applied any AD patches,
Big Patches, Minipacks, ATG patches, Tech Stack, and AD Patches. If there are no changes, then its not
required.
9)What will happen when we run adpreclone ?
It will collect all info of the environment and store in seperate template files.
10)How many types of cloning are available?
There are two types of cloning methods available for Oracle Applications. One is adclone and other is
rapidclone.
11) What is the difference between adclone and rapidclone?
Adclone is an Oracle provided utility to clone application system. This utility is used to clone application
system for release 11.5.1 to 11.5.5 for system which are not autoconfig enabled, whereas rapidclone is
used for those system which are autoconfig enabled.
12)What were the steps involved in adclone?
Adclone involves four simple steps:
Running rapid install
Copying the source database
Copying the source application file system
Updating the configuration information
My source and target platforms have different binaries. Say I have AIX platform in the source and I want
the target platform in Linux. Is there any way I can clone the environment?
http://krishnasudagani.blogspot.in/

Page 27

Yes, you can clone or migrate the application system from any platform to Linux or any supported Unix
platform. For doing this, you need to refer the metalink note migrating to Linux within Oracle
Applications.
13) Is it possible to clone from a single node installation to a multiple node installation?
Yes, you can clone a single node installation to a multiple node installationusing the rapid clone.

Performance Tuning :
1)What are the patch errors, you have encountered?
1) Patch fails with the error, unable to generate particular form, do you want to continue. We continue
patching by saying yes, then we manually regenerate the form using f60gen utility.
2) Unable to generate jar files under JAVA_TOP
AutoPatch error:
Failed to generate the product JAR files
Solution:
Run adjkey
2) What are the post installation tasks?
Running adjkey initialize and then runnning adadmin to regerate jar files.
3) What are the clone errors, you have encountered?
Error:
RC-50013: Fatal: Failed to instantiate driver
/u01/fms2c/appfms2c/fms2cora/iAS/appsutil/driver/instconf.drv
Cause:
The source instance has files that adpreclone flags as 'autoconfigurable' but in reality they are not. So
adpreclone.pl adds these files into the instconf.drv. Then when adcfgclone.pl is run on target it looks for
the template file to instantiate for these files and since there isn't a template file adcfgclone.pl fails.
Solution:
Modify the target's instconf.drv and remove the offending lines. Then rerun adcfgclone.pl
4) What are the real time problems you have encountered and how you have troubleshooted them?
1. Concurrent Program is erroring out with snapshot too old error. To resolve this we have added space to
temp tablespace.

http://krishnasudagani.blogspot.in/

Page 28

2. Concurrent Program is erroring out with unable to extent a particular tablespace by so and so extents.
To resolve this we have added on more data file to that tablespace.
3. When we are trying to start apache with adapcctl.sh script after autoconfig run, it is saying that node
id is not matching with the application server id. To resolve this we have updated the server id column in
FND_NODES table with the server id value in dbc file.
5) What are the files which contain apps password?
1. wdbsrv.app@IAS_ORACLE_HOME/Apache/modplsql/cfg
2. CGIcmd.dat@806_ORACLE_HOME/reports60/server
3. wfmail.cfg@FND_TOP/resource -optional
4. CatalogLoader.conf@OA_JAVA optional(NOT IN R12)

6) when do we run FND_CONC_CLONE.SETUP_CLEAN ?


FND_NODES table contains node information, If you have cloned test instance from production still the
node information of production will be present after clone in the test instance.
we use FND_CONC_CLONE.SETUP_CLEAN to cleanup FND_NODES table in the target to clear source node
information as part of cloning.
Below syntax to execute:
SQL> sho user
USER is "APPS"
SQL> EXEC FND_CONC_CLONE.SETUP_CLEAN;
PL/SQL procedure successfully completed.
SQL> commit;
Commit complete.
This will delete all the entries in the fnd_nodes table, to populate it with target system node information,
Run autoconfig on DB node and Applications node.
7)adopmnctl.sh: exiting with status 206
Expected Solution:
cd $ORA_CONFIG_HOME/10.1.3/j2ee/oacore/persistence/
rm -rf *
cd $ORA_CONFIG_HOME/10.1.3/j2ee/oafm/persistence/
rm -rf*

General Interview questions :


http://krishnasudagani.blogspot.in/

Page 29

1) What is adjkey? What files it will create?


adjkey is an adutility which will create digital signature, which will be used to sign all the jar files when we
generate jar files using adadmin. The purpose of this is, when you access forms interfaceevery time, the
signature of the jar files which is going to download is compared with the existing cached jar files
signature in client machine. If signature wont match, it will download that jar files again.
It will create the following files:
1.adsign.txt@APPL_TOP/admin
2.appltop.cer@APPL_TOP/admin
3.identitydb.obj@applmgr home
2)What are the post installation tasks?
Running adjkey initialize and then runnning adadmin to regerate jar files.
3)What are the clone errors, you have encountered?
Error:
RC-50013: Fatal: Failed to instantiate driver
/u01/fms2c/appfms2c/fms2cora/iAS/appsutil/driver/instconf.drv
Cause:
The source instance has files that adpreclone flags as 'autoconfigurable' but in reality they are not. So
adpreclone.pl adds these files into the instconf.drv. Then when adcfgclone.pl is run on target it looks for
the template file to instantiate for these files and since there isn't a template file adcfgclone.pl fails.
Solution:
Modify the target's instconf.drv and remove the offending lines. Then rerun adcfgclone.pl
4)What are the real time problems you have encountered and how you have troubleshooted them?
1. Concurrent Program is erroring out with snapshot too old error. To resolve this we have added space to
temp tablespace.
2. Concurrent Program is erroring out with unable to extent a particular tablespace by so and so extents.
To resolve this we have added on more data file to that tablespace.
3. When we are trying to start apache with adapcctl.sh script afterautoconfig run, it is saying that node id
is not matching with the application server id. To resolve this we have updated the server id column in
FND_NODES table with the server id value in dbc file.
5)How you will find workflow version?
Run wfver.sql@FND_TOP/sql script as apps user
6) When forms are running in servlet mode then the environment variables required for forms must be
defined in what file and its location?
formsservlet.ini@$APACHE_TOP/Jserv/etc.
7) How to validate that sysadmin password is correct or not from backend?
SQL> select fnd_web_sec.validate_login('SYSADMIN','Qwert8765') from dual;
8). How to compile jsp's (other than from adadmin)?
http://krishnasudagani.blogspot.in/

Page 30

Force compilation of all jsps using the following command:


$ ojspCompile.pl --compile --flush
9). How to rotate logs for apache logs?
1.Using rotatelogs executable in httpd.conf file.
2.Use Errorlog for error_log file rotation.
3.Transferlog for other log files.
10) Other way of checking whether MRC is enabled or not besides using adadmin?
select multi_currency_flag from fnd_product_groups;
11) What are the files which contain apps password?
1. wdbsrv.app@IAS_ORACLE_HOME/Apache/modplsql/cfg
2. CGIcmd.dat@806_ORACLE_HOME/reports60/server
3. wfmail.cfg@FND_TOP/resource -optional
4. CatalogLoader.conf@OA_JAVA -optional
5. CatalogLoader.xml@OA_HTML -optional
12) How to find out JDBC version?
In the middle tier, edit the jserv.properties file located in the
$IAS_ORACLE_HOME/Apache/Jserv/etc directory-Locate the wrapper.classpath that is pointing to the
jdbc zip file $COMMON_TOP/java/jdbc14.zip

13) How to find out XML Parser Version?


SQL> select WF_EVENT_XML.XMLVersion() XML_VERSION from sys.dual;
14) How to check whether the product is install, shared and Not installed in Applications?
SQL>select t.application_name, t.application_id, i.patch_level, decode(i.status,I',Fully Installed,N,'Not
Installed,'S,'Shared,'Undetermined) statusfrom fnd_product_installations i, fnd_application_vl twhere
i.application_id = t.application_idorder by t.application_id;
15)What do we have in FND_NODES?
FND_NODES table contains information about node_names and services enabled on a node. In multinode
instance if you want to know which node is running what services, You can query the fnd_nodes and get
that information.
16)when do we run FND_CONC_CLONE.SETUP_CLEAN ?
FND_NODES table contains node information, If you have cloned test instance from production still the
node information of production will be present after clone in the test instance.
we use FND_CONC_CLONE.SETUP_CLEAN to cleanup FND_NODES table in the target to clear source node
information as part of cloning.
Below syntax to execute:
SQL> sho user
http://krishnasudagani.blogspot.in/

Page 31

USER is "APPS"
SQL> EXEC FND_CONC_CLONE.SETUP_CLEAN;
PL/SQL procedure successfully completed.
SQL> commit;
Commit complete.
This will delete all the entries in the fnd_nodes table, to populate it with target system node information,
Run autoconfig on DB node and Applications node.
17)How verify the sysadmin password from command line?
This utility can be used to verify the GUEST/ORACLE password
SQL>select fnd_web_sec.validate_login('SYSADMIN','<sysadmin_password>')from dual;
If it returns Y then sysadmin password is correct
If it returns N then sysadmin password that we are using
Eg:
SQL> select fnd_web_sec.validate_login('SYSADMIN','SYSADMIN123') from dual;
FND_WEB_SEC.VALIDATE_LOGIN('SYSADMIN','SYSADMIN123')
-------------------------------------------------------------------------------N
SQL> select fnd_web_sec.validate_login('SYSADMIN','SYSADMIN') from dual;
FND_WEB_SEC.VALIDATE_LOGIN('SYSADMIN','SYSADMIN')
-------------------------------------------------------------------------------Y
18)List out few Apps related tables ?
FND_CONCURRENT_TABLES
FND_CONCURRENT_REQUESTS
AD_SNAPSHOT_FILES
FND_ORACLE_USERID
FND_USER
FND_INSTALL_PROCESSES
19)What is content of dbc file & why its important ?
DBC file is quite important as whenever Java or any other program like forms want to connect to database
it uses dbc file. Typical entry in dbc file is GUEST_USER_PWD ,APPS_JDBC_URL ,DB_HOST
20)How to find if any service is listening on particular port ornot ?
netstat-an | grep {port no}
This value is determined from profile option Applications Database ID

http://krishnasudagani.blogspot.in/

Page 32

You might also like