Oracle APPS DBA Questions
Oracle APPS DBA Questions
sdassssssssssssssssssssssssssssssssssssssssssssssssssssss
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaadsfdsfdsfdfd
sfdsfsdfdsff
Q47. If your system has more than one Jinitiator, how will the system know, whic
h one to pick. ?
Ans: When client makes a forms connection in Oracle Applications, forms client s
ession uses configuration file defined by environment variable FORMS60_WEB_CONFI
G_FILE also called as appsweb config file. These days this file is of format app
sweb_$CONTEXT.cfg The initiator version number defined by parameter jinit_ver_na
me in this file will be used
Q48. While applying Apps patch using adpatch, if you want to hide the apps passw
ord, how will that be possible ?
Ans: using flags=hidepw
Q49. What is importance of IMAP Server in Java Notification Mailer ?
Ans: IMAP stands for Internet Message Access Protocol and Java Notification mail
er require IMAP server for Inbound Processing of Notification Mails.
Q50. What is difference between Socket & Servlet Mode in Apps Forms ?
Ans: When forms run SOCKET Mode these are dedicated connection between Client Ma
chine & Form Server (Started by adfrmctl.sh). When Forms run in servlet mode the
forms requests are fulfilled by Jserv in Apache . There will be additional JVM
for Forms Request in that case and you won't start form via adfrmctl.sh.
Q51. a. How to find OUI version ?
b. How to find Database version ?
c. How to find Oracle Workflow Cartridge Release Version ?
d. How to find opatch Version ?
e. How to find Version of Apps 11i ?
f. How to Discoverer Version installed with Apps ?
g. How to find Workflow Version embedded in Apps 11i ?
h. How to find version of JDK Installed on Apps ?
Ans: OUI
***
OUI stands for Oracle Universal Installer. In order to find Installer version yo
u have to execute ./runInstaller -help ( From OUI location)
You will get output like
Oracle Universal Installer, Version 10.1.0.4.0 Production Copyright (C) 1999, 20
05, Oracle. All rights reserved.
That means OUI version in above case is 10.1.0.4
OUI location is $ORACLE_HOME/oui/bin
DB
**
select * from v$version;
Oracle Workflow
***************
Log in to the database as the owf_mgr user and issue
select wf_core.translate('WF_VERSION') from dual;
Opatch
*******
$ORACLE_HOME/OPatch/opatch version
Apps
****
select RELEASE_NAME from fnd_product_groups;
Discoverer
**********
Discoverer with Apps installed in ORACLE_HOME same as 806 is usually 3i or 4i. T
o find Version login to Application Tier & go to $ORACLE_HOME/discwb4/bin and ex
ecute
strings dis4ws | grep -i 'discoverer version'
Workflow embedded in 11i
************************
Run following SQL from apps user ;
SQL>select TEXT from WF_RESOURCES where NAME='WF_VERSION';
You should see output like
TEXT
-----------------------
2.6.0
Which means you are on Workflow Version 2.6.0
You can also use script wfver.sql in FND_TOP/sql to find version of workflow in
Apps.
JDK in Apps
***********
There might be multiple JDK installed on Operating System . Like JDK 1.3.1, 1.4.
2 or 1.5 but in order to find which Version of JDK your Apps is using
Open your Context File $SID_$HOSTNAME.xml under $APPL_TOP/admin and look for var
iable
JDK_TOP oa_var="s_jdktop" what so ever value assigned against that parameter go
to that directory & cd bin & execute command
./java -version so lets assume entry above is /usr/jdk then cd /usr/jdk/bin & ./
java -version , you will see output like
java version "1.4.2_10"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_10-b03)
Java HotSpot(TM) Client VM (build 1.4.2_10-b03, mixed mode)
Which means you are using JDK 1.4.2 in Oracle Applications 11i.
Q52. If by mistake you/someone deleted FNDLIBR can this executable be restored i
f Yes, How & if no, what will you do ?
Ans: Yes, you can restore FNDLIBR executables
Run adadmin on concurrent manager node
select option 2. Maintain Applications Files menu
then select 1. 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] ? YES
select YES
& from list of executables select FNDLIBR
This will create new FNDLIBR executables.
Q53. What is .pls files which you see with apps ?
Ans: pls file stands for plsql files. In apps patch these files contain code to
create package spec or package body or both.
Q54. What are .ldt & .lct files which you see in apps patch or with FNDLOAD ?
Ans: .ldt & .lct stands for Loader datafile & Loader configuration files, used f
requently in migrating customization, profile options, configuration data, etc..
across Instances.
Q55. What are .odf file in apps patch ?
Ans: odf stands for Object Description Files used to create tables & other datab
ase objects.
Q56. What to find Form Server log files in forms ?
Ans: Form Server Start up log file default location is $OAD_TOP/admin/log/$CONTE
XT_NAME/f60svrm.txt
Forms Run Time Diagnostics default location is $ORACLE_HOME/forms60/log/$CONTEXT
_NAME
Q57. How to convert pll to pld file or pld file to pll ?
Ans: Pll->Pld f60gen module=MSCOSCW3.pll module_type=library userid=apps/ module
_access=file output_file=MSCOSCW1.pld script=yes
Pld -> pll f60gen module=MSCOSCW3.pld userid=apps/ module_type=library module_ac
cess=file output_file=MSCOSCW1.pll parse=y batch=yes compile_all=special
Q58. Is APPS_MRC Schema exists for MRC in 11.5.10 and higher ?
Ans: No , apps_mrc schema is dropped with 11.5.10 Upgrade & 11.5.10 new Install.
This is replaced by more Integrated Architecture.
Q59.If APPS_MRC schema is not used in 11.5.10 and higher then How MRC is working
?
Ans: For products like Payable, Recievables which uses MRC and if MRC is enabled
then each transaction table in base schema related to currency now has an assoi
cated MRC Subtables.
Q60. When you apply C driver patch does it require database to be Up & Why ?
Ans: Yes , database & db listener should be Up when you apply any driver patch i
n apps. even if driver is not updating any database object connection is require
d to validate apps & other schema and to upload patch history information in dat
abase tables.
Q61. Can C driver in apps patch create Invalid Object in database ?
Ans: No , C driver only copies files in File System. Database Object might be in
validated during D driver when these objects are created/dropped/modified.
Q.62 Why does a worker fails in Oracle Apps Patch and few scenarios in which it
failed for you ?
Ans: This question sounds stupid but this is asked quite often in Apps DBA Inter
view. Apps Patch worker can fail in case it doesn't find expected data, object,
files or any thing which driver is trying to update/edit/modify. Possible sympto
ms may be underlying tables/objects are invalid, a prereq patch is missing , log
in information is incorrect, inconsistency in seeded data...
Q63. What is dev60cgi & f60cgi ?
Ans: cgi stands for Common Gateway Interface and these are Script Alias in Oracl
e Apps used to access forms server . Usually Form Server access directly via htt
p://hostname:port/dev60cgi/f60cgi
Q64. What is difference between mod_osso & mod_ose in Oracle HTTP Server ?
Ans: mod_osso is Oracle Single Sign-On Module where as mod_ose is module for Ora
cle Servlet Engine.
mod_osso is module in Oracle's HTTP Server serves as Conduit between Oracle Apac
he Server & Singl Sign-On Server where as mod_ose is also another module in Orac
le's HTTP Server serves as conduit between Oracle Apache & Oracle Servlet Engine
.
Q65. What is difference between COMPILE_ALL=SPECIAL and COMPILE=ALL while compil
ing Forms ?
Ans: Both the options will compile all the PL/SQL in the resultant .FMX, .PLX, o
r .MMX file but COMPILE_ALL=YES also changes the cached version in the source .F
MB, .PLL, or .MMB file. This confuses version control and build tools (CVS, Subv
ersion, make, scons); they believe you've made significant changes to the source
. COMPILE_ALL=SPECIAL does not do this.
Q66. What is ps -ef or ps command in Unix ? for work ex < 1 yr
Ans: ps is unix/linux utility or executable to find status of process. Used main
ly to find if services/process is running or not.
Q67. What is GSM in Oracle application E-Business Suite ?
Ans: GSM stands for Generic Service Management Framework. Oracle E-Business Suit
e consist of various compoennts like Forms, Reports, Web Server, Workflow, Concu
rrent Manager ..
Earlier each service used to start at their own but managing these services (giv
en that) they can be on various machines distributed across network. So Generic
Service Management is extension of Concurrent Processing which manages all your
services , provide fault tolerance (If some service is down ICM through FNDSM &
other processes will try to start it even on remote server) With GSM all service
s are centrally managed via this Framework.
Q68. What is FNDSM ?
Ans: FNDSM is executable & core component in GSM ( Generic Service Management Fr
amework discussed above). You start FNDSM services via APPS listener on all Node
s in Application Tier in E-Business Suite.
Q69. What is iAS Patch ?
Ans: iAS Patch are patches released to fix bugs associated with IAS_ORACLE_HOME
(Web Server Component) Usually these are shiiped as Shell scripts & you apply iA
S patches by executing Shell script. Note that by default ORACLE_HOME is pointin
g to 8.0.6 ORACLE_HOME and if you are applying iAS patch export ORACLE_HOME to i
AS . You can do same by executing environment file under $IAS_ORACLE_HOME
Q70. If we run autoconfig which files will get effected ?
Ans: n order to check list of files changes during Autoconfig , you can run adch
kcfg utility which will generate HTML report. This report will list all files &
profile options going to change when you run AutoConfig.
Q71. What is difference between .xml file & AutoConfig ?
Ans: Autoconfig is Utility to configure your Oracle Application environment. .xm
l file is repository of all configuration from which AutoConfig picks configurat
ion and polulates related files.
Q72. What is .lgi files ?
Ans: gi files are created with patching along with .log files . .lgi files are i
nformative log files containing information related to patch. You can check .lgi
files to see what activities patch has done. Usually informative logs.
Q73. How will you skip worker during patch ?
Ans: f in your adctrl there are six option shown then seventh is hidden option.(
If there are seven options visible then 8th option is to Skip worker depending o
n ad version).
Q74. Which two tables created at start of Apps Patch & drops at end of Patch ?
Ans: FND_INSTALLED_PROCESSES &AD_DEFFERED_JOBS are the tables that get updated w
hile applying a patch mainly d or unified driver.
Q75. How to compile an Oracle Reports file ?
Ans: Utility adrepgen is used to compile Reports. Synatx is given below
adrepgen userid=apps\ source = $PRODUCT_TOP\srw\filename.rdf dest=$PRODUCT_TOP\s
rw\filename.rdf stype=rdffile dtype=rdffile logfile=x.log overwrite=yes batch=ye
s dunit=character
Q76. What is difference between AD_BUGS & AD_APPLID_PATCHES ?
Ans: AD_BUGS holds information about the various Oracle Applications bugs whose
fixes have been applied (ie. patched) in the Oracle Applications installation.
AD_APPLIED_PATCHES holds information about the "distinct" Oracle Applications pa
tches that have been applied. If 2 patches happen to have the same name but are
different in content (eg. "merged" patches), then they are considered distinct a
nd this table will therefore hold 2 records.
Q77. What exactly happens when you put an Oracle Apps instance in maintenance mo
de ?
Ans: Maintenance mode provides a clear separation between normal runtime operati
on of Oracle Applications and system downtime for maintenance. Enabling the main
tenance mode feature
a) shuts down the Workflow Business Events System and
b) sets up function security so that no Oracle Applications functions are availa
ble to users.
Used only during AutoPatch sessions, maintenance mode ensures optimal performanc
e and reduces downtime when applying a patch. (Source Metalink Note: 233044.1)
Q78. What is profile options, What are various type of profile options ?
Ans:
Q79. If users complaining Oracle Applications 11i system is running slow , what
all things you will check at broad level ?
Ans:
Q80. Why appsutil directory under Database ORACLE_HOME used for ?
Ans: All the template files, startup scripts , XML files are maintained here .
Q81. How to create User in Oracle Applications 11i ? Can you delete a User ?
Ans: New User can be created using security-->Define-->User menu. No , user cann
ot be deleted but can be end-dated.
Q82. What is Single Sign On ? ( If you are using portal 3.0.9 or 10G )?
Ans: As name says Single-Sign On Server is set of services (Software) which enab
les login to Application once which will allow you to login to Ppartner Applicat
ions with no need to login again. Lets assume I have configured single SSO Serve
r for Portal , E-Business Suite, Collaboration Suite plus some other other appli
cations, Now if I login to any one of them & after that if I wish to login to ot
her applications I should be able to login without supplying passwords again.
Q83. How to configure portal with 11i ? ( If you are using portal 3.0.9 or 10G )
?
Q84. What is content of dbc file & why its important ?
Ans: DBC file is quite important as whenever Java or any other program like form
s want to connect to database it uses dbc file. Typical entry in dbc file is
GUEST_USER_PWD
APPS_JDBC_URL
DB_HOST
Q85. There are lot of dbc file under $FND_SECURE, How its determined that which
dbc file to use from $FND_SECURE ?
Ans: This value is determined from profile option "Applications Database ID".
The name can be picked from s_dbc_file_name in XML file.
Q86. Info Regarding Inventory.
Ans: What is oraInventory ?
oraInventory is repository (directory) which store/records oracle software produ
cts & their oracle_homes location on a machine. This Inventory now a days in XML
format and called as XML Inventory where as in past it used to be in binary for
mat & called as binary Inventory.
There are basically two kind of Inventory Global Inventory (also called as Centr
al Inventory) and Local Inventory also called as Oracle Home Inventory.
Global Inventory ?
Global Inventory holds information about Oracle Products on a Machine. These pro
ducts can be various oracle components like database, oracle application server,
collaboration suite, soa suite, forms & reports or discoverer server . This glo
bal Inventory location will be determined by file oraInst.loc in /etc (on Linux)
or /var/opt/oracle (solaris). If you want to see list of oracle products on mac
hine check for file inventory.xml under ContentsXML in oraInventory (Please note
if you have multiple global Inventory on machine check all oraInventory directo
ries)
You will see entry like
HOME NAME="ORA10g_HOME" LOC="/u01/oracle/10.2.0/db" TYPE="O" IDX="1"/
...
...
Local Inventory ?
Inventory inside each Oracle Home is called as local Inventory or oracle_home In
ventory. This Inventory holds information to that oracle_home only.
Can I have multiple Global Inventory on a machine ?
- Quite common questions is that can you have multiple global Inventory and answ
er is YES you can have multiple global Inventory but if your upgrading or applyi
ng patch then change Inventory Pointer oraInst.loc to respective location. If yo
u are following single global Inventory and if you wish to uninstall any softwar
e then remove it from Global Inventory as well.
What to do if my Global Inventory is corrupted ?
- No need to worry if your global Inventory is corrupted, you can recreate globa
l Inventory on machine using Universal Installer and attach already Installed or
acle home by option
-attachHome
./runInstaller -silent -attachHome -invPtrLoc $location_to_oraInst.loc
ORACLE_HOME="Oracle_Home_Location" ORACLE_HOME_NAME="Oracle_Home_Name"
CLUSTER_NODES="{}"
Do I need to worry about oraInventory during oracle Apps 11i cloning ?
- No, Rapid Clone will update both Global & Local Inventory with required inform
ation , you don't have to worry about Inventory during Oracle Apps 11i cloning.
Q87. What is the database holding Capacity of Oracle ?
- database holding capacity of oracle 9i is 512 pb(peta bytes)
- database holding capacity of oracle 10 g is 8 trillion tera bytes
Q88. How to find Operation System Version (Unix/Linux) ?
For solaris use command
uname -a
You will see output like
For Solaris SunOS servername 5.8 Generic_117350-23 sun4u sparc SUNW,Sun-Fire-V24
0
For RedHat Linux use command
cat /etc/*release*
You will see output like
Red Hat Enterprise Linux AS release 3 (Taroon Update 6)
Which means you are on Solaris 5.8 or Linux AS 3 resp.
Q89. How to find if your Operating System is 32 bit or 64 Bit ?
For solaris use command
isainfo -v
If you see out put like
32-bit sparc applications
That means your O.S. is only 32 bit but if you see output like
64-bit sparcv9 applications
32-bit sparc applications
above means your o.s. is 64 bit & can support both 32 & 64 bit applications
Q90. Can I run 64 bit application on 32 bit Operating system ?
You can run 32 bit application (like oracle application server, web server, all
oracle application server are 32 bit ) on both 32 /64 bit operating system but a
64 bit application like 64 bit database can run only on 64 bit operating system
.
Q91. How to find if your database is 32 bit or 64 bit(Useful in applying Patches
) ?
execute "file $ORACLE_HOME/bin/oracle" , you should see output like
/u01/db/bin/oracle: ELF 64-bit MSB executable SPARCV9 Version 1
which means you are on 64 bit oracle
If your oracle is 32 bit you should see output like
oracle: ELF 32-bit MSB executable SPARC Version 1
Now you know what should be bit of patch to download