ORACLE APPS INTERVIEW QUESTIONS

1. How to determine Oracle Apps 11i Version ?

Ans : select RELEASE_NAME from fnd_product_groups;

You should see output like

RELEASE_NAME———————–11.5.10.2

2. How to find Database version ?

Ans : SQL> select * from v$version;

The command returns the release information, such as the following:Oracle9i Enterprise Edition Release 9.2.0.7.0 – ProductionPL/SQL Release 9.2.0.7.0 – ProductionCORE 9.2.0.7.0 ProductionTNS for 32-bit Windows: Version 9.2.0.7.0 – ProductionNLSRTL Version 9.2.0.7.0 – Production

3. How to find opatch Version ?

Ans : opatch is utility to apply database patch , In order to find opatch version execute”$ORACLE_HOME/OPatch/opatch version”

You can check OPatch -lsinventory

4. How to find out invalid objects in the database

Ans : select count(*) from dba_objects where status =’INVALID’

5. How you will see hidden files in linux/solaris?

Ans : ls -la

6. How to find that the database is 64-bit/32-bit?

Ans : $RDBMS_ORACLE_HOME/bin/file oracle

7. What is top command?

Ans : top is a operating system command, it will display top 10 processes which are taking high cpu and memory. 8. What is a patch?Ans : A patch can be a solution for a bug/it can be a new feature.

9. What are the different types of patches?

Ans : oneoff, mini packs, family packs, maintanance packs, rollup pathches, colsolidated patches.

8. What is a oneoff patch?

Ans : An oneoff patch is a small patch of (20-90K size) without any pre-req’s

9. What is a mini pack ?

Ans : A mini pack is one which will upgrade any product patchset level to next level like AD.H to AD.I

10. What is Family pack ?

Ans : A Family pack is one which will upgade the patchset level of all the products in that family to perticular patchsetlevel.

11. What is Maintanance pack ?

Ans : A maintanance pack will upgrade applications from one version to another like 11.5.8 to 11.5.9

12. What is a Rollup patch?

Ans : A rollup patch is one which will deliver bug fixes identified after the release of any major application versions like 11.5.8/11.5.9

13. What is consilidated patch?

Ans: 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.

14. How u will find whether a patch is applied/not?

Ans : Query ad_bugs.

15. What is the other table where u can query what are the patches applied?

Ans : Ad_applied_patches

16. What is the difference between ad_bugs and ad_applied_patches?

Ans: 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.

17. How u apply a patch?

Ans : adpatch

18. What inputs you need to apply a patch other than driver name and etc?

Ans : apps and system passwords

19. What are the table u r adpatch will create and when?

Ans : Adpatch will create FND_INSTALL_PROCESSES and AD_DEFERRED_JOBS table when it will apply d,g and u drivers

20. What is the significance of FND_INSTALL_PROCESSES and AD_DEFERRED_JOBS table?Ans: 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 and restrart the worker.

21. If it is a multinode installation which driver we need to apply on which node?

Ans: c,d,g on concurrent node and c, g on web node. If it is u-driver we need to apply on all nodes.

22.While applying a application patch is that necessary that u r database and listener should be up?

Ans: Yes . why because adpatch will connect to database and update so many tables etc…..

23. While applying a patch if that patch is failing because of a pre-req then how you will apply that pre-req patch and resume with the current patch?

Ans: 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.

24. What is adctrl?

Ans: Adctrl is one of the adutilities, which is used to check the status of workers and to manage the workers.

25. Can u name some of the menu options in adctrl?

Ans: Check the status of workers, tell manager that worker has quited, restart a failed worker etc….

26. How to skip a worker and why?

Ans: 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 is supposed to do.

27. How adpatch knows what are the pre-req’s for the patch which it is applying?

Ans: With every patch a file called b.ldt file will be delivered which contain the pre-req information. adpatch load this into databse using FNDLOAD and check , whether those pre-req patches were applied or not.

28. What is FNDLOAD ?

Ans: FNDLOAD is a utility which is similar to sqlloder but loads code objects into database, where as SQLLOADER loads data objects into database.

29. What c-driver will do?

Ans: C-drive copies the files from patch unzipped directory to required location in u r 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 version is higher than what it is at file system level then only c-driver will copy that files.

30. How adpatch will know the file versions of the patch delivered files?

Ans: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.

31. What is the adpatch log file location?

Ans : APPL_TOP/admin/SID/log

32. What is the worker log file name and its location?

Ans : adwork01,adwork02…… and location is APPL_TOP/admin/SID/log

33. How u will know what are the files the patch is going to change just my unzipping the patch?

Ans:When u unzip a patch it will keep all the files related to a particular product under that directory inside u r 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

34. What is the significance of backup directory under u r patch directory?

Ans:When we apply a patch it will keep the copy of the files which its going to change in file system.

35. What are the different modes you can run your adpatch?

Ans :1.Interactive – default mode

2.Non interactive – Use defaults files to store prompt values

(adpatch defaultsfile= interactive=no)

3. Test – Without actually applying a patch just to check what doing.(adpatch apply=no)

36. How u will monitor u r applications as well as database?

Ans: We have our custom scripts which is sheduled to run at a specific time which will monitor whether applications and databases are up/not. And it will mail us if some processes is not running. And we have one script which will check database alert log for ORA errors and mails it to us . Based on this we will react.

37. What are the latest ORA errors u have encountered?

Ans: Useually we will get the ORA errors like unable to extend the tablespace by so and so size. And we will check those tablespaces for space, if space is not there we will resize the datafile and add one more datafile.

38. Which table u will query to check the tablespace space issues?

Ans : bytes column in dba_free_spaces and dba_data_files

39. Which table u will query to check the temp tablespace space issues?

Ans : dba_temp_files

40. What is temp tablespace? And what is the size of temp tablespace in u r instances?

Ans : Temp tablespace is used by so many application programs for sorting and other stuff. Its size is between 3 to 10 GB.

41. What is autoconfig?

Ans : Autoconfig is an adutility which is used to maintain application environment and configuration files.

42. What are the parameter autoconfig will ask for?

Ans : Context file name and apps password

43. What is context file?

Ans : Context file is a central repositary, which stores all application configuration information. The name is like _ .xml

44. How you will find autoconfig is enabled/not for u r applications?

Ans: 1. Open any env / configuration files, the first few lines will tell u that this files are maintained by autoconfig.2. If contextname.xml file is there in APPL_TOP/admin

45. How autoconfig will create env and configuration files?

Ans: 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.

46. In how many phases autoconfig will run?

Ans : Autoconfig will run in 3 phases.

1.INIT – Instantiate the drivers and templates

2.SETUP – Fill the templated with values from xml and create files

3.PROFILE – Update the profile values in database.

47. What is the location of adconfig log file?

Ans : APPL_TOP/admin//log/

48. Is it possiable to restore a autoconfig run?

Ans : Adconfig will create a restore.sh script at $APPL_TOP/admin//out/. This restore.sh will copy the backed up files before autoconfig run to its original locations. But the profile values updated in the database can’t be restored back.

49. How to run autoconfig in test mode?

Ans : 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 u actually run autoconfig.

50. How to find autoconfig is enabled or not for database?

Ans:  If we have appsutil directory under RDBMS_ORACLE_HOME

51. 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?

Ans : j.zip52.

52.What is apps.zip/appsbrog2.zip file?

Ans : apps.zip/appsbrog2.zip is the patchable archive of all java class files required for oracle application.Apps.zip was used to old application version, but from 11.5.8 onwards its appsbrog2.zip

53. What is the location of apps.zip/appsbrog2.zip?

Ans : AU_TOP/java and JAVA_TOP

54. What is for “validating apps schema” option in adadmin?

Ans: It will check for the corrupted objects in apps schema

55. What is “compile apps schema” option in adadmin?

Ans : It will compile the invalid database objects.

56. How to find invalid objects in database?

Ans : select count(*) from dba_objects where status=’INVALID’;

57. How to find MRC is enabled or not?

Ans: In adadmin if covert to MRC options is there , then MRC is not enabled,If maintain MRC options is there , then MRC is enabled.

58. How to find Multi-Org is enabled or not?

Ans : In adadmin if covert to Multi org option is there, then Multi-org is not enabled. If maintain multi-org options is there, then Multi-org is enabled.

59. What is mean by MRC?

Ans: MRC stands for Multiple reporting Currency, this should be enabled to see the reports in different currencies like (rupees,yaans etc).

60. What is Multi-Org?

Ans: If this is enabled we can store multiple organization information in a single oracle application instance.

61. What is the configuration file for adutilities (like adadmin,adconfig etc)?

Ans: adconfig.txt @APPL_TOP/admin

62. What is adrelink?

Ans : adrelink will relink the executables with the libraries. Generally we will go for adrelink when some patch delivers some library files, or when executables were corrupted.

63. How to find the version of a file?

Ans : 1. adident Header 2. strings -a filename grep Header

64. What is adodfcmp utility?

Ans : This utility is used to recreate/repair corrupted database objects from odf(object defination files) files.

65. How you will change apps password?

Ans: FNDCPASS 0 y apps/ system/ SYSTEM APPLSYS

66. What if apps password is changed with alter command?

Ans : Applications won’t work.

66. What is the difference between alter and FNDCPASS in changing apps password?

Ans : FNDCPASS will update some fnd tables other than standard tables.

67. Where the FNDCPASS utility is located?

Ans : Concurrent node @FND_TOP/bin

68. How to find out what component of u r oracle applications were installed on which node?

Ans : Xml file (context file)

69. How to find the version of httpd/Apache web server?

Ans : $IAS_ORACLE_HOME/Apache/bin/httpd –version

70. What is the configuration file for httpd and what is the location of it ?

Ans : httpd.conf @IAS_ORACLE_HOME/Apache/Apache/conf

71. Where you will see when you have some problem with u r webserver(httpd/Apache)?

Ans : access_log & error_log @IAS_ORACLE_HOME/Apache/Apache/logs

72. When Apache starts what other components its start ?

Ans : PL/SQL Listener, Servlet Engine, OJSP Engine

73. What is jserv?

Ans : jserv is nothing but servlet engine which will run u r servlets. It’s a module of apache which supports servlets.

74. What is self service application?

Ans : Whatever part of u r oracle application u r able to see through web browser is self service.

75. Where u will see when u r not able to get self service applications?

Ans : access_log,error_log, error_pls, jserv.log, wdbsvr.app(for apps password)

76. What is the location of jserv.log?

Ans : IAS_ORACLE_HOME/Apache/Jserv/log

77. What is the location of wdbsvr.app ?

Ans : IAS_ORACLE_HOME/Apache/modplsql/cfg

78. What are jserv.conf and jserv.properties files?

Ans : These are the configuration files which were used to start jvm’s(servlet engine) by apache.

79. What is mean by clearing cache and bouncing apache?

Ans : 1. Stop apache (adapcctl.sh stop apps)

2. Clear cache – Go to $COMMON_TOP/html/_pages and delete _oa_html directory

(rm –r _oa__html)

3. Start apache (adapcctl.sh start apps)

80. What is forms configuration file and its location?

Ans : appsweb_contextname.cfg @$COMMON_TOP/html/bin

81. What are the different modes u can start u r form server?

Ans : socket and servlet

82. What is the difference beween socket and servlet mode?

Ans : In socket mode forms sessions are represented by f60webmx

In servlet mode forms sessions are represented by apache processes.

83. What is forms metric server and client?

Ans : When there are more than one form sever instances then forms metric server and clinet will be used to load balance.

84. Where the forms server related errors will be logged?

Ans : access_log and error_log

85. What is report server configuration and log file name and its location?

Ans : Configuration file – REP_.ora

Log file – REP_.log @806_ORACLE_HOME/reports60/server

86. What is CGIcmd.dat file and its location?

Ans : CGIcmd.dat file is the run time parameter file the report server located @ 806_ORACLE_HOME/reports60/server

87. What is the significance of DISPLAY variable?

Ans : Vnc server should be up and running at the specified port value in DISPLAY variable, otherwise reportserver may not able to show the graphics in Reports.

88. Where is the concurrent manager log file located?

Ans : $COMMON_TOP/admin//log or $APPLCSF/$APPLLOG

89. Is apps password necessary to start all the components of oracle application?

Ans : No. Only to start/stop concurrent managers apps password is needed.

90. What is a concurrent manager?

Ans : A concurrent manager is one which runs concurrent requests.

91. What are the different types of concurrent managers?

Ans : 1. Internal concurrent manager – Will start all other managers and monitor

2. Standard Manager – All concurrent request by default will to go this

3. Conflict resolution manager – Concurrent programs with incompatabilites will be handled by this

4. Transaction manager – Handle all transaction requests

92. What are actual and target count in ‘Adminster Concurrent Managers form’?

Ans : Target is the no. of concurrent processes a manager is supposed to start(specified in the defination of concurrent manager).Actual is the no. of processes a manager started actually.

Target and Actual should be always same.

93. What if Target and Actual are not same?

Ans : It means at operating system level resources are low to accomidate the required processes for concurrent managers.

94. What are work shifts?

Ans : Work shifts are nothing but timings at which the concurrent manager is supposed to run.

95. What if internal concurrent manager target and actual are not same?

Ans : we need to bounce the concurrent manager using adcmctl.sh

96. How to bounce a single concurrent manager?

Ans : From frontend using ‘Administer Concurrent Manager form’.

97. When we change apps password , is it necessary to bounce application?

Ans : Only we need to bounce concurrent managers.

98. What is dbc file and its location?

Ans : dbc file contain database connection information. DBC file is used by oracle applications to connect to database. Its location is $FND_TOP/secure

99. What is the other script by which u can start apache other than adapcctl.sh?

Ans : apachectl @IAS_ORACLE_HOME/Apache/bin

100. What is the configuration file for PL/SQL listener?

Ans : httpd_pls.conf @IAS_ORACLE_HOME/Apache/Apache/conf

101. How to skip copy portion while applying a patch?

Ans : Adpatch options=nocopyportion

102. How to merge patches and what type of patches can be merged?

Ans : 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

103. What is the Tiered architecture of u r instance?

Ans : Two Tier: Web and Forms on one node and Conc, admin and report on other node.

104. How to find formserver version?

Ans: f60gen and press enter, it will tell u the formserver version or we can find out from the frondend using help menu.

105. What is RRA?

Ans : 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’.

106. What is apps listener?

Ans : Apps lintener 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’.

107. What is GSM?

Ans : GSM stands for Generic service Manager, which will monitor application processes like web, forms etc and restarts any of this processes if goes down.

108. How to find the application version like 11.5.8/11.5.9….?

Ans : select release_name from fnd_product_groups;

109. How to find the database/sqlplus version?

Ans : select banner from v$version;

110. How to find out what are the languages enabled in u r applications?

Ans : Query fnd_languages

111. What is the size of u r database?

Ans : 200 to 500 GB

112. How to find operating system version?

Ans : uname –a

113. What are the problems u have faced while shutting down applications?

Ans : While shutting down application generally concurrent manager won’t go down because some or the other request may be running. We will see what are the concurrent requests running by querying fnd_concurrent_requests, fnd_concurrent_program_vl, v$session,v$process and v$sqltext. If that request is only doing some select statement then we will kill those requests, otherwise we will check what time it will take to complete by querying the previous runs of that request and then we will decide what to do.

114. What are the problems u have faced while starting up applications?

Ans : Most of the time we will encounter problem with starting up concurrent managers. Reasons , database listener may be down or FNDSM entries are wrong in tnsnames.ora of 806_ORACLE_HOME.

115. How to find the locks and what is the resolution?

Ans : we can find general locks with the following query:

select * from sys.dba_dml_locks order by session_id.

We can find the dead locks with the following query:

select * from v$lock where lmode > 0 and id1 in (select distinct id1 from v$lock where request > 0)

If it’s a dead lock, we need to kill that session.

116. How to kill a database session?

Ans : alter system kill session ‘&sid,&sno’;

117. How to find adconfig is enabled for oracle operating system user/database?

Ans : If appsutil directory is there in RDBMS_ORACLE_HOME

118. Which files tell u the database helath?

Ans : alert log file @RDBMS_ORACLE_HOME/admin//bdump

119. How to apply a rdbms patch?

Ans : Using opatch

120. How to find opatch is enabled or not for u r database?

Ans : If Opatch directory exists under RDBMS_ORACLE_HOME.

121. What is the pre-req for applying a rdbms patch?

Ans : Inventory should be set in file oraInst.loc @/var/opt/oracle or /etc

122. What is Inventroy?

Ans: The oraInventory is the location for the OUI (Oracle Universal Installer)’s bookkeeping. The inventory stores information about: All Oracle software products installed in all ORACLE_HOMES on a machine Other non-Oracle products, such as the Java Runtime Environment (JRE)

In a 11i Application system the RDBMS and iAS ORACLE_HOMEs are registered in the oraInventory. The 806 ORACLE_HOME, which is not managed through OUI, is not.

123. What are different types of inventories?

Ans: The Global inventory (or Central inventory) The Local inventory (or Home inventory)

124. What is Global inventory?

Ans : The Global Inventory is the part of the XML inventory that contains the high level list of all oracle products installed on a machine. There should therefore be only one per machine. Its location is defined by the content of oraInst.loc.The Global Inventory records the physical location of Oracle products installed on the machine, such as ORACLE_HOMES (RDBMS and IAS) or JRE. It does not have any information about the detail of patches applied to each ORACLE_HOMEs.The Global Inventory gets updated every time you install or de-install an ORACLE_HOME on the machine, be it through OUI Installer, Rapid Install, or Rapid Clone.

Note: If you need to delete an ORACLE_HOME, you should always do it through the OUI de-installer in order to keep the Global Inventory synchronized.

125. What is local inventory?

Ans : There is one Local Inventory per ORACLE_HOME. It is physically located inside the ORACLE_HOME at $ORACLE_HOME/inventory and contains the detail of the patch level for that ORACLE_HOME.The Local Inventory gets updated whenever a patch is applied to the ORACLE_HOME, using OUI.

126. What is rapid clone?

Ans : 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

127. How do I determine if my system is rapid clone enabled?

Ans : First, verify that your system is AutoConfig enabled. Then, verify that you have applied the latest Rapid Clone patch.

128. Explain the cloning process?

Ans :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 appl,comn,ora , db,data to target

4. Rename the directories, and change the permisssion

5. Set the 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 from source 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

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

129. What is the location of adpreclone.pl for oracle user?

Ans : RDBMS_ORACLE_HOME/appsutil/scripts/

130. What is the location of adpreclone.pl for applmgr user?

Ans : $COMMON_TOP/admin/scripts/

131. What is the location of adcfgclone.pl for oracle user?

Ans : $RDBMS_ORACLE_HOME/appsutil/clone/bin

132. What is the location of adcfgclone.pl for applmgr user?

Ans : $COMMON_TOP/clone/bin

133. What is statspack?

Ans : Statspack is a database utility to gather database and session level performance information.

134. How to install statspack?

Ans : Run the script spcreate.sql @RDBMS_ORACLE_HOME/rdbms/admin

Note more details on statspack refer metalink noteid: 149113.1

135. How to enable trace at database level?

Ans : set init.ora parameter sql_trace

136. How to enable trace for a session?

Ans: Alter system set sql_trace=true;

Execute the sql query

Alter system set sql_trace=false;

This will create a trace file at

$RDBMS_ORACLE_HOME/admin/contextname/udump with the spid of the current sql session.

137. How to enable trace for other session?

Ans : exec sys.dbms_system.set_sql_trace_in_session(sid,serial#,true/false)

Eg: To enable trace for sql session with sid 8SQL> exec sys.dbms_system.set_sql_trace_in_session(8,121,true);

PL/SQL procedure successfully completed.

To disable trace

SQL> exec sys.dbms_system.set_sql_trace_in_session(8,121,false);

138.What is the location of inint.ora ?

Ans : $RDBMS_ORACLE_HOME/dbs

139. What is that trace files contains and the utiliy used to read them?

Ans : Trace file contains the detail diagnostics of a sql statement like explain plan, physical reads, logical reads, buffer gets etc. Tkprof utility is used to convert trace file into readable format.

140. What is the syntax for tkprof?

Ans: tkprof explain=apps/ sys=no

141.How do we find adpreclone is run in source or not ?

Ans : If clone directory exists under RDBMS_ORACLE_HOME/appsutil for oracle user and $COMMON_TOP for applmgr user.

143. How to find trace file for a given concurrent request id?

Ans : Go to $RDBMS_ORACLE_HOME/admin//udump

grep “ “ *

144. What is a database link? How to create it?

Ans : If we want to access objects of another database from this database then we need a database link from this database to the other.

1.Login as oracle user

2.sqlplus “/as sysdba”

3. create database link connect to identified by using ”;

Ex

SQL> create database link TEST1_TO_TEST2 connect to apps identified by apps using ‘TEST2′;

Database link created.

SQL> select name from v$database@ TEST1_TO_TEST2;

NAME

———

TEST2

SQL>select db_link from dba_db_links;

4. Add destination database tns entry in tnsnames.ora

145. How many clonings u have done?

Ans : If u r very much confident on cloning processes then say 5 to 8 otherwise just 2 or 3.

146. What u know abt RMAN?

Ans : If u r good at RMAN then say yes, otherwise say we are not using RMAN for backup/recovery , why because we are using netapp snap technology for backups.

147. What is netapp?

Ans : Netapp is a storage technology.

148. What is formserver url?

Ans :http://hostname.domain:/dev60cgi/f60cgi

149. What is jinitiator?

Ans : Oracle jinitiator is the one which provide the required jvm to run forms interface/applet. When we access forms applet first time , oracle jinitiator will be installed automatically.

150. What is discoverer server?

Ans : Discoverer server is reporting tools which allows novoice user to use oracle application reports. Discoverer will come along with oracle applications when installed.

151. What is discoverer viewer url?

Ans: /discoverer4i/viewer152. What is discoverer plus url?

Ans : Ans : Aoljtest is a web based utility to test the availability of the different components of oracle applications like jserv,modplsql,jsp,forms etc

URL: /OA_HTML/jsp/fnd/aoljtest.jsp

154. What is adsplicer?

Ans : Adsplicer is a uitility used to register off cycle products.

155. What is licence manager?

Ans : Licence manager(adlicmgr) utility is used to licence/unlicence , enable new languages,enbale country specific functionality.

156. What is tnsping?

Ans : tnsping is command used to check the connectivity to the database server node from other nodes.

Ex: tnsping

Note: Tns entry should be there in tnsnames.ora for the database we are trying to work this command.

158. How to compile a form using f60gen?Ans :

f60gen module=/TEST/testappl/au/11.5.0/forms/F/ARXTWMAI.fmb userid=APPS/APPS output_file=/TEST/testappl/ar/11.5.0/forms/F/ARXTWMAI.fmx module_type=form batch=yes compile_all=special

160. What is APPLPTMP environment variable?

Ans : This is the temporary file location for the pl/sql temp files. If this variable was not set then the concurrent programs may errored out. 161. What is mean by enabling maintanance mode?

Ans : 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.

162. Is that necessary to enable maintanance mode while applying a patch?

Ans : We can even apply a patch without enabling maintanance mode with the following option

Adpatch options=hotpatch

163. How to find out oracle application framework version?

Ans : 1. Through aoljtest2. cd $COMMON_TOP/html/3. adident Header OA.jsp

164. How to find out what are the rdbms patches applied to an oracle home?

Ans :1. opatch lsinventory

2. $RDBMS_ORACLE_HOME/.patch_storage directory contains the directories with the rdbms patch number, which are applied to this oracle home.

165. Is that necessary to shutdown database while applying a database patch?

Ans : Yes.

166. What is the command line utility to submit a concurrent request?

Ans : CONSUB

167. What is the significance of utl_file_dir parameter in init.ora file?

Ans : The value of this parameter is the group of directories to which u r database can write, means u r database packages have permission to write to flat files in these directories.

168. How you will find out discoverer version?

Ans : cd $806_ORACLE_HOME/discwb4/lib strings libd* grep ‘Version:’

169. While applying a rdbms patch using opatch you are getting the error, unable to read inventory/inventory is corrupted/ORACLE_HOME is not not registered, what you will do, and how you will apply the patch?

Ans: We will check the inventory directory permission, try to apply the patch after giving 777 permissions to that inventory directory. If still it won’t work we will apply patch with the following command:

Opatch apply no_inventory

172. Have you applied rdbms patches and for what?

Ans : We got ORA-7445 error in alert log, for which oracle recommended to apply a rdbms patch.

173. What are the patch errors , you have encountered?

Ans :1)Patch fails with the error, unable to generate perticular form, do u want to continue. We continue patching by saying “yes”, then we manually regenarate 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 -initialize ———–to creat identitydb.obj file which will beused by adjava to sign jar files.

174. How Frequently you apply patches

Ans : As and when I get a requirement.

175. What type of patches you have applied so far?

Ans : One-off,Mini,Family

177. What are the clone errors, you have encountered?

Ans : Error:

RC-50013: Fatal: Failed to instantiate driver/u01/fms2c/appfms2c/fms2cora/iAS/appsutil/driver/instconf.drvCauseThe source instance has files that adpreclone flags as ‘autoconfigable’ 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. SolutionModify the target’s instconf.drv and remove the offending lines. Then rerun adcfgclone.pl

178. What are the real time problems you have encountered and how you trouble shooted that?

Ans:1. Concurrent Program is erroing out with snapshot too old error. To resolve this we have added space to temp tablespace.2. Concurrent Program is erroing out with unable to extent a perticular 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 a autoconfig run, its 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.

179. How you will find workflow version?

Ans : Run wfver.sql@FND_TOP/sql script as apps user

180 . When forms are running in servlet mode then the environment variables required for forms must be defined in what file and its location?

Ans : formsservlet.ini@$APACHE_TOP/Jserv/etc.

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

Ans: query ad_patch_drivers.

182. How to find out whether a language patch is applied for a perticular patch?

Ans : Query ad_patch_driver_langs.

183. How to validate that sysadmin password is correct or not from backend?

Ans: select fnd_web_sec.validate_login(‘SYSADMIN’,’Qwert8765′) from dual;

184. How to compile jsp’s(other than from adadmin)?

Ans: Force compilation of all jsps using the following command ojspCompile.pl –compile –flush

185. How to rotate logs for apache logs?

Ans: Using rotatelogs executable in httpd.conf file. Use Errorlog for error_log file rotation. Transferlog for other log files.

186. Other way of checking whether MRC is enabled or not besides using adadmin?

Ans : select multi_currency_flag from fnd_product_groups;

187. How to compile rdf?

Ans: Either using adadmin or rwcon60

189. How to change file/directory owner in linux/solaris?

Ans : chown – R :

Ex: chown – R applmgr:dba testappl

190. How to change the permission of file/directory in linux/solaris?

Ans : chmod –R

Ex : chmod –R 755 testappl

191. What are the files which contain apps password?

Ans :

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

192. What is the script to find out ICM status?

Ans : afimchk.sql@FND_TOP/sql

193. What is the script to list the concurrent request status?

Ans: afrqrun.sql@FND_TOP/sql

194. What is the script that Lists managers that currently are running a request?

Ans : afcmrrq.sql@FND_TOP/sql

195) How can I determine whether a template is customizable or non-customizable?

Ans : If a keyword “LOCK” is present at the end of the file entry in the respective driver, then it is a non-customizable template. If the “LOCK” keyword is not seen, then that template can be customized.

196) How to find out JDBC version :

Ans : 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/opt/oracle/apps/$TWO_TASK/comn/java/jdbc14.zip

197)How to findout XML Parser Version

Ans : SQL> select WF_EVENT_XML.XMLVersion() XML_VERSION from sys.dual;

198)How to find out WorkFlow Version

Ans SQL> select TEXT Version from WF_RESOURCES where TYPE = ‘WFTKN’ and NAME = ‘WF_VERSION’;

199) How to find a file version in Application DB:

select v.version,v.CREATION_DATE,c.CREATION_DATE from AD_FILES c,AD_FILE_VERSIONS v where c.FILENAME like ‘ARPURGEB.pls’ AND c.file_id = v.file_id AND c.app_short_name = ‘AR’;

When a copy driver (C) or the copy portion of a unified driver (U) are aborted for any reason, upon reapplying, the CREATION_DATE and/or LAST_UPDATE_DATE columns in the patching history tables (Ex: AD_FILE_VERSIONS)are not updated to show the proper installation date but are left with the 01-01-1950 date. you can resolve the issuse by applying the latest ad.I patch.

200) How to check whether the product is install,shared and Not installed in Apps.?

Ans : By using below Query we can find.

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;

201) What is FNDSM?
FNDSM is executable & core component in GSM (Generic Service Management Framework). You start FNDSM services via APPS listener on all Nodes in Application Tier in E-Business Suite.
202) What is iAS Patch ?
iAS Patch are patches released to fix bugs associated with IAS_ORACLE_HOME (Web Server Component) Usually these are shipped as Shell scripts & you apply iAS patches by executing Shell script.
Explain Architecture of Oracle Apps 11i?
Apps 11i is Mutli Tier architecture with Desktop Tier (Client Tier), Middle Tier (Application Tier) and Database Tier.
203)What are various components in Application/Middle Tier?
In Application Tier various components are Web Server, Forms Server, Reports Server, Concurrent Manager, Admin Server & Discoverer Server.
204)What is APPL_TOP, COMN_TOP, ORA_TOP…..?
XXX_TOP is top level directory in Oracle Application 11i for respective Component.
205)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.
206)What are the main concurrent Manager types?
ICM – Internal Concurrent Manager which manages concurrent managers
Standard Managers – Manages processing of requests
CRM – Conflict Resolution Managers, resolve conflicts in case of incompatibility

207)Where is Concurrent Manager Log file location?
By default standard location is $APPLCSF/$APPLLOG, in some cases it can go to $FND_TOP/log as well

208)Where would I find .rf9 file, and what exactly it does?
These files are used during restart of a patch in case of patch failure because of some reason.
209)Where is appsweb.cfg or appsweb_$CONTEXT.cfg stored & why is it used?
This file is defined by environment variable FORMS60_WEB_CONFIG_FILE. This is usually in directory $OA_HTML/bin on forms tier. This file is used by any forms client session. When a user tries to access forms, f60webmx picks up this file and based on this configuration file creates a forms session to user/client.
210)What is multi node system?
Multi Node System in Oracle Applications 11i means you have Applications 11i Component on more than one system. Typical example is database, Concurrent Manager on one machine and Forms Server, Web Server on second machine.
211)Can you clone from multi node system to single node system & vice versa?
Yes, this is now supported via Rapid Clone, Check if your system has all prerequisite patches for Rapid Clone and you are on latest rapid clone patch.
212)Does rapid clone takes care of Updating Global oraInventory or you have to register manually in Global oraInventory after clone?
Rapid Clone automatically updates Global oraInventory during configuration phase. You don’t have to do anything manually for Global oraInventory.
213)what is .dbc file, where is it stored, what is the use of .dbc file?
DBC.
as name suggests is a database connect descriptor file which stores database connection information used by application tier to connect to database. This file is in directory $FND_TOP/secure also called as FND_SECURE.
214) What things you do 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)
215)How you put Applications 11i in Maintenance mode?
Use adadmin to change maintenance mode in EBS. If you don’t want to put EBS in maintenance mode you can use adpatch options=hotpatch feature.
216)Can you apply patch without putting Applications 11i in Maintenance mode?
Yes, use options=hotpatch as mentioned above with adpatch.
217)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, databaseportion, generateportion, hotpatch, integrity, maintainmrc, parallel, prereq, validate
218.   adident utility is used for what?
adident utility in oracle apps is used to find version of any file . For example “adident Header <filename>”
What is adsplice utility?
adsplice in oracle apps is utility to add a new product to EBS.
How can you license a product after installation?
You can use ad utility adlicmgr to license product in Oracle Apps.
219.   What is MRC? What you do as Apps DBA for MRC?
MRC also called as Multiple Reporting Currency in Oracle Apps. By default you have currency in US Dollars but if your organization’s operating books are in other currency then you as apps DBA need to enable MRC in Apps.
220.   What is JVM (Java Virtual Machine) and which component uses JVM?
JVM stands for Java Virtual Machine.
221.   What is access_log in apache, what entries are recorded in access_log? Where is the default location of this file?
access_log in Oracle Application Server records all users accessing oracle applications 11i. Its file location is defined in httpd.conf with default location at $IAS_ORACLE_HOME/Apache/Apache/logs.
222.   Where is Jserv configuration files stored?
Jserv configuration files are stored in $IAS_ORACLE_HOME/Apache/Jserv/etc.
223.   Where is applications start/stop scripts stored?
Applications start/stop scripts are in directory $COMMON_TOP/admin/scripts/$CONTEXT_NAME
224.   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
225.   How to check if Apps 11i System is Autoconfig enabled?
Under $AD_TOP/bin check for file adcfginfo.sh and if this exists use adcfginfo.sh contextfile=<CONTEXT> show=enabled
If this file is not there, look for any configuration file under APPL_TOP if system is Autoconfig enabled then you will see entry like

  1. AutoConfig automatically generates this file. It will be read and…….

226.   How to check if Oracle Apps 11i System is Rapid Clone enabled?
For system to be Rapid Clone enabled, it should be Autoconfig enabled. You should have Rapid Clone Patches applied.
227.   What is the difference between two env files in <CONTEXT>.env and APPS<CONTEXT>.env under $APPL_TOP?
APPS<CONTEXT>.env is main environment file which in turn calls other environment files like <CONTEXT>.env under $APPL_TOP
228.   What is your Oracle Apps 11i Webserver Version and how to find it?
In order to find version under IAS_ORACLE_HOME/Apache/Apache/bin
Execute ./httpd -version
229.   What is plssql database cache?
In order to improve performance mod_pls (Apache component) caches some database content to file. This plsql cache is used to store session information. plsql cache is used to store plsql cache i.e. used by mod_pls
230.   Where is database plssql cache stored?
plssql & session cache are stored under $IAS_ORACLE_HOME/ Apache/modplsql/cache directory
231.   How to determine Oracle Apps 11i Version?
select RELEASE_NAME from fnd_product_groups;
You should see output like
RELEASE_NAME
11.5.9 or 11.5.10.2
232.   What is content of dbc file & why is it 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
233.   There are lot of dbc file under $FND_SECURE, How is it determined that which dbc file to use from $FND_SECURE?
This value is determined from profile option “Applications Database ID”
234.   What is RRA/FNDFS?
Report Review Agent (RRA) also referred by executable FNDFS is default text viewer in Oracle Applications 11i for viewing output files & log files.
235.   What is PCP is Oracle Applications 11i?
PCP is acronym for Parallel Concurrent Processing. Usually you have one Concurrent Manager executing your requests but you can configure Concurrent Manager running on two machines. So for some of your requests primary CM Node is on machine1 and secondary CM node on machine2 and for some requests primary CM is on machine2 & secondary CM on machine1.
236.   Why I need two Concurrent Processing Nodes or in what scenarios PCP is used?
If you are running GL month end reports or taxation reports annually these reports might take couple of days. Some of these requests are very resource intensive so you can have one node running long running resource intensive requests while other processing your day to day short running requests. Another scenario is when your requests are very critical and you want high resilience for your Concurrent Processing Node, you can configure PCP. So if node1 goes down you still have CM node available processing your requests.
237.   How to confirm if Report Server is Up & Running?
Report Server is started by executable rwmts60 on concurrent manager Node & this file is under $ORACLE_HOME/bin Execute command on your server like
ps -ef | grep rwmts60
238.   What is difference between ICM, Standard Managers and CRM in Concurrent Manager?
ICM stand for Internal Concurrent Manager, which controls other managers. If it finds other managers down, it checks & tries to restart them. You can say it is an administrator to other concurrent managers. Standard Manager: These are normal managers which performs actions on the requests and does batch or single request processing. CRM is acronym for Conflict Resolution Manager and is used to resolve conflicts between managers & requests. If a request is submitted whose execution is clashing or it is defined not to run while a particular type of request is running then such requests are assigned to CRM for incompatibilities & conflict resolution.
239.   What is use of Apps listener?
Apps Listener usually run on All Oracle Applications 11i Nodes with listener alias as APPS_$SID is mainly used for listening requests for services like FNDFS & FNDSM.
240.   How to start Apps listener?
In Oracle 11i, 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)
241.   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
242.   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.
243.   How will you find total number of invalid objects in database?
SQLPLUS> select count(*) from dba_objects where status like ‘INVALID’;
244.   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.
245.   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
246.   What is difference between adpatch & opatch?

  1. adpatch is utility to apply oracle apps Patches whereas
  2. opatch is utility to apply database patches

247.   Can you use both adpatch & opatch in Apps?
Yes you have to use both in apps, for apps patches you will use adpatch utility and for applying database patch in apps you will use opatch utility.
248.   Where will you find forms configuration details apart from xml file?
Forms configuration at time of startup is in script adfrmctl.sh and appsweb_$CONTEXT_NAME.cfg for forms client connection used each time a user initiates forms connection.
249.   What is forms server executable Name?
f60srvm
250.   What are different modes of forms in which you can start Forms Server and which one is default?
You can start forms server in SOCKET or SERVLET by default Forms are configured to start in socket mode.

251.   How you will start Discoverer in Oracle Apps 11i?
In order to start discoverer you can use script addisctl.sh under $OAD_TOP/admin/scripts/$CONTEXT_NAME or startal.sh under $ORACLE_HOME/discwb4/util (under Middle/Application Tier)
252.   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.

  1. ORACLE_HOME 1: On Application Tier used to store 8.0.6 techstack software. This is used by forms, reports & discoverer.
  2. ORACLE_HOME 2: On Application Tier used by iAS (Web Server) techstack software. This is used by Web Listener & contains Apache.
  3. ORACLE_HOME 3: On Database Tier used by Database Software usually 8i, 9i or 10g database.

253.   Where is HTML Cache stored in Oracle Apps Server?
Oracle HTML Cache is available at $COMMON_TOP/_pages for some previous versions you might find it in $OA_HTML/_pages
254.   What happens if you don’t give cache size while defining Concurrent Manager?
Lets first understand what is cache size in Concurrent Manager. When Manager picks request from FND CONCURRENT REQUESTS Queues, it will pick up number of requests defined by cache size in one shot & will work on them before going to sleep. So in my views if you don’t define cache size while defining CM then it will take default value 1, i.e. picking up one request per cycle.
255.   What are few profile options which you update after cloning?
Rapid clone updates profile options specific to site level. If you have any profile option set at other levels like server, responsibility, user….level then reset them.
256.   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.
257.   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.
258.   What is TWO_TASK in Oracle Database?
TWO_TASK mocks your TNS alias which you are going to use to connect to database. Let’s assume you have database client with TNS alias defined as PROD to connect to Database PROD on machine teachmeoracle.com listening on port 1521. Then usual way to connect is sqlplus username/passwd@PROD; now if you don’t 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 TNS alias define by value PROD i.e. TWO_TASK
259.   What is GWYUID?
GWYUID stands for Gateway User ID and password. Usually like APPLSYSPUB/PUB
260.   Where GWYUID defined & why is it used in Oracle Applications?
GWYUID is defined in dbc i.e. Database Connect Descriptor file. It is used to connect thin clients to database.
261.   What is difference between GUEST_USER_PWD (GUEST/ORACLE) & GWYUID?
GUEST_USER_PWD(Guest/Oracle) is used by JDBC Thin Client where as GWYUID is used by Thick Clients like via Forms Connections.
262.   What is 0 & Y in FNDCPASS, FNDLOAD or WFLOAD?
0 & Y are flags for FND Executable like FNDCPASS & FNDLOAD where 0 is request id.  ‘Y’ indicates the method of invocation i.e. it is directly invoked from the command-line not from the Submit Request Form.

263.   In a Multi Node Installation, How will you find which node is running what Services?
You can query for table FND_NODES and check for column, SUPPORT_CP (for Concurrent Manager) SUPPORT_FORMS (for forms server), SUPPPORT_WEB (Web Server), SUPPORT_ADMIN (Admin Server), and SUPPORT_DB for database tier. You can also check same from CONTEXT File (xml file under APPL_TOP/admin)
264.   If your system has more than one Jinitiator, 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 FORMS60_WEB_CONFIG_FILE.
265.   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.
266.   What is the importance of IMAP Server in Java Notification Mailer?
IMAP stands for Internet Message Access Protocol and Java Notification mailer require IMAP server for Inbound Processing of Notification Mails.
267.   What is difference between Socket & Servlet Mode in Apps Forms?
When forms run in SOCKET Mode these are dedicated connection between Client Machine & Form Server. When Forms run in servlet mode there will be additional JVM for Forms Request in that case and you won’t start form via adfrmctl.sh.
268.   What is make program in Unix?
make is utility in Unix/Linux to maintain , update & generate a file mainly executable.
269.   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
From list of executables select FNDLIBR this will create new FNDLIBR executables
270.   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.
271.   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.
272.   What are .odf file in apps patch?
odf stands for Object Description Files used to create tables & other database objects while applying a patch.
273.   Where to find Form Server log files in forms?
Form Server Start up log file default location is $OAD_TOP/admin/log/$CONTEXT_NAME/f60svrm.txt
Forms Run Time Diagnostics default location is $ORACLE_HOME/forms60/log/$CONTEXT_NAME
274.   How to convert pll to pld file or pld file to pll ?
pll->pld f60gen module=MSCOSCW3.pll module_type=library userid=apps/<passwd> module_access=file output_file=MSCOSCW1.pld script=yes
pld -> pll f60gen module=MSCOSCW3.pld userid=apps/<passwd> module_type=library module_access=file output_file=MSCOSCW1.pll parse=y batch=yes compile_all=special
275.   Does APPS_MRC Schema exist for MRC in 11.5.10 and higher?
No, apps_mrc schema is dropped with 11.5.10 Upgrade & 11.5.10 new Install. This is replaced by more Integrated Architecture.
276.   If APPS_MRC schema is not used in 11.5.10 and higher then how MRC is working?
For products like Payable, Receivables which uses MRC and if MRC is enabled then each transaction table in base schema related to currency now has an associated MRC sub tables.
277.   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.
278.   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.
279.   What is dev60cgi & f60cgi?
cgi stands for Common Gateway Interface and these are Script Alias in Oracle Apps used to access forms server . Usually Form Server access directly via http://hostname:port/dev60cgi/f60cgi
280.   Why does a worker fail in Oracle Apps Patch and few scenarios in which it failed for you?
Apps Patch worker can fail in case it doesn’t find expected data, object, files or anything which driver is trying to update/edit/modify. Possible symptoms may be underlying tables/objects are invalid, a prerequisite patch is missing, login information is incorrect, inconsistency in seed data.
281.   What is difference between mod_osso & mod_ose in Oracle HTTP Server?
mod_osso is Oracle Single Sign-On Module where as mod_ose is module for Oracle Servlet Engine.
282.   What is difference between COMPILE_ALL=SPECIAL and COMPILE=ALL while compiling Forms?
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.
283.   What is ps -ef or ps command in Unix? for work ex < 1 yr
ps in unix/linux is a utility to find status of process. Used mainly to find if service/process is running or not.
284.   Find application server version?
FND_PRODUCT_GROUPS
285.   How will you find the Apache, forms, reports version in an EBS suite?
http –v – Apache
f60gen – Forms
ar60run – Reports
286.   Find jinitiator version?
Client side – Control panel
Server side – SID_hostname.xml (s_jinit_ver_)
287.   List some ad utilities and their functions?
adadmin, adctrl, adpatch, adlicmgr, admrgpch, adsplice and adworker
288.   List out the modules related to oracle Apps DBA?
FND – Application Object Library, AU – Application Utilities, AD – Application DBA
289.   What are profile options, what are various types of profile options?
User, application, responsibility and site
290.   What are the different types of oracle patches available?
One-off, mini, diagnostics, cu, rup, language, help, platform specific, OS, OPatch, Interoperability, family pack and maintenance pack.
291.   What are the different patch drivers available?
C driver, D driver, G driver and U driver.
292.   List out the important env files?
Appsora.env, appsSID_hostname.env, adovars.env, APPSSID_hostname
293.   What is the utility to change the password of a dba schema in oracle apps?
FNDCPASS
294.   What are mandatory users in oracle apps?
applsys, applsyspub, apps
295.   What are the components in the Application Tier?
Apache(http)
Jserver(jre)
Forms Server(f60srv)
Metric Server(d2ls)
Metric Client(d2lc)
Report Server(rwm60)
Concurrent Server(FNDLIBR)
Discoverer
296.   What are main file systems in Oracle Apps?
APPL_TOP, COMMON_TOP, DB_TOP,ORA_TOP 7
297.   What are there in Desktop Tier?
Internet Browser, JInitiator
298.   What is the location of JInitiator in the Desktop Tier?
c:\program files\oracle\Jinitiator
299.   What is the location of client cache?
c:\documents and settings\user\oracle jar Cache 10.
300.            What is the location of Server cache?
$COMMON_TOP/_pages
301.            Which package will be used for the user validation by plsql agent?
oraclemypage
302.            What are the location of JAVA Files?
JAVA_TOP and all PRODUCT_TOP/Java/Jar
303.            What is the name of the xml file of Apps and its location?
Context Name.xml and $APPL_TOP/admin
304.            What are adadmin utilities and their location?
$AD_TOP/bin
adadmin
adpatch
adsplice
adident
adrelink
adlicmgr
305.            What is the location of Apps environment file and its name?
contextname.env and $APPL_TOP

306.            In how many ways Jar files are generated?
Normal and Force
307.            Once Jar files are generated what files get affected?
All Product_top/java/jar files and Two files in JAVA_TOP they are appsborg.zip appsborg2.zip
308.            How do you see the files in zip file?
unzip -v
309.            How do you generate jar files?
Using adadmin and option 5
310.            How do you start the apps services?
$COMMON_TOP\admin\scripts\Contextname\adstrtal.sh apps/apps
311.            What is the executable to generate jar files?
adjava
312.            How do you relink an executable of a product?
By relinking option in adadmin or adrelink
313.            How do you relink AD product executable and usage?
adrelink.sh and adrelink.sh force=y “ad adsplice”
314.            When do you relinking?
When you miss an executable file
When there is a problem with any executable file
When any product executable gets corrupted
315.            What is DAD?
It is a file which stores apps passwords in hard coded format i.e. wdbsvr
316.            How do you relink OS files and libraries?
Using make command
317.            How do you know the package version?
select text from dba_source where name=’package name’ and type=’PACKAGE BODY’ and rownum<10>/rdbms/admin)
318.            How do you load java class to database?
loadjava
319.            What are restart files and its location?
These files contain the previous session info about adadmin. Location is $APPL_TOP\admin\sid\restart\*.rf9
320.            How do you validate apps schema?
To validate synonyms, missing synonyms and all grants use adadmin. After validating it will produce a report in the location $APPL_TOP\admin\sid\out\*.out
321.            How do you enable maintenance mode?
Using adadmin or running a script called “adsetmmd.sql ENABLE/DISABLE” (AD_TOP/patch/115/sql)
322.            How to see the version of a script or form or report or etc?
adident Header GLXSTEA.fmx
323.            What is the location of adadmin log?
$APPL_TOP\admin\sid\log
324.            What are the oracle homes in Apps?
8.0.6 ORACLE_HOME(Dev 6i products) and IAS_ORACLE_HOME (Apache)
325.            How do you configure your IP address at client side and server side?
c:\windows\system32\drivers\etc\hosts and \etc\host
326.            What is the location of Database server related scripts?
$ORACLE_HOME\appsutil\scripts\contextname
327.            What is the utility to clean the concurrent manager?
@cmclean.sql (You have to download it from metalink)
328.            How do you stage the 11.5.10 Apps software?
Using adautostg.pl
329.            What is the location of the source files of forms?
AU_TOP/forms/US/
330.            What is the executable to generate forms?
f60gen
131.            What are the profile options, what are various types of profile options?
You set profile options at the following levels
Site level
Application level
Responsibility level
User level
332.            What is APPS listener? Why is it used?
Apps Listener usually run on all Oracle Applications 11i Nodes with listener alias as APPS_$SID and is mainly used for listening requests for services like FNDFS & FNDSM.
333.            How do you start/stop apps listener?
lsnrctl start APPS_$SID
334.            If users are complaining Oracle Applications 11i system is running slow, following are the things to check?
First as an Overview of Oracle Applications 11i check following things
Broad Level Steps to Check
1. Is Gather stats scheduled? (At least weekly)
2. Is Purge Obsolete Workflow request & concurrent request purging scheduled?
3. Is there any runaway process on database tier or application tier? (Runaway process is process taking unexceptionally long time with high CPU or Memory usages)
4. Any Discoverer process taking long time or High CPU? (Usually on Middle tier)
5. Any Custom report taking long time?
In order to understand problem better
1. Is whole application slow or only component of application is slow (like only Concurrent manager running slow)?
2. If this is with particular component like reports server slow then is a particular report or all reports are slow?
3. Is performance issue during all time or at specific time let’s say from 11AM to 4PM?
4. Was performance issue popped up recently or performance degradation is for long time?
5. What has changed recently?
Depending on answers you can start looking into application. If issue is specific to whole applications then check
1. If database initialization parameter is set correctly?
2. If application sizing is proper, server configuration is enough to accommodate all users?
335.            What is Autoconfig?
Autoconfig is method of configuring Oracle Applications. All the information required to configure Oracle Apps 11i is stored in file called Context file. So there are two context files, one for Database Tier and Second for Application Tier. Context file is repository for configuration information stored in xml format. Its xml file and file name format is <SID>_<HOSTNAME>.xml so if your machine name is MACHINE1 and SID is VISION then context file name will be VISION_MACHINE1.xml
336.            What is context file?
Oracle stores all the environment specific values in an xml file stored in $APPL_TOP/admin directory, which they call an application context file. This file is created by running adbldxml.sh/adbldxml.pl (Located in $AD_TOP/bin). Adbldxml.sh in turn runs oracle.apps.ad.context.GenerateContext java class.
Context file is generated by plugging in environment specific values in the context file template (don’t confuse this template with the configuration file templates) $AD_TOP/admin/template/adxmlctx.tmp. In older versions of 11i these replacement values were gotten from config.txt file (created by rapidwiz during installation), but in later versions, these values are gotten from the information, in existing configuration files and the database. adbldxml.sh/adbldxml.pl (in newer versions of autoconfig) creates a detailed log file, detailing the source for each context variable.
337.            How to create User in Oracle Applications 11i? Can you delete a User?
Choose Users from the Manage menu to create a new user. This opens the Manage Users dialog box, where you choose New to enter information for a new user.
You provide the following user information:
User — Enter a name that identifies the user.
User Type — Select the type of the user.
Usernames — Choose Edit to access the Edit User dialog box where you can associate one or more user names with the user and specify whether the user is authorized to create shareable documents.
Other — Provide information that is specific to the client type. For example, for a thin-client workstation, you enter the SHELLS directory of the component where you are creating the user and the Express Server instance to which the user’s personal database will be connected.
Adding a new user creates a user task and sends it to the Task Processor. If you are not running the Task Processor in the background, you must run it in the foreground to process the user task.
338.            What is Single Sign On? (If you are using portal 3.0.9 or 10G)?
Oracle Enterprise Single Sign-On Suite provides users with unified sign-on and authentication across all their enterprise resources, including desktops, client-server, custom and host-based mainframe applications. Even if users travel or share workstations, they can enjoy the flexibility of a single log-on that eliminates the need for multiple usernames and passwords and helps enforce strong password and authentication policies.
339.            How to find OUI version?
OUI stands for Oracle Universal Installer.
340.            What happens if the ICM goes down?
Since ICM is down so it can’t reach other managers & can’t shutdown them but yes if because of some reason Standard Manager dies & ICM is already dead Standard managers will not start. The ICM does the work of distributing the concurrent request to standard managers. If ICM goes down the concurrent requests in standard managers will be running fine. But no new request will be assigned to the standard managers. So wait until all your concurrent requests gets completed and then bounce the concurrent managers to start your ICM.
341.            Provide a high-level overview of the cloning process and post-clone manual steps?
Rapid Cloning Steps for Windows R12Source System:
1.Run adpreclone.pl in Database Node
2.Perl $ORACLE_HOME\appsutil\scripts\$CONTEX_NAME\adpreclone.pl dbTier
3.Run adpreclone.pl in Apps Node
4.Perl $ADMIN_SCRIPTS_HOME\adpreclone.pl appsTier
5.Shut down the Applications and database
6.Change all services type into manual (option)
7.Restart the system (option)
8.Check if any FNDLIBR programs are running or not
9.Take a cold backup of database and applicationsTarget System:Prepare your target system as per the source system configuration
1.Install Windows Server 2003 service pack 2 Enterprise Edition
2.Install Visual Studio 2005
3.Install Active perl
4.Install Cygwin Change make version from 3.81 into 3.80
5.Copy the Source system backup into target system
6.Set perl locations by using existing env file(It varies between DB node and Apps Node, We will set this two times)
7.Goto the $ORACLE_HOME\appsutil\clone\bin folder and the post clone scripts
8.Run Postclone scripts in db Tier
9.Perl $ORACLE_HOME\appsutil\clone\Bin\adcfgclone.pl dbTier
10.Run Postclone in Apps Tier
11.Perl $COMMON_TOP\clone\bin\adcfgclone.pl appsTierFinishing Tasks:1.Update the profile options
Rapid clone will update the site level profile options only, we need to update instance level profile options manually
2.Update the printer settings
3.Update the workflow configuration settings
Cloning an Oracle Applications instance will not update the host and instance specific information used by Oracle Workflow. Review the following tables and columns to verify there is no instance specific data in the Workflow configuration on the target system.
Important Notes:a)While running Postclone in appsTier it prompts hostname, we should give like hostname.domainname for example sys10.sample.com
b)While running post clone in appsTier it prompts visual studio directory don’t include bin folder. For example give like c:\vc\VC, don’t give like c:\vc\VC\bin
342.            Provide an introduction to AutoConfig. How does AutoConfig know which value from the XML file needs to be put in which file?
AutoConfig uses a context file to maintain key configuration files. A context file is an XML file in the $APPL_TOP/admin directory and is the centralized repository. When you run AutoConfig it reads the XML files and creates all the AutoConfig managed configuration files. For each configuration file maintained by AutoConfig, there exists a template file which determines which values to pick from the XML file.
343.            Can you tell me a few tests you will do to troubleshoot self-service login problems? Which profile options and files will you check?
Check guest user/password in the DBC file, profile option guest user/password, the DB.
Check whether apache jserv is up.
Run IsItWorking, FND_WEB.PING, aoljtest, etc.
344.            What could be wrong if you are unable to view concurrent manager log and output files?
Most likely the FNDFS listener is down. Look at the value of OUTFILE_NODE_NAME and LOGFILE_NODE_NAME in the FND_CONCURRENT_REQUESTS table. Look at the FND_NODES table. Look at the FNDFS_ entry in tnsnames.ora.
345.            How will you change the location of concurrent manager log and output files?
The location of log files is determined by parameter $APPLCSF/$APPLLOG and that of output files by $APPLCSF/$APPLOUT.
346.            If the user is experiencing performance issues, how will you go about finding the cause?
Trace his session (with waits) and use tkprof to analyze the trace file.
Take a statspack report and analyze it.
o/s monitoring using top/iostat/sar/vmstat.
Check for any network bottleneck by using basic tests like ping results.
347.            How will you change the apps password?
Use FNDCPASS to change APPS password.
Manually modify wdbsvr.app/cgiCMD.dat files.
Change any DB links pointing from other instances.
348.            Explain the steps for applying apps patch and database patch?
a) Login as applmgr and set the environment. For the Windows environment also, you have to test that CLASSPATH contains %JAVA_TOP%, %JAVA_TOP%\loadjava.zip
b) Create a PATCH_TOP directory in the Base Directory (at the same level as APPL_TOP, COMMON_TOP, etc: this is just a recommendation) for the patches which will be downloaded. If this directory exists, this step can be skipped. An OS environment variable could be created for this directory. This will be done only one time, when the first patch will be applied.
c) Download the patch you want to apply in PATCH_TOP directory and unzip the patch.
d) Understand the README.txt file and complete the prerequisite or manual steps. Here, if there are any patched to apply as pre-requisite, in general, is created a document with all the steps involving in the patching process and the pre-requisite patches will be applied before the initial patch.
e) Ensure that the PLATFORM variable environment (under UNIX, Linux, Solaris) is set
f) Shut down APPS services. The database services and the listener must be up and running.
g) Enable Maintenance Mode.
h) Start AutoPatch in interactive mode. This task must be done from the directory where the patch driver is/was unzipped. Also, respond to the adpatch prompts. If there are more drivers to apply (there is no unified drive: there could be a database (d), copy (c) or generate (g) driver) restart the adpatch and apply the other patches.
i) Review the log files. By default, the location is $APPL_TOP/admin//log and the file is adpatch.log.
j) Review the customizations (if any). If a customization was modified by this patch, the customization must be applied again.
349.            What is autoconfig?
AutoConfig is the tool, which is used to configure oracle application systems. It’s basically a perl script. At present there are more than 300 configuration files and environment files in application system. Whenever a change is made to any of the configuration parameter, the change needs to be propagated correctly to correct configuration and environment files. Managing such changes in such large number of files is really difficult.
AutoConfig uses a file called context file, which is used to configure changes. Context file is an XML file having all the parameters of application system. These parameters are part of some configuration file for some services or it may be part of some environment file. When we create an application system (using Rapid install), context file gets created automatically with all the parameters and there values. Most of the parameters take default value, where as some parameters takes the value that is supplied at the time of installation.
350.            How to enable diagnostics for oracle applications?
FND: Enable Diagnostics.
351.            What is .lgi file?
lgi files are created with patching along with .log files . .lgi files are informative log files containing information related to patch. You can check .lgi files to see what activities patch has done.
352.            How will you skip worker during patch?
If in your adctrl there are six options shown then seventh is hidden option. (If there are seven options visible then 8th option is to Skip worker depending on ad version).
353.            Which two tables are created at start of Apps Patch and drops at end of Patch?
FND_INSTALLED_PROCESS and AD_DEFFERED_JOBS are the tables that get updated while applying a patch mainly d or unified driver.
354.            How to compile an Oracle Reports file?
Utility adrepgen is used to compile Reports. Syntax is given below adrepgen userid=apps\<psswd> source = $PRODUCT_TOP\srw\filename.rdf dest=$PRODUCT_TOP\srw\filename.rdf stype=rdffile dtype=rdffile logfile=x.log overwrite=yes batch=yes dunit=character
355.            What is difference between AD_BUGS and AD_APPLID_PATCHES?
AD_BUGS holds information about the various Oracle Applications bugs whose fixes have been applied (i.e. patched) in the Oracle Applications installation.
AD_APPLIED_PATCHES holds information about the “distinct” Oracle Applications patches that have been applied. If 2 patches happen to have the same name but are different in content (e.g. “merged” patches), then they are considered distinct and this table will therefore hold 2 records.
356.            How you will troubleshoot if concurrent request is taking long time?
First you will try to check how far the query has gone (if in v$session_longops for example, or reading some session statistics) and if there is contention with another session (such as a lock for example) because it talks about a ‘concurrent request’.
Method 1: Trace the session using dbms_system.set_sql_trace_in_session (or) if u r using 10g, using dbms_monitor and look at the trace file to identify where the issue is. You can get the explain plan and tune the query.
Method 2:
1. Is this a new query (or) an existing query
2. Look for the wait event associated to this query.
3. What is the elapsed time for this query?
4. Are there are any db deadlocks?
5. Are there any long operations?
6. Are there any long transactions?
7. Based on the sql hash value, look at the sql_text from v$sql
8. Run an explain plan (or) use oradebug and trace the query if what bind variables are using and how the
data distribution is.
9. Based on the above information, look for when statistics was collected
10. If it is an old query, check if the plan has changed and if so, why?
Once u understand where the problem is, then solutions can be defined ranging from creating sql profiles / stored outlines (or) adding hints to the query and thoroughly test your changes.
Always remember to make one change and test for performance change. If you make a series of changes, it will be very difficult to isolate which has caused the performance improvement.
357.            Why I need shared APPL_TOP?
If you have two/three Middle Tier for Large User base then you have to install APPL_TOP, COMMON_TOP & ORA_TOP equal to number of Nodes in your configuration. So if you have three middle tiers, then you need these three top three times & if there are N nodes you need N time these three tops. This result in lots of Space Requirement & bigger problem is patching so if you have 5 nodes you need to apply apps patch 5 times.
So Oracle came up with solution to have single APPL_TOP which is shared across all nodes in apps. This will save space as well as patch timing. This concept of sharing APPL_TOP file system across all Middle Tier Nodes is called APPL_TOP.
You will say if I can share APPL_TOP why can’t I share COMMON_TOP & ORA_TOP as well which are also part of Application Tier, Yes you can & this concept is called as Shared Application Tier.
358.            What is Shared Application Tier?
Sharing Application Tier (including APPL_TOP, COMN_TOP, ORA_TOP) across all Middle Tier Nodes in configuration is called as Shared Application Tier.  So I can say shared APPL_TOP is subset of shared Application Tier, initially shared APPL_TOP came out & based on its advantages & popularity later COMMON_TOP & ORA_TOP files were also included & entire concept is called as Shared Application Tier.
359.            Limitation with Shared APPL_TOP and Application Tier?
If you are running Apps on Windows you’ll be sad to hear that it’s not certified with Windows Operation System. More over you can share across same operation system like Linux to Linux & Solaris to Solaris.
360.            What are the request incompatibilities? How conflict resolution concurrent manager solve them?
Checks if a request in queue can be run in parallel with the running request.
361.            Where and how you update workflow notification mailer configuration setting?
This depends on which workflow mailer you are running C Mailer or Java Mailer
362.            If you want to change Concurrent Manager log and out file location, is it possible, If Yes, How? If No, why not?
By default standard location is $APPLCSF/$APPLLOG, in some cases it can go to $FND_TOP/log as well.
363.            How frequent you run Gather Schema Statistics program & with what option? Why you need to run it? What is cost based optimizer?
In Oracle Database there is something called Cost Based Optimizer (CBO) which other than doing many things also does query optimization. That is it determines the best or optimum method to run a query. Now when large changes to the data or database take place, the system performance may get slow. DBMS_STATS is the package which collects statistics for Cost Based Optimizer. Collecting Statistics lets the CBO know about the best methods for query optimization. The statistics include the Table statistics, Column statistics, Index statistics and System statistics. The DBMS_STATS package includes the following procedures
1.GATHER_INDEX_STATS, Index statistics
2.GATHER_TABLE_STATS, Table, column, and index statistics
3.GATHER_SCHEMA_STATS,Statistics for all objects in a schema
4.GATHER_DICTIONARY_STATS,Statistics for all dictionary objects
5.GATHER_DATABASE_STATS,Statistics for all objects in a database
Of all of the above usually the most used is GATHER_SCHEMA_STATS to gather statistics of all objects within a particular Schema. The Gather Schema Statistics process should be run on a regular basis (weekly at a minimum) and anytime large changes to the data or database take place.
364.            If we run autoconfig which files will get effected?
In order to check list of files changes during autoconfig , you can run adchkcfg utility which will generate HTML report. This report will list all files and profile options going to change when you run AutoConfig.
365.            What is difference between .xml file and AutoConfig?
Autoconfig is Utility to configure your Oracle Application environment. xml file is repository of all configuration from which AutoConfig picks configuration and populates related files.
366.            What are few profile options which you update after cloning?
Rapid clone updates profile options specific to site level. If you have any profile option set at other levels like server, responsibility, user level then reset them.
367.            How you will avoid your query from using indexes?
By changing the order of the columns that are used in the index, in the Where condition, or by concatenating the columns with some constant values.
368.            What is an OUTER JOIN?
An OUTER JOIN returns all rows that satisfy the join condition and also returns some or all of those rows from one table for which no rows from the other satisfy the join condition

369) Describe the architecture of Oracle Applications?

• Oracle Applications follow a 3 Tier architecture

  • Database Tier
  • Middle Tier
  • Desktop Tier

• Database tier contains RDBMS database called as oracle database server.
• Database tier stores all the data needed by oracle applications.
• Middle tier or Application Tier containing various servers configured with listeners like web server, forms server, admin server, reports server.
• Database server communicates with middle tier, doesn’t directly communicate with desktop tier.
• Desktop tier contains client desktop where users access oracle applications through web browsers.
370) How do you delete a responsibility from oracle applications?

• Responsibility is a level of authority given to Oracle Applications users.
• It is a collection of requests, forms and menus attached to user.
• Records are used for monitoring and security purpose so we can’t disable responsibilities.
• However, responsibilities can be disabled by assigning an end date to the effective period.
• We can delete a responsibility from both backend and frontend.
371) What are the components of Oracle Applications technology layer?

Oracle Applications technology layer comprises the following products
• Oracle Applications DBA (AD)
• Oracle Applications object library (FND)
• Oracle Common Modules (AK)
• Oracle Applications Utilities (AU)
• Oracle Alert (ALR)
• Oracle Workflow (WF)
• Oracle Applications Framework (FWK)
• Oracle XML Publisher (XML)
372) How many Oracle Homes are there in Oracle Applications and what is the importance of each one of them?

Oracle Applications have three Oracle Homes

• Oracle Home is an environment where oracle products run.
• Database Oracle Home in the database tier that acts as the Oracle Home for the Oracle database.
• Oracle Home in the application tier called as 8.0.6 Oracle Home. It is called the technology stack Oracle Home and used by forms, reports and discoverer.
• IAS Oracle Home, used by the Oracle HTTP Server (Web Listener).
• We can run multiple releases of same products simultaneously by using multiple oracle homes.
373) Can I enable real application clusters in the database tier along with oracle applications?

• Yes, real application clusters can also be configured with Oracle Applications
• RAC allows multiple instances to mount and open a single database.
• RAC requires shared disk storage and a dedicated network interconnect.
• When any one of the node fails, database services can be still available on remaining nodes.
• In that case, more than one instance of Oracle runs and the data file are stored at a central location accessible from the entire instance.
374) Where are Apache log files and configuration files stored and list each of them?

• Apache log files are stored in $IAS_ORACLE_HOME/Apache/Apache/logs.
• The log files are error_log, error_log_pls, access_log and access_log_pls.
• Apache configuration files are stored in $IAS_ORACLE_HOME/Apche/Apache/conf directory.
• The main configuration files are httpd.conf, apps.conf, httpd_pls.conf,oprocmgr.conf, and oracle_apache.conf.
375) How to recreate a DBC file and where is it located?

• Running Autoconfig will recreate the DBC file
• DBC is a database connect descriptor file which stores database connection information used by application tier (web browsers) to connect to database.
• The file is located in FND_SECURE directory.
• you can also create the DBC file by running the script adgendbc.sh
• We can find the above script at $COMMON_TOP/admin/install directory.
376) List out the important configuration files in APPL_TOP?

Important configuration files available in the APPL_TOP are

• APPLSYS.env/APPSORA.env
• Adovars.env
• SID.xml
• Adconfig.txt
• Adjareas.txt
• Topfile.txt
• Appsweb.cfg
• Hostname_SID.dbc
• Adpltfrm.txt
• Adjborg.txt
• Adjborg2.txt
377) Which utility is used for changing the password of the application users and how it runs?

• The password of the application users can be changed using the FNDCPASS utility.
• You must have system and applications password for running FNDCPASS.
• FNDCPASS will run in the following manner:
• FNDCPASS apps/apps 0 Y system/manager SYSTEM APPLSYS WELCOME.
• FNDCPASS apps/apps 0 Y system/manager ORACLE GL GL1
• FNDCPASS apps/apps 0 Y system/manager USER VISION WELCOME.
378) What are the scripts do you use while Apps cloning?

• A type of script that’s made a comeback in hot scripts is clone script.
• adpreclone.pl prepares the source system and adcfgclone.pl configures the target system.
• Both the scripts are located in $COMMON_TOP/admin/scripts/contextname directory.
• Adpreclone.pl collects information about the database.
• It also creates generic templates of files containing source specified hardcore values.
379) What is a patch and name some different types of patches?

• Patch is a program which fixes the bug.

There are 4 different types of patches

• One-off patch:

• Mini pack Patch:

• Family pack patch:

• Maintenance pack patch:

380) List out APPS 11i post installation steps?

• Shutdown all Oracle Application Processes
• Apply Inter-Operability Patch(3830807)
• Apply Discoverer Patch(3170128)
• Re link all Oracle Applications executables
• Finally, Restart Oracle Application Processes
381) What are the contents of patch and drivers present in patching?

Contents of patch:
• Readme files
• Driver files
• Metadata files
• Replacement files
Drivers present in patching:
• C driver – It copies all the files and links the executables
• D driver – It is responsible for running SQL scripts which updates the database.
• G driver – It is responsible for generating forms, reports and message files.
• U driver – It is a united driver containing all copy and database actions.
382) What do you do if patch fails?

• Evaluate log files to determine the cause of the error.
• Repair the cause of error.
• Now Restart Adpatch.
• Answer ‘Yes’ when adpatch asks if you want to continue the previous session.
• Adpatch starts from where it left off by skipping all completed jobs.
383) How can I determine the effects a patch will have on my application system?

This can be done by patch wizard in the Oracle Applications manager.
• Checking total number of files in the patch and which are installed.
• Products that contain updated files.
• Total no of files introduced by the patch.
• Files on the target system changed by the patch.
• Files which depend on patched files.
384) How can you reduce the downtime when you have to apply multiple patches?

• You can reduce the downtime by merging all the patches into one single patch using admergepatch (admrgpch) tool.
• You can also apply multiple patches one by one by choosing options nocompiledb, nocompilejsp, and nolink.
• Compilation of invalid objects, jsp’s and relinking can be skipped till the last patch is applied.
• In the last patch you can compile all of them and then relink.
• You can also choose the max number of workers which your CPU permits.
385) List out the Log Files created on running patch?

Running the patch creates the following log files
• Adpatch.log: Information about the patch run will be stored here..
• Adpatch.lgi: It contains information about the which has been discarded by adpatch.log
• For example, the files which has not been copied by the adpatch.
• Adrelink.log: Relinking information performed by patch will be stored here..
• Adworkxx.log: Workers log details will be stored here.
386) What are the important AD tables and define their importance?

• AD_APPL_TOPS: It contains information about all APPL_TOP’s using the instance.
AD_BUGS: It stores information about all different bug fixes applied.
• AD_PATCH_DRIVER_MINIPACKS: Mini_packs information will be stored here.
• AD_PATCH_RUN_BUGS: It stores information about all applied and updated bug fixes.
• AD_FILES: It stores information about files.
387) Is it possible to revert the patch application? Explain in detail how?

• Yes, it’s possible to revert the patching but not 100% sure.
• In test environment it’s always recommended to take the full backup of the database, apply the patch and revert from backup.
• Adpatch is responsible for copying the files from the patch.
• From the patch log, drop the database objects created by the patch.
• Similarly forms in the G driver should be replaced from the backup taken by Adpatch and should be manually generated.
388) What is a view and how do you recreate a view which becomes invalid when you recreate a patch?

• View is used for accessing a particular portion of a table.
• A view is also called as virtual table.
• For recreating the view you can search for the view name in the SQL directory.
• We can recreate the views running scripts located in the Product top/patch/115/sql directory.
• Most views are recreated using sql script.
389) Difference between ad_bugs table and ad_applied_patches?

• When you apply the patch from adpatch utility ad_applied_patches table will get updated.
• Ad_applied _patch doesn’t store the information which was not applied using adpatch.
• Such type of information will be stored in ad_bugs table.
• Also, if all the patches are applied using the adpatch utility, that information is also stored in the ad_bugs_table.
390) What things you do to reduce patch timing?

• Admrgpch utility is used for merging all the patches.
• Various adpatch options like nocompiledb or nocompilejsp are used for reducing patch timing.
• By Using defaults file.
• By using, staged APPL_TOP for upgradation.
• By increasing the batch size, this might result into negative results.
391) What are the 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 and zone properties
• Plsql.conf
• Wdbsvr.app
392) What are GSM and FNDSM?

• GSM stands for Generic Service Management Framework.
• Oracle E-Business suite contains many services used to start at their own earlier, but managing these services are distributed across network.
• So, GSM is an extension of concurrent processing which manages all your services.
• With GSM all services are centrally managed.
• FNDSM is executable and core component in GSM.
393) What are cursor attributes?

• Cursor attributes are used to get information about the current status of your cursor.
Both explicit and implicit cursors have four attributes as shown
• FOUND – It Returns TRUE if record was fetched successfully, FALSE otherwise
• NOTFOUND – Returns TRUE if record was not fetched successfully, FALSE otherwise.
• ROWCOUNT – Returns number of records fetched from cursor at that point in time.
• ISOPEN – Returns TRUE if cursor is open, FALSE otherwise.
394) What is the purpose of cluster?

• Cluster is used storing table data.
• It contains group of tables that share the same data blocks.
• Suppose if you cluster EMP and DEPT table, both share same DEPTNO column.
• Oracle stores all rows of each department physically from both the EMP and DEPT tables in the same data blocks.
• Clusters can’t be used for tables that are frequently fetched.
395) How to confirm if Apps Listener is up and running?

Execute the following commands

• lsnrctl status APPS _$SID( SID is your instance name)
• For example if our SID is test, then use

lsnrctl status APPS_test
If the listener is up you will observe the following output
• Services summary
• FNDFS has 1 service handler(s)
• FNDSM has 1 service handler(s)
396) What is Adadmin and why it is used?

• Adadmin (Ad administration) is used to perform a number of administrative tasks to maintain the Oracle Applications.
• For Oracle Applications to run smoothly Adadmin is used.
• Adadmin performs work at both database level and file system level.
• Application users are requested to provide all inputs at Adadmin prompt which displays various options from Adadmin menu.
• You can run non_interactive tasks and this is really useful for scheduling routine tasks that require no user intervention.
397) What are the adadmin activities that can be run in a parallel way?

• Recreate grants and synonyms.
• Compile APPS schema
• Maintain multiple reporting currencies schema.
• Convert to Multi-org.
• Generate message files.
• Generate form files.
• Generate report files.
398) What is copy driver (c driver) and what does it do?

• All the files in the patch are copied to APPL_TOP by C driver.
• It extracts all the appropriate files from c library.
• Oracle applications products are relinked by C driver.
• Regenerates the JAR files and compiles the Java server pages(JSP) files.
• Compares the files in the patch with the files in the $APPL_TOP.
• If all the files in the patch are of higher version, Adpatch copies all the files from patch to $APPL_TOP.
399) What is database driver (D driver) and what does it do?

• It contains all the commands to change the database object.
• All the scripts copied by c driver are applied to the database.
• It makes a list of all the invalid objects that are there in the database.
• Runs SQL scripts which make changes to the database objects.
• Compiles all the invalid objects that are there in the database.
400) What are generate and unified driver and what does they do?

• Generate driver is named as g<patch number>.drv
• It regenerates all forms, reports and pl/sql libraries that have been affected by the patch.
• Unified driver is a combination of C,D, & G drivers.
• U driver is also named as u<patch_number>.drv
• It requires only a single execution of AutoPatch.
401) Explain about Forms server?

• Forms server is a component of Oracle Applications server which is used to deploy Forms applications across the web.
• It is previously called as Web Forms.
• It consists of Forms Listener, Runtime engine, Forms CGI.
• Forms listener manages connections and Runtime engine.
• Runtime engine contains Application logic, Data management and pl/sql engine.
• It is an optional entry point and used for Load balancing.
402) How to check whether forms server is running or not and how to change the port of the forms server?

• Forms server communicates with forms client and Database server.
• Check for the process f60ctl, if it is running it means the forms are up and running.
• You can find the Forms Server listener’s log file at $COMMON_TOP/admin/install/f60srvm.txt.
• You can change the port numbers at f60ctl start by specifying port parameters.
• Modify the file appsweb.cgf which is available at $OA_HTML/bin.
403) Name some of the files related to forms?

Forms files include Script files, Configuration files and text files
• Adfmsctl.sh – It is used for starting and stopping the forms metric client.
• Appsweb.cfg – It is used for defining parameter values used by forms CGI located in $OA_HTML/html/bin.
• Appsbase.html – This is the default HTML file for starting an applet.
• D21c60.txt – this is forms metric client log file.
• D21s60.txt – this is forms metric server log file.
404) What is the difference between socket and servlet mode forms and list some advantages & disadvantages of each?

• In socket mode, we can find a dedicated connection between client desktop and the forms server.
• In servlet mode, Jserv processes the forms requested.
• socket mode uses up to 40% less bandwidth than forms servlet mode.
• Socked mode is not supported on windows-based platforms.
• Servlet connections can be reestablished if network connections drop unexpectedly whereas it is not possible with socket mode.
• Servlet mode HTTP & HTTPS traffic can be easily recognized by routers, whereas socket mode communication is treated as suspect.
405) How do I change from socket to servlet mode and vice versa?

• First, you must login to Oracle Applications Manager
• Then you must navigate to sitemap, then find the Autoconfig.
• In Autoconfig you can able to change from socket mode to servlet mode and vice versa
• Run the autoconfig from backend and restart the forms server.
• Due to many advantages Forms servlet mode is preferred and is always recommended for web deployment.
406) What is JInitiator?

• It is a java virtual machine provided for running web based oracle forms applications inside a client web browser.
• It is implemented as a plug-in or ActiveX Object.
• It allows you to specify the use of Oracle-certified JVM instead of relying on default JVM provided by the browser.

It is automatically downloaded to a client machine from the application server.
• Its installation and update is performed by standard plug-in mechanism provided by the browser.
407) What is the function of Oracle HTTP (Apache) server?

• Web listener accepts the Http requests coming from the client browsers and web server services the request.
• Apache server forwards advanced processing requests to the servlet engine.
• Servlet engine forwards this requests to database.
• If the Http request needs parsing a JSP file then web listener checks the nature of the request.
• It then contacts the Jserv to run a JSP.
• The JSP contacts the database for the information and returns a HTML page displayed in the web browser.
408) What should I do for debugging when I login to the oracle applications from PHP based applications to avoid hanging?

• First check the Apache log files.
• Then in the Apache log directory, check for the access_log and error_log.
• If you are unable find any information from above steps then check for Jserv logs and JVM.
• Analyze all the errors that you are getting from log files and fix them
• Still you are not able to debug, then perform AOL diagnostics test.
409) What kind of maintenance activities can be performed from admin server?

• Following maintenance activities are performed from admin server
• Applying the patches
• Maintaining Oracle Applications
• Applying the ad utilities
• Upgrading Oracle Applications
410) What is the significance of appsweb.cgf file and where is it located?

• It defines the parameter values used by forms WEB CGI.
• It is the main configuration file used by forms server.
• It contains forms server Name, ServerPort, DomainName
• It stores Database Connection Parameters and Jinitiatorversion.
• It is located at $OA_HTML/bin.
411) What is cloning and why is it required?

• Cloning is the process of creating an identical copy of the Oracle application system.
It is required due to following reasons
• Creating a test copy of your production system before upgrading.
• Moving an existing system to a different machine.
• To test some patches
Creating a development copy of your environment to be used by the developers.
412) What are the steps to clone from a single node to a multi-node?

• You must login as the owner of file system once the database cloning is done.
• Run the adcfgclone.pl from the common_top/clone bin.
• Accept for target system having more than one application tier server node.
• Collect the details for processing node, admin node, forms node, and web node.
• Now you get a prompt for the various mount point details and it creates the context file for you.
• Follow the same steps from all the nodes.
413) What are the files you need to copy from APPL_TOP for creating a clone application system?

• APPL_TOP
• OA_HTML
• OA_JAVA
• OA_JRE_TOP
• COMMON_TOP>/util
• COMMON_TOP>/clone
• 806 ORACLE_HOME
• iAS ORACLE_HOME
414) Does clone preserve the patch history?

• Yes, Rapid clone preserves the patch history in following locations
• RDBMS ORACLE_HOME: preserves the OUI oraInventory.
• iAS ORACLE_HOME: preserves the OUI oraInventory
• 806 ORACLE_HOME: preserves the patch level and Oracle inventory
• APPL_TOP and Database: preserves the patch level and history tables.
415) What are the pre-upgrade steps that need to be taken for the up gradation of non_11i instance to 11.5.10?

• First, you need to take a complete backup of the application system.
• Run the TUMS utility
• Review the TUMS report
• Maintain the multilingual tables
• Rename the custom database objects
• Check attachment file upload directory
• You need to save the custom.pll
416) What is ad splice and what does it do?

• Oracle often releases new products known as off cycle products.
• These products are up gradation to the base releases of Oracle applications.
• Ad splice is the utility which takes care of bringing an off cycle product in to oracle applications.
• Ad splice registers off cycle products as active in the system.
• Therefore, ad utilities recognize the off cycle products as valid product for a particular product release.
417) What are the important configuration files which are used by Apache run along with Jserv?

• $APACHE_TOP/Apache/conf/httpd.conf
• $APACHE_TOP/Jserv/etc/Jserv.conf
• $APACHE_TOP/Jserv/etc/Jserv.properties
• $APACHE_TOP/Jserv/etc/zone.properties
• $APACHE_TOP/Apache/conf/oracle_apache.conf
• $APACHE_TOP/Ojsp/conf/ojsp.conf
418) How do I check the version of Apache?

• version of Apache can be checked using the following command
• $IAS_ORACLE_HOME/Apache/Apache/bin/httpd –v

419)I am applying a patch , can I open another session and run adadmin ?

Ans: Yes, We can run unless you are running a process where workers are involved

420)I am applying a patch , can I open another session in another node and run adpatch?

Ans:No because it will create tables while running first session when you start the 2nd session it will fail due to the first

*************************
R12 SPECIFIC QUESTIONS
*************************
421.What do we have in FND_NODES?

A: 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.

422. What is multi node system ?
A. We will install Apache, Forms, and Concurrent on different nodes.

423. List out Profile Options in Useful for Oracle Apps DBA?
A. Applications Help Web Agent
Applications Servlet Agent
Applications Web Agent
Concurrent: Active Request Limit
Concurrent: Hold Requests
Concurrent: Multiple Time Zones
Concurrent: Report Access Level
Concurrent: Report Copies
Concurrent: Request priority
Database Instance
Enable Security Group
FND: Debug Log Filename
FND: Debug Log Level
Forms Runtime Parameters
Gateway User ID
ICX: Discoverer Launcher
ICX: Forms Launcher
ICX: Report Launcher
ICX: Limit Connect
ICX: Limit time
ICX: Session Timeout
MO Operating Unit
Node Trust Level
RRA: Delete Temporary Files
RRA: Enabled
RRA: Service Prefix
RRA: Maximum Transfer Size
Self Service Personal Home Page Mode
Sign-On: Audit Level
Signon Password Failure Limit
Signon Password Hard to Guess
Signon Password Length
Signon Password No Reuse
Site Name
Socket Listener Port
TCF: Host
TCF: Port
TWO TASK
Viewer: Text

424. Can you enable diagnostics for EBS?
A. Yes. Enable profile option FND:Diagonistic.

425. How To find latest patchset level for modules installed in Oracle Apps R12?
A. select APP_SHORT_NAME, max(PATCH_LEVEL) from AD_PATCH_DRIVER_MINIPKS GROUP BY APP_SHORT_NAME.

426. What is adsplice utility ?
A. We can use adsplice to add a new product.

427. How to find out Patch level of mini Pack in Oracle Apps R12?
A. 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
GL – for General Ledger
PO – Purchase Order
428. When do we run FND_CONC_CLONE.SETUP_CLEAN ?
A. 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.

429. What are various options available with adpatch ?
A. Its depending on your AD version, which includes noautoconfig, check_exclusive, checkfile, nocompiledb, nocompilejsp, nocopyportion, nodatabaseprtion, nogenerateportion, hotpatch, integrity, maintainmrc, parallel, noprereq, validate

430. How To find the latest Oracle application R12 version ?
A. select ARU_RELEASE_NAME||’.’||MINOR_VERSION||’.’||TAPE_VERSION version, START_DATE_ACTIVE updated,ROW_SOURCE_COMMENTS “how it is done”,BASE_RELEASE_FLAG “Base version” FROM AD_RELEASES where END_DATE_ACTIVE IS NULL.

431. Describe how many different types of patches are there in Oracle Apps R12.
A. One-off, mini, diagnostics, cu, rup, language, help, platform specific,,Interoperability,family pack, maintenance pack.

432. How toto know, what all has been done during application of PATCH
A. Select J.PATCh_NAME, H.APPLICATIONS_SYSTEM_NAME Instance_Name, H.NAME, I.DRIVER_FILE_NAME, D.APP_SHORT_NAME appl_top,D.SUBDIR, D.FILENAME, max(F.VERSION) latest, E.ACTION_CODE action from AD_BUGS A, AD_PATCH_RUN_BUGS B,AD_PATCH_RUN_BUG_ACTIONS C, AD_FILES D, AD_PATCH_COMMON_ACTIONS E, AD_FILE_VERSIONS F, AD_PATCH_RUNS G,
AD_APPL_TOPS H, AD_PATCH_DRIVERS I, AD_APPLIED_PATCHES J where A.BUG_ID = B.BUG_ID and
B.PATCH_RUN_BUG_ID = C.PATCH_RUN_BUG_ID and C.FILE_ID = D.FILE_ID and E.COMMON_ACTION_ID = C.COMMON_ACTION_ID
and D.FILE_ID = F.FILE_ID and G.APPL_TOP_ID = H.APPL_TOP_ID and G.PATCH_DRIVER_ID = I.PATCH_DRIVER_ID and
I.APPLIED_PATCH_ID = J.APPLIED_PATCH_ID and B.PATCH_RUN_ID = G.PATCH_RUN_ID and C.EXECUTED_FLAG = ‘Y’ and
G.PATCH_DRIVER_ID in (select PATCH_DRIVER_ID from AD_PATCH_DRIVERS where APPLIED_PATCH_ID
in (select APPLIED_PATCH_ID from AD_APPLIED_PATCHES where PATCH_NAME = ‘merged’))
GROUP BY J.PATCH_NAME, H.APPLICATIONS_SYSTEM_NAME, H.NAME, I.DRIVER_FILE_NAME, D.APP_SHORT_NAME, D.SUBDIR,
D.FILENAME, E.ACTION_CODE;

433. Does rapid clone takes care of Updating Global oraInventory or you have to register manually in Global OraInventory after clone ?
A. Rapid Clone will automatically Update Global oraInventory during configuration phase.

434. How to find out if any patch except localisation patch is applied or not, if applied, then what all drivers it contained and time of it’s application?
A. select A.APPLIED_PATCH_ID, A.PATCH_NAME, A.PATCH_TYPE, B.PATCH_DRVIER_ID, B.DRIVER_FILE_NAME, B.ORIG_PATCH_NAME, B.CREATION_DATE, B.PLATFORM, B.SOURCE_CODE, B.CREATIONG_DATE, B.FILE_SIZE, B.MERGED_DRIVER_FLAG, B.MERGE_DATE from AD_APPLIED_PATCHES A, AD_PATCH_DRIVERS B where A.APPLIED_PATCH_ID = B.APPLIED_PATCH_ID and A.PATCH_NAME = ” ;
435. What is MRC ? What you do as Apps DBA for MRC ?
A. MRC also called as Multiple Reporting Currency in oracle Apps. Default you have currency in US Dollars, but if your organization operating books are in other currency then Apps DBA needs to enable MRC in Apps.

436. List out few Apps related tables ?
A.
CONCURRENT REQUEST/PROGRAM/MANAGERS
———————————–
FND_CONCURRENT_QUEUES
FND_CONCURRENT_PROGRAMS
FND_CONCURRENT_REQUESTS
FND_CONCURRENT_PROCESSES
FND_CONCURRENT_QUEUE_SIZE

FND/AOL Tables
————–
FND_APPL_TOPS
FND_LOGINS
FND_USER
FND_DM_NODES
FND_TNS_ALIASES
FND_NODES
FND_RESPONSIBILITY
FND_DATABASES
FND_UNSUCCESSFUL_LOGINS
FND_LANGUAGES
FND_APPLICATION
FND_PROFILE_OPTION_VALUES

AD/Patches
————-
AD_APPLIED_PATCHES
AD_PATCH_DRIVERS
AD_BUGS
AD_INSTALL_PROCESSES
AD_SESSIONS
AD_APPL_TOPS

437. Where is Jserv configuration files stored ?
A. Jserv configuration files are stored in $IAS_ORACLE_HOME/Apache/Jserv/etc

438. How To find what is being done by the patch?
A. select A.BUG_NUMBER “Patch Number”, B. PATCh_RUN_BUG_ID “Run Id”,D.APP_SHORT_NAME appl_top, D.SUBDIR, D.FILENAME, max(F.VERSION) latest, E.ACTION_CODE action from AD_BUGS A, AD_PATCH_RUN_BUGS B, AD_PATCH_RUN_BUG_ACTIONS C, AD_FILES D, AD_PATCH_COMMON_ACTIONS E, AD_FILE_VERSIONS F where A.BUG_ID = B.BUG_ID and B.PATCH_RUN_BUG_ID = C.PATCH_RUN_BUG_ID and C.FILE_ID = D.FILE_ID and E.COMMON_ACTION_ID = C.COMMON_ACTION_ID and D.FILE_ID = F.FILE_ID and A.BUG_NUMBER = ” and B.PATCH_RUN_BUG_ID = ‘ < > ‘ and C.EXECUTED_FLAG = ‘Y’ GROUP BY A.BUG_NUMBER, B.PATCH_RUN_BUG_ID, D. APP_SHORT_NAME, D>SUBDIR, D.FILENAME, E.ACTION_CODE;

439. Where is Concurrent Manager log file location in Oracle Apps R12 ?
A. a. $APPLCSF/$APPLLOG
b. $FND_TOP/log

440. How To find all available application version?
A. select ARU_RELEASE_NAME||’.’||MINOR_VERSION||’.’||TAPE_VERSION version, START_DATE_ACTIVE when updated, END_DATE_ACTIVE “when lasted”, CASE WHEN BASE_RELEASE_FLAG = ‘Y’ Then ‘BASE VERSION’ ELSE ‘Upgrade’ END “BASE/UPGRADE”, ROW_SOURCE_COMMENTS “how it is done” from AD_RELEASES;

441. Adident utility is used for what in Oracle Apps R12?
A. To find version of any file. AD Identification. for ex. “adident Header FileName”

442. How verify the sysadmin password from command line?
A. 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’,’WELCOME123′) 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

443. How To get file version of any application file which is changed through patch application?
A. select A.FILE_ID, A.APP_SHORT_NAME, A.SUBDIR, A.FILENAME, max(B.VERSION) from AD_FILES A, AD_FILE_VERSIONS B where A.FILE_ID = B.FILE_ID and B.FILE_ID = 86291 group by A.FILE_ID, A.APP_SHORT_NAME, A.SUBDIR, A.FILENAME;

444. List out the modules related to oracle Apps DBA ?
A. FND = Application Object Library
AU = Application Utilities
AD = Application DBA

445. How to know that if the patch is applied successfully, applied on both node or not, start time of patch application and end time of patch application, patch top location , session id … patch run id ?
A. select D.PATCH_NAME, B.APPLICATIONS_SYSTEM_NAME, B.INSTANCE_NAME, B.NAME, C.DRIVER_FILE_NAME, A.PATCH_DRIVER_ID, A.PATCH_RUN_ID, A.SESSION_ID, A.PATCH_TOP, A.START_DATE, A.END_DATE, A.SUCCESS_FLAG, A.FAILURE_COMMENTS from AD_PATCH_RUNS A, AD_APPL_TOPS B, AD_PATCH_DRVIERS C, AD_APPLIED_PATCHES D where A.APPL_TOP_ID = B.APPL_TOP_ID AND A.PATCH_DRIVER_ID = C.PATCH_DRIVER_ID and C.APPLIED_PATCH_ID = D.APPLIED_PATCH_ID and A.PATCH_DRIVER_ID in (select PATCH_DRIVER_ID from AD_PATCH_DRIVERS where APPLIED_PATCH_ID in (select APPLIED_PATCH_ID from AD_APPLIED_PATCHES where PATCH_NAME = ”)) ORDER BY 3;

446. What is .dbc file , where its stored , whats use of .dbc file ?
A. dbc as name says is database connect descriptor file which stores database connection information used by application tier to connect to database. This file is in directory $INST_TOP/admin/fnd/12.0.0/FND/secure also called as FND_SECURE.

447. Howto find the base application version
A. select ARU_RELEASE_NAME||’.’||MINOR_VERSION||’.’||TAPE_VERSION version, START_DATE_ACTIVE when updated, ROW_SOURCE_COMMENTS “how it is done” from AD_RELEASES where BASE_RELEASE_FLAG = ‘Y’

448. Can you apply patch without putting Applications 11i in Maintenance mode ?
A. Yes, use options=hotpatch as mentioned above with adpatch.

449. How To get information related to how many time driver file is applied for bugs
A. select * from AD_PATCH_RUN_BUGS where BUG_ID in (select BUG_ID from AD_BUGS where BUG_NUMBER = ”

450. Whats main concurrent Manager types.
A. ICM = Internal Concurrent Manager which manage concurrent Managers
Standard Managers = Manage processing of requests
CRM = Conflict Resolution Managers , resolve conflicts in case of incompatibility

451. How To find Merged patch Information from database in Oracle Applications
A. select bug_number from ad_bugs where bug_id in ( select bug_id from ad_comprising_patches where patch_driver_id =(select patch_driver_id from ad_patch_drivers where applied_patch_id =&n) );

452. I am applying a patch , can I open another session and run adadmin ?
A. Yes, unless you are running a process where workers are involved

453. I am applying a patch , can I open another session in another node and run adpatch?
A: No

454. List some profile options with their function?
A. ICX: Session timeout
ICX: Forms Launcher
ICX: Limit Connect