You are on page 1of 74

oracle apps dba interview Oracle Application DBA 11i Interview Questions - II 1)I am applying a patch , can I open

another session and run adadmin ? Ans:Yes, unless you are running a process where workers are involved 2)I am applying a patch , can I open another session in another node and run adpatch? Ans:No

3)Output & logfiles for requests executed on source instance not working on cloned instance?? Ans: Check whether apps listener is running

4)What happens if you don't give cache size while defining concurrent manager? Ans: Most often when a request goes "inactive/no manager" and is then processed a short time later, the solution is to either increase the cache size for your Standard manger, or increase the actual number of Standard Manager processes that can run. Cache Size is set in the Concurrent/Manager/Define form. Basically, this regulates how many requests a manager will pick up for each sleep cycle.

5)Why should Apps & Applsys passwords always be the same? Ans: The need to have the same password for Apps and Applsys is because when you sign on to apps, intially it connects to a public schema called APPLSYSPUB. This validates AOL username and password that we enter (operations/welcome using guest user account. Once this is verified we select responsibility, this is validated by APPLSYS schema and then it connects to APPS schema. Since it uses both applsys and apps during signon process this expects both the password to be identical. Try changing apps password to something else and try to login, the validation at the last stage would fail. This would result in failure of application login. Apps is a universal schema has synonyms to all base product tables and sequences. This also has code objects for all products (triggers, views, packages, synonyms etc.).

Applsys schema has applications technology layer products like FND and AD etc.

6)How to Complie Invalid Objects? Ans: alter package <package_name> compile ;alter package <packae_ame> compile body;alter view <view_name> compile; SQL>EXEC UTL_RECOMP.RECOMP_PARALLEL(4); SQL>@$ORACLE_HOME/rdbms/admin/utlrp.sql

7)Why DB-CM-ADMIN are always insatlled on the same machine in Oracle Applications in Multi Node Installation ? Ans: There is no restriction to install all of them on a single machine,but if we install them on 3 different machines then when we will run any AD utility on admin node or perform any upgradation it needs to access the database so there will be lot of overhead in accessing the database node on network so to avoid this overhead we install them on same machine. Similar is the case when we run any concurrent request on the CM node as Concurrent manager also updates the database objects.

8)What URL you use to access Disco viewer & Disco plus . Ans: http://hostname.domain/discoverer4i/viewer http://hostname.domainname:port/discoverer/viewer (10gAS) http://hostname.domainname:http_port/discoverer/viewer ( R12) http://hostname.domainname:port/discoverer/plus (10gAS) 9)What is Yellow Bar Warning? Ans: Oracle Applications Release 11.5.1 (11i) requires that its code run in a trusted mode, and uses J-Initiator to run Java applets on a desktop client. If an applet is "trusted," however, Java will extend the privileges of the applet. The Yellow Warning Bar is a warning that

your applet is not running in a trusted mode. To indicate that an applet is trusted, it must be digitally signed using a digital Certificate, so Oracle Applications requires that all Java archive files must be digitally signed.

10) How to find if any service is listening on particular port or not ? Ans: netstat -an | grep {port no}

11)How can u change the logfiles location suppose CM logfile location is APPLCSF Ans: Change the Configuration File parameters change s_applcsf,s_appllog,s_applout variables in XML file and run the autoconfig.

12) Conflict resolution managers resolves the conflicts yes , but hw it knows tht there are conficts?why conflicts occur? Ans: Concurrent managers read request to start concurrent programs running. The Conflict Resolution Manager checks concurrent program definitions for incompatibility rules. If a program is identified as Run Alone, then the Conflict Resolution Manager prevents the concurrent managers from starting other programs in the same conflict domain. When a program lists other programs as being incompatible with it, the Conflict Resolution Manager prevents the program from starting until any incompatible programs in the same domain have completed running. 13)What is adovars.env file ? Ans: The adovars.env file, located in $APPL_TOP/admin, specifies the location of variousfiles such as Java files, HTML files, and JRE (Java Runtime Environment) files. It is called from the main applications environment file.

14) How to find the wordsize (32-bit or 64-bit) of Oracle Database Ans: $cd $ORACLE_HOME/rdbms/bin $file oracle

15)How to Compile JSP's without using ADADMIN perl -x $JTF_TOP/admin/scripts/ojspCompile.pl --compile

16)What is wdbsvr.app file used for? What's full path of this file? What's significance of this file ? Ans: $IAS_ORACLE_HOME/Apache/modplsql/cfg This file is used by mod_plsql component of Apache to connect to database. So when you type url http://hostname:port/pls/SID , whenever Apache(11i Web Server) finds that request is for /pls/ then Apache delegates this request to mod_pls component which in turn pick this file & check if there is any DAD with name SID

17)Whats main concurrent Manager types. Ans: ICM - Internal Concurrent Manager which manages concurrent ManagersStandard Managers - Which Manage processesing of requests. CRM - Conflict Resolution Managers , resolve conflicts in case of incompatibility.Transactions Managers These managers are process for particler business Applications.Custom Concurrent Managers - The managers defined by the users.

18)what are .rf9 files? Ans: These files are used during restart of patch in case of patch failure because of some reason. Located in $APPL_TOP/admin/<SID>/restart this folder also contains .bak ,.bk2 filesSAMPLE FILE (adwork012.rf9) %%% restart file format 11.5.A Location: $APPL_TOP/admin/<SID>/log contains .req files

19)Where is appsweb.cfg or appsweb_$CONTEXT.cfg stored & why its used ? Ans: This file is defined by environment variable FORMS60_WEB_CONFIG_FILE This is usually in directory $OA_HTML/bin or $FNS_TOP/Resource on forms tier. This file is used by any forms client session. When a user try to access forms , f60webmx picks up this file and based on this configuration file creates a forms session to user/client.

20)Can you clone from multi node system to single node system & vice versa ? Ans: Yes, This is now supported via Rapid Clone

21)Does rapid clone takes care of oraInventory after clone? Ans: Yes, Rapid Clone will automatically Update Global oraInventory during configuration phase.

22)What is .dbc file , where its stored , whats use of .dbc file ? Ans: dbc file called as 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

23)What are the ways to reduce patch timing? Ans: 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 )

24)How you put Applications 11i in Maintenance mode ? Ans: Use adadmin to change Maintenance mode is Oracle Apps. With AD.I you need to enable maintenance mode in order to apply apps patch via adpatch utility. If you don't want to put apps in maintenance mode you can use adpatch options=hotpatch feature. Also you can use the script $AD_TOP/patch/115/sql/ adsetmmd.sql

25)What are various options available with adpatch ? Ans: Various options available with adpatch depending on your AD version are autoconfig, check_exclusive, checkfile, compiledb, compilejsp, copyportion, databaseprtion,generateportion, hotpatch, integrity, maintainmrc, parallel, prereq, validate

26)adident utility is used for what ? Ans: adident utility in oracle apps is used to find version of any file . AD Identification. for ex. "adident Header <filename>

27)What is adsplice utility ? Ans: adsplice in oracle apps is utility to add a new product.

28)How can you licence a product after installation ? Ans: You can use ad utility adlicmgr to licence product in Oracle Apps.

29)What is MRC ? What you do as Apps DBA for MRC ? Ans: 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 you as apps dba need to enable MRC in Apps. How to enable MRC coming soon...

30)Whats is JVM(Java Virtual Machine) and which component uses JVM ? Ans: JVM stands for Java Virtual Machine, JVM acronym for Java Virtual Machine which executes instructions generated by Java compiler. So user click on any Self Service Request or any program which uses Java, then Apache forwards this request to mod_jserv (mod_oc4j in 10g AS) & mod_jserv caters this request with help of JVM.

31)Where to find Apps 11i JVM logs ? Ans: JVM log location is defined in java.sh ( found in $IAS_ORACLE_HOME/Apache/Apache/bin) Oracle Apps 11i JVM log file directory is defined by parameter JVMLOGDIR ($IAS_ORACLE_HOME/Apache/Jserv/logs/jvm ) and log file are defined by STDOUTLOG & STDERRLOG. Example of JVM log files are OACoreGroup.0.stderr ,OACoreGroup.0.stdout, DiscoGroup.0.stdout, DiscoGroup.0.stderr,XmlSvcsGrp.0.stderr, XmlSvcsGrp.0.stdout where 0 denotes first JVM & 1 denotes second JVM. stderr records error encountered in JVM & stdout records other information like GC ..

32)How to check JDBC Connection ?

select count(*),module from v$session where program like '%JDBC%' group

33)What is error_log in Apache,what entries are recored in access_log ? Where is default location of this file ? Error_log will contain all the errors/warnings faced Apache web server in Oracle Apps 11i. This file location is defined in httpd.conf with default location at $IAS_ORACLE_HOME/Apache/Apache/logs.

34)What is access_log in apache , what entries are recored in access_log ? Where is default location of this file ? Ans: access_log in Oracle Application Server records all users accessing oracle applications 11i. This file location is defined in httpd.conf with default location at $IAS_ORACLE_HOME/Apache/Apache/logs.

35)Where is Jserv configuration files stored ? Ans: Jserv configuration files are stored in $IAS_ORACLE_HOME/Apache/Jserv/etc

36)What are main configuration files in Web Server (Apache) ? Main configuration files in Oracle Apps Web Server are httpd.conf, httpd_pls.conf, jserv.conf, jserv.properties, zone.properties

37)What is session time out parameter & where all you define these values ? Ans: In Apps there are two broad categories of session - Self Service Application Session ( Server by Web Server iAS Apache & Jserv, like iRecruitment,iProcurement) - Forms session ( served by your form session, like system Administrator) What is Session Idle time ? If Oracle Apps client is not doing any activity for some time session during that time is called as Idle Session & because of security reason, performance issues and to free up system resource Oracle Applications terminates client session( both forms & self service) after idle time value is reached to the one mentioned in configuration file. From FND.G or 11.5.9 or with introduction of AppsLocalLogin.jsp to enter into application, profile option "ICX Session Timeout" is used only to determine Forms Session Idle timeout value . This might be confusing as earlier this profile option used to control forms as well as self service application(with session.timeout) session.timeout is used to control Idle session timeout for Self Service Applications ( Served by Jserv via JVM ) From where ICX : Session Timeout & session.timeout get values ? Autoconfig determines value for profile option "ICX: Session Timeout" and "session.timeout" from entry in context file ( $APPL_TOP/admin/SID_hostname.xml ) with parameter s_sesstimeout where value mentioned is in milliseconds so profile option ICX: Session Timeout value should be s_sesstimeout/ (1000 * 60) which means here its 10 Minutes. This value is also set in zone.properties in $IAS_ORACLE_HOME/Apache/Jserv/etc where number mentioned is in milli second i.e. 600000 ( equal to 10 Minutes)session.timeout = 600000 session.timeout mentioned in zone.properties is in milli secondsICX Session Time out mentioned in profile option ICX: Session Timeout is in minutes so ICX session timeout=30 & session.timeout= 1800,000 are same 30 minutes

38)What is your Oracle Apps 11i Webserver Version and how to find it ? Ans: cd $IAS_ORACLE_HOME/Apache/Apache/bin

./httpd -version Server version: Oracle HTTP Server Powered by Apache/1.3.19 Server built: Dec 1- 2010 14:59:13 (iAS 1.0.2.2.2 rollup 5)

39)How to determine Oracle Apps 11i Version ? Ans: SQL>select RELEASE_NAME from fnd_product_groups;

40)What is content of dbc file & why its important ? Ans: 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

41)There are lot of dbc file under $FND_SECURE, How its determined that which dbc file to use from $FND_SECURE ? Ans: This value is determined from profile option "Applications Database ID"

42)What is RRA/FNDFS ? Ans: Report Review Agent(RRA) also referred by executable FNDFS is default text viewer in Oracle Applications 11i for viewing output files & log files.

43)What is PCP is Oracle Applications 11i ?

PCP is acronym for Parallel Concurrurent Processing. Usually you have one Concurrent Manager executing your requests but if you can configure Concurrent Manager running on two machines (Yes you need to do some additional steps in order to configure Parallel Concurrent Processing) .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.

44)What is use of Apps listener ? Ans: Apps Listener usually running on All Oracle Applications 11i Nodes with listener alias as APPS_$SID is mainly used for listening requests for services like FNDFS & FNDSM. FNDFS - FND File Server also known as RRA Reports Review Agent is used to view text files in Oracle 11i. FNDSM - FND Service Manager is a concurrent manager in GSM, and serves requests like CM's

45)How will you find Invalid Objects in database ? Ans: sql>select count(*) from dba_objects where status like 'INVALID';

46)What is difference between adpatch & opatch ? Ans: adpatch is utility to apply oracle applications patches whereas opatch is utility to apply database patches

47)What is forms server executable Name ? Ans: f60srvm

48)What are different modes of forms in which you can start Forms Server and which one is default ? Ans: You can start forms server in SOCKET or SERVLET by defualt Forms are configured to start in socket mode

http://www.dbatutor.com/2010/12/forms-servlet-or-socket-mode-which-is.html

49)Where is HTML Cache stored in Oracle Apps Server ? Ans: Oracle HTML Cache is available at $COMMON_TOP/_pages for some previous versions you might find it in $OA_HTML/_pages

50)What is 0 & Y in FNDCPASS, FNDLOAD or WFLOAD ? Ans: 0 & Y are flags for FND Executable like FNDCPASS & FNDLOAD where 0 is request id (request ID 0 is assigned to request ID's which are not submitted via Submit Concurrent Request Form. 'Y' indicates the method of invocation. i.e. it is directly invoked from the command-line not from the Submit Request Form.

51)Whats is TWO_TASK in Oracle Database ? Ans: TWO_TASK mocks your tns alias which you are going to use to connect to database. Lets assume you have database client with tns alias defined as PROD to connect to Database PROD on machine 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 tnsalias define by value PROD i.e. TWO_TASK

52)What is GWYUID ? Ans: GWYUID , stands for Gateway User ID and password. Usually like APPLSYSPUB/PUB

53)Where GWYUID defined & what is its used in Oracle Applications ? Ans: GWYUID is defined in dbc i.e. Database Connect Descriptor file . It is used to connect to database by thin clients.

54)How to check number of forms users at any time ? Ans: Forms Connections initiate f60webmx connections so you can use ps -ef | grep f60webmx | wc -l

55)What is FNDLOAD and what it is used for ? http://www.dbatutor.com/2010/12/what-is-fndload.html

56)How can you check which node is running what service? Ans: select * from fnd_nodes;

57)What is difference between Socket & Servlet Mode in Apps Forms ? http://www.dbatutor.com/2010/12/forms-servlet-or-socket-mode-which-is.html

58) What is make program in Unix ? Ans: make is utility in Unix/Linux to maintain , update & generate an file mainly executable.

59)What are .ldt & .lct files which you see in apps patch or with FNDLOAD ? http://www.dbatutor.com/2010/12/what-is-fndload.html

60)What are .odf file in apps patch ? odf stands for Object Description Files used to create tables & other database objects. --------------------------------------------------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" 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 prereq 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 prereq 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 cdriver 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) 4. Pre-install (adpatch preinstall=y) This mode will be usefull to discrease upgrade downtime as its applies bus fixes without running SQL,EXEC and generate portion of patch. 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 main 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 :

Partially. 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 multiorg 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. What is adjkey? What files it will create? Ans : adjkey is an adutility which will create digital signature, which will be used to sign all t" admin? mailto:adsign.txt@APPL_TOP>adsign.txt@APPL_TOP/adminappltop.cer@APPL_TOP/adminidentitydb.o bj@applmgr home 175. What are the post installation task? Ans : Running adjkey initialize and then runnning adadmin to regerate jar files. 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 noncustomizable 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-011950 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 : 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; ===================================================================================== ============================= Oracle Applications Question Answer -------------------------------------Q1. What is wdbsvr.app file used for? What s full path of this file? What s significance of this file ? ANS : Its where the file the password is hard coded and its location is /oracle/app/apps/testora/iAS/Apache/modplsql/cfg. Q2. Where would i find .rf9 file, and what execatly it does ? Ans : This is inside APPL_TOP/admin/SID/restart/*.rf9 This file is used when the patch is restarted.The old thig is stored in thios file. So it will take from this file only. Q3. Where is appsweb.cfg or appsweb_$CONTEXT.cfg stored & why its used? Ans : /oracle/app/apps/testcomn/html/bin/appsweb.cfg and it is used for web related configurations. Q4. Can you clone from multi node system to single node system & vice versa ? Ans. Yes Q5. What is .dbc file , there are lot of dbc file under $FND_SECURE, How its determined that which dbc file to use from $FND_SECURE ? Ans : /oracle/app/apps/testappl/fnd/11.5.0/secure/sys43_test.dbc Q6. Whats things you do to reduce patch timing ?

Ans : admerge and we also use some of the options like option=No compile etc(if there is short time) Q7. Can you apply patch without putting Applications 11i in Maintenance mode ? Ans : Yes, Option=Hot Patch. Q8. adident utility is used for what ? Ans : used to find the Version of a particular product. Q9. How can you licence a product after installation ? Ans : using Adsplice utility. Q10. What is MRC ? What you do to enable MRC in Apps ? Ans : Multiple Reporting Currency .Default you have currency in US Dollars but if your organization operating books are in other currency then you as apps dba need to enable MRC in Apps. How to enable MRC coming soon To enable MRC using adadmin follow this. adadmin >4.Maintain Applications Database Entities menu > 5.Maintain Multiple Reporting Currencies schema. Note : Once it is enabled this option will Disappear. Q11. What is access_log in apache , what entries are recored in access_log ? Where is default location of this file ? Ans : Access_log file keeps record of users accessing Oracle Apps 11i Webserver. The location of the access_log file is $IAS_ORACLE_HOME/ Apache/Apache/logs Q12. What is session time out parameter & where all you define these values ? Ans : Ans: In order to answer first you have to understand what kind of seesions are in Apps 11i and what is Idle timeout ? In Apps there are two broad categories of session - Self Service Application Session ( Server by Web Server iAS Apache & Jserv, like iRecruitment, iProcurement) -Forms session ( served by your form session, like system Administrator) What is Session Idle time ?

If Oracle Apps client is not doing any activity for some time (when application user goes for coffee or talks over phone) session during that time is called as Idle Session & because of security reason, performance issues and to free up system resource Oracle Applications terminates client session( both forms & self service) after idle time value is reached to the one mentioned in configuration file. From FND.G or 11.5.9 or with introduction of AppsLocalLogin.jsp to enter into application, profile option ICX Session Timeout is used only to determine Forms Session Idle timeout value . This might be confusing as earlier this profile option used to control forms as well as self service application(with session.timeout) session.timeout is used to control Idle session timeout for Self Service Applications ( Served by Jserv via JVM ) From where ICX : Session Timeout & session.timeout get values ? Autoconfig determines value for profile option ICX: Session Timeout and session.timeout from entry in context file ( $APPL_TOP/admin/SID_hostname.xml ) with parameter s_sesstimeout where value mentioned is in milliseconds so profile option ICX: Session Timeout value should be s_sesstimeout/ (1000 * 60) which means here its 10 Minutes. This value is also set in zone.properties in $IAS_ORACLE_HOME/Apache/Jserv where number mentioned is in milli second i.e. 600000 ( equal to 10 Minutes)session.timeout = 600000 session.timeout mentioned in zone.properties is in milli seconds ICX Session Time out mentioned in profile option ICX: Session Timeout is in minutes so ICX session timeout=30 & session.timeout= 1800,000 are same 30 minutes P.S. ICX Session time out was introduced in FND.D so if your FND version is below D you might not see this variable. Important Things Apps DBA should consider while setting session timeout value : 1. If you keep session.timeout value too high , when some oracle application user accessing Self service application terminates his session, so longer idle session will drain JVM resource & can result in Java.Lang No Memory available issues . 2. If you keep it too low, users going out for tea or sitting idle for some time have to login again into application & can be annoying . Thumb rule is session time out usually set to 30 minutes. Q13. Where is applications start/stop scripts stored ? Ans : /oracle/app/apps/testcomn/admin/scripts/TEST_sys43/ Q14. What are main configuration files in Web Server (Apache) ? Ans : /oracle/app/apps/testora/iAS/Apache/Apache/conf/ 1.httpd.conf

2.httpd_pls.conf 3.oprocmgr.conf Q15. How to check if Apps 11i System is Autoconfig enabled ? Ans : In the path /oracle/app/apps/testcomn/admin/scripts/TEST_sys43/ see whether there is a script for adautocfg.sh. If it is there it is enabled. Q16. How to check if Oracle Apps 11i System is Rapid Clone enabled ? Ans : In the path /oracle/app/apps/testappl/ad/11.5.0/bin/ check wheather there is a script adclone.pl. If it is there then it is Rapid clone enabled. Q17. What is plssql/database cache?where it is stored? Ans:This cache is used to stored the pl/sql and stored procedures.It is stored in $IAS_ORACLE_HOME/ Apache/modplsql/cache directory. Q18. How to determine Oracle Apps 11i Version ? Ans : conn as a apps user and query the table fnd_product_groups and see the RELEASE_NAME column. Q19. What is RRA/FNDFS ? Ans : RRA Report Review Agent. Report Review Agent(RRA) also referred by executable FNDFS is default text viewer in Oracle Applications 11i for viewing output files and log files. Q20. What is PCP in Oracle Applications 11i ? In what scenarios PCP is Used ? Ans : PCP It means a Parallel Concurrent Processing. Usually you have one Concurrent Manager executing your requests but if you can configure Concurrent Manager running on two machines (Yes you need to do some additional steps in order to configure Parallel Concurrent Processing) . 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 and secondary CM on machine1. Q21. Output & Logfiles for requests executed on source Instance not working on cloned Instance Ans : Run autoconfig. Q22. How to confirm if Report Server is Up & Running ? Ans : Report Server is started by executable rwmts60 on concurrent manager Node and this file is under

$ORACLE_HOME/bin. execute command on your server like ps -ef grep rwmts60 You should get output like applmgr . rwmts60 name=REP60_VISION

Q23. What is difference between ICM, Std Managers & CRM in Concurrent Manager ? Ans : ICM is a Internal Concurrent Manager which starts and manages all other Managers. STANDARD Manager is one which runs as how the ICM tells. CRM is a Conflict Resolution Manager which runs if there is an error or conflicts. Q24. What is use of Apps listener ? How to start Apps listener ? How to confirm if Apps Listener is Up & Running ? Ans: Apps Listener is used to connect the apps with the database. check by grep FNDSM or lsnrctl status VIS Q25. What is Web Listener ? Ans : Web listner is one which gets the requests from client. It contacts via URL. Some times the HTTP listner itself serve the page needed by returning a simple HTML page. If the page referenced by the URL needs advanced processing,the listner passes the request to servlet engine which contacts database server if necessary. Q26. How will you find Invalid Objects in database ? How to compile Invalid Objects in database ? Ans: There is a script called utlrp.sql in RDBMS/admin. This is used to compile the Invalid Objects in database. To find the Invalid Objects query the table dba_objects and see the colum called status. In Apps we can use adadmin utility. Q27. How to compile JSP in Oracle Apps ? Ans : using the tool adadmin or manually perl ojspCompile.pl compile quiet from the location $JTF_TOP/admin/scripts Q28. What is difference between adpatch & opatch ? Can you use both adpatch & opatch in Apps ? Ans : adpatch is used for applying patch in application side and Opatch is for oracle Database side patch.

Q29. Where will you find forms configuration details apart from xml file ? What is forms server executable Name ? Ans: appsweb_$CONTEXT_NAME.cfg . And f60srvm is the executable. It is in 8.0.6 Oracle Home. Q30. What are different modes of forms in which you can start Forms Server and which one is default ? Ans : The default location to start Form server is /oracle/app/apps/testcomn/admin/scripts/TEST_sys43/adfrmctl.sh or it will be started by adstrtal.sh. Q31. How you will start Discoverer in Oracle Apps 11i ? Ans : /oracle/app/apps/testcomn/admin/scripts/TEST_sys43/addisctl.sh Q32. How many ORACLE HOME are in Oracle Apps and whats significance of each ? Ans : There are 3 Oracle Homes. 1) Database Oracle Home 2) 8.0.6 for application and backward compatability. iAS Oracle Home for oracle apps. Q33. Where is HTML Cache stored in Oracle Apps Server ? Ans : $OA_HTML/_pages Q34. Where is plssql cache stored in Oracle Apps ? Ans : $IAS_ORACLE_HOME/Apache/modplsql/cache Q35. What happens if you don t give cache size while defining Concurrent Manager ? Ans : Default Value is 1 Q36. What are few profile options which you update after cloning ? Ans : 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. Q37. How to retrieve SYSADMIN password ? Ans : From the Table fnd_user . Using FNDCPASS we can change. Q38. If you have done two node Installation, First machine : Database and concurrent processing server. 2nd machine: form,web Which machine have admin server/node?

Ans : First Machine. Q39. What is GWYUID, Where GWYUID defined & what is its used in Oracle Applications ? Ans : GWYUID stands for Gateway User ID and password. Usually like APPLSYSPUB/PUB and it is defined in dbc, It is used to connect to database by think clients. Q40. Whats is TWO_TASK in Oracle Database ? Ans : TWO_TASK mocks your tns alias which you are going to use to connect to database. Lets assume you have database client with tns alias defined as PROD to connect to Database PROD on machine 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 tnsalias define by value PROD i.e. TWO_TASK Q41. What is difference between GUEST_USER_PWD (GUEST/ORACLE) & GWYUID ? Ans : GUEST_USER_PWD(Guest/Oracle) is used by JDBC Thin Client where as GWYUID is used by Thick Clients like via Forms Connections. Q42. How to check number of forms users at any time ? Ans : ps -efgrep f60wc -l Q43. What is 0 & Y in FNDCPASS, FNDLOAD or WFLOAD ? Ans : 0 is request id (request ID 0 is assigned to request ID s which are not submitted via Submit Concurrent Request Form. Y indicates the method of invocation. i.e. it is directly invoked from the command-line not from the Submit Request Form. Q44. In a Multi Node Installation, How will you find which node is running what Services ? Ans : we can query the table called FND_NODES and the column name called SUPPORT_CP fro conn node,SUPPORT_forms for form node etc.. Q45. If your system has more than one Jinitiator, how will the system know, which one to pick. ? Ans : Using the file /oracle/app/apps/testcomn/html/appsweb.cfg . The initiator version number defined by parameter jinit_ver_name in this file will be used

Q46. While applying Apps patch using adpatch, if you want to hide the apps password, how will that be possible ? Ans ption =hidepw Q47. What is importance of IMAP Server in Java Notification Mailer ? Ans : IMAP stands for Internet Message Access Protocol and Java Notification mailer require IMAP server for Inbound Processing of Notification Mails. Q48. What is difference between Socket & Servlet Mode in Apps Forms ? Ans : When forms run SOCKET Mode these are dedicated connection between Client Machine & Form Server (Started by adfrmctl.sh). When Forms run in servlet mode the forms requests are fulfilled by Jserv in Apache . There will be additional JVM for Forms Request in that case and you won t start form via adfrmctl.sh. Q49. a. How to find OUI version ? Ans : while we run the run installer we can see. Q50. How to find Database version ? Ans : select * from v$version; Q51. How to find Oracle Workflow Cartridge Release Version ? Ans : Log in to the database as the owf_mgr user and issue select wf_core.translate( WF_VERSION ) from dual; d. How to find opatch Version ? Ans : $ORACLE_HOME/OPatch/opatch version Q52 How to find Version of Apps 11i ? Ans : conn as apps and query fnd_product_groups; Q53 How to Discoverer Version installed with Apps ? Ans : http://hostname.domain:port/discwb4/html/english/welcome.htm Viewer http://hostname.domain/discoverer4i/viewer Version

$ORACLE_HOME/Discwb4 $ string a dis4pr grep i discoverer version Q54 How to find Workflow Version embedded in Apps 11i ? Ans : select TEXT from WF_RESOURCES where NAME= WF_VERSION ; You can also use script wfver.sql in FND_TOP/sql to find version of workflow in Apps. Q55 How to find version of JDK Installed on Apps ? Ans :JDK_TOP oa_var= s_jdktop what so ever value assigned against that parameter go to that directory & cd bin & execute command ./java -version so lets assume entry above is /usr/jdk then cd /usr/jdk/bin and run the following ./java -version Q52. Q. If by mistake you/someone deleted FNDLIBR can this executable be restored if Yes, How & if no, what will you do ? Ans : yes, In the adadmin go for maintain applications and then compile FNDLIBR alone. this will create , Now see in fnd_top/bin/FNDLIBR file exists. or we can relink the executables manually. Q53. What is .pls files which you see with apps ? Ans : This file is regarding the pl/sql. Q54. What are .ldt & .lct files which you see in apps patch or with FNDLOAD ? Ans : .ldt stands for Loader datafile & .lct means Loader configuration files these two are used frequently in migrating Q55. What are .odf file in apps patch ? Ans : odf stands for Object Description Files used to create tables & other database objects. Q56. Where to find Form Server log files in forms ? Ans : Form Server Start up log file location is in $OAD_TOP/admin/log/$CONTEXT_NAME/f60svrm.txt and run time dignostic location for forms is /oracle/app/apps/testora/8.0.6/forms60/log/TEST_sys43/ Q57. How to convert pll to pld file or pld file to pll ? Ans : using f60gen

Q58. Is APPS_MRC Schema exists for MRC in 11.5.10 and higher ? Ans : No , apps_mrc schema is dropped with 11.5.10 Upgrade & 11.5.10 new Install. This is replaced by more Integrated Architecture. Q59.If APPS_MRC schema is not used in 11.5.10 and higher then How MRC is working ? Ans : For products like Payable, Recievables which uses MRC and if MRC is enabled then each transaction table in base schema related to currency now has an assoicated MRC Subtables Q60. When you apply C driver patch does it require database to be Up & Why ? Ans :Yes , database & db listener should be Up when you apply any driver patch 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. Q61. Can C driver in apps patch create Invalid Object in database ? Ans : No , C driver only copies files in File System. Database Object might be invalidated during D driver when these objects are created/dropped/modified. Q.62 Why does a worker fails in Oracle Apps Patch and few scenarios in which it failed for you ? Ans : Worker fails in the following cases : If it doesn t find expected data, object, files or any thing which driver is trying to update/edit/modify. Possible symptoms may be underlying tables/objects are invalid, a prereq patch is missing , login information is incorrect, inconsistency in seeded data Q63. What is dev60cgi & f60cgi ? Ans : cgi stands for Common Gateway Interface and these are Script Alias in Oracle Apps used to access forms server . Usually Form Server access directly via http://hostname:port/dev60cgi/f60cgi Q64. What is difference between mod_osso & mod_ose in Oracle HTTP Server ? Ans : mod_osso is Oracle Single Sign-On Module where as mod_ose is module for Oracle Servlet Engine. mod_osso is module in Oracle s HTTP Server serves as Conduit between Oracle Apache Server & Singl Sign-On Server where as mod_ose is also another module in Oracle s HTTP Server serves as conduit between Oracle Apache & Oracle Servlet Engine. Q65. What is ps -ef or ps command in Unix ?

Ans : ps is unix/linux utility or executable to find status of process. Used mainly to find if services/process is running or not. Q66. What is GSM in Oracle application E-Business Suite ? Ans : GSM stands for Generic Service Management Framework. Oracle E-Business Suite consist of various compoennts like Forms, Reports, Web Server, Workflow, Concurrent Manager .. Earlier each service used to start at their own but managing these services (given that) they can be on various machines distributed across network. So Generic Service Management is extension of Concurrent Processing which manages all your services , provide fault tolerance (If some service is down ICM through FNDSM & other processes will try to start it even on remote server) With GSM all services are centrally managed via this Framework. Q67. What is FNDSM ? Ans : FNDSM is executable & core component in GSM ( Generic Service Management Framework discussed above). You start FNDSM services via APPS listener on all Nodes in Application Tier in EBusiness Suite. Q68. If we run autoconfig which files will get effected ? Ans : 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 & profile options going to change when you run AutoConfig. Q69. What is difference between .xml file & AutoConfig ? Ans : Autoconfig is Utility to configure your Oracle Application environment. .xml file is repository of all configuration from which AutoConfig picks configuration and polulates related files. Q70. What is .lgi files ? Ans : 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. Usually informative logs. Q71. How will you skip worker during patch ? Ans: If in your adctrl there are six option shown then seventh is hidden option.(If there are seven options visible then 8th option is to Skip worker depending on ad version). Q72. Which two tables created at start of Apps Patch & drops at end of Patch ? Ans : fnd_installed_processes and ad_deffered_jobs

Q73. How to compile an Oracle Reports file ? Ans: Utility adrepgen is used to compile Reports. Synatx is given below adrepgen userid=apps source = $PRODUCT_TOPsrwfilename.rdf dest=$PRODUCT_TOPsrwfilename.rdf stype=rdffile dtype=rdffile logfile=x.log overwrite=yes batch=yes dunit=character Q74. What is difference between AD_BUGS & AD_APPLID_PATCHES ? Ans : AD_BUGS holds information about the various Oracle Applications bugs whose fixes have been applied (ie. patched) in the Oracle Applications installation. AD_APPLIED_PATCHES holds information about the distinct Oracle Applications patches that have been applied. If 2 patches happen to have the same name but are different in content (eg. merged patches), then they are considered distinct and this table will therefore hold 2 records. Q75. What exactly happens when you put an Oracle Apps instance in maintenance mode ? Ans: Enabling the maintenance mode feature a) shuts down the Workflow Business Events System and b) sets up function security so that no Oracle Applications functions are available to users. Used only during AutoPatch sessions, maintenance mode ensures optimal performance and reduces downtime when applying a patch. (Source Metalink Note: 233044.1) Q76. What is profile options, What are various type of profile options ? This is the how we set the profile in database. Types: 1. site level . 2. user level. Q77. If users complaining Oracle Applications 11i system is running slow , what all things you will check at broad level ? Ans : First as an Over view of Oracle Applications 11i check following things Broad Level Steps to Check 1. Is Gather stats schedule ? ( atleast 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 like dis4ws..) 5. Any Custom report taking long time ? In order to understand problem better As Next level you should ask questions to yourself or person encountering performance issues like 1. Is whole application is slow or only component of application is slow (like only Concurrent manager running slow) 2. If this is paritular 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 lets say from 11AM to 4PM ? 4. Was performance issue popped up recently or performance degradation is since long ? 5. Whats changed recently ? Depending on answers you can start looking into application like 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 accomodate all users ? Q78. Why appsutil directory under Database ORACLE_HOME used for ? Ans : It is where all the apps related scripts and log files stored in the database side. Q79. How to create User in Oracle Applications 11i ? Can you delete a User ?using sysadmin resposibility. security-->user--->define we can define user. Oracle suggest not to delete user from backened tables. we can give end date to the user in user definition screen Ans : we can create user in front end and then we can put end date for that. Q80. What is content of dbc file & why its important ? Ans : 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 Q81.How to revoke adautoconfig? Ans : In this Location /u01/app/apps/uatappl/admin/UAT_apps/out/Date_mont Here the folder which has the name of dates is when we ran the autoconfig. So In which date we want to roll back the autoconfig, we want to go inside that date and inside that there is a script called restore.sh . Now run the script to roll back to that date. Q82. How to rebuild xml? Ans : Inside the Location /u01/app/apps/uatappl/ad/11.5.0/bin There is a script called adbldxml.pl Using this perl script we can build the XML file. Q83. What is Templete file ? For each of the configuration file that gets generated as a result of running AutoConfig, Oracle uses a template file that come with the initial install process.Location is $AD_TOP/admin/template Q.84. If the patch is need to be restarted because of some reason and while restarting patch, where is that information is stored? Ans : The Location is $APPL_TOP/admin/UAT/restart/

-------------------------------------------------1.hw to change apps pwd 2.patching fail ayite em chestav 3.patch log file ekkada store avtai 4.patch history file ekkada store avtai 5.single to multi node cloning post cloning steps 6.if login page hangs wt to do

7.concurrent managers log files wr it stores 8.wt r internal concurrent managers n internal monitr manager 9.wr is apps pwd stored 10.parallel concurrent processing in concurrent mngrs 11.hw to configure pcp 13.hw to stage while installation 14.adcfgclone.pl why we r using 15.if patch fails wt u do? 16.patch info wr it is stored 17.apps password stored in which tables 18.wat is autoconfig 19.wt happen whn we run autoconfig 20.diff b/w Opatch n adpatch 21.local n global inventory 22.adpatch options 23.purpose of adsplice 24.adpatch,adadmin,adlicmgr,admrgpch,adsplice 25.hw to reduce patch timings 26.c,d,g,u driver in patch drivers wat they do hw to knw from command prompt cmngr is up n running forms is up n running,apache is up n running , 27.hw to knw forms version 28.where we knw jinitator version 29.apache version he we cn find

30.application version hw we cn find 31.patch applied r nt hw to check 32.can we rollback appl'n patch 33.diff b/w oneoff patch n mini pack patch n rollup patch,cpu patch 34.diff b/w view n materialized view 35.diff b/w delete n truncate 36.diff b/w local n global inventory 37.wher we cn see upgrade is performd r not 38.dbua n manual upgradation 39.exp/imp n datapump diff 40.rman cloning 41.rman he cn configre 42.hot bkp 43.diff b/w apps 11i n r12 44.adv of r12 45.wat is ur teamsize 46.db size 47.tell me abt ur client 48.dbc file wr it is stored 49.hw to trace request 50.hw to find form version 51.hw to trace form version 52.wat is cache size in cm 53.diff b.w apps,applsys,applsyspub

54.diff b/w socket n servlet mode 55.hw to check patch applied r nt 56.concurrent request taking long time to complete hw do u trouble shoot

Standalone/One off patches : This is used to define patch created to fix single/particular problem. Mini Pack : This is group of oneoff patches for a particular product like INV, GL, AP and named like 11i.GL.E ( means this group of patches contain fix for 11i GL product (General Ledger till time E is released ) This is cummutative which means it wi...ll include 11i.GL.A, 11i.GL.B .11iGL.D till 11i.GL.E earlier in 10.7 it used to called as patchset. Family Pack : Group of mini packs in one family buldeled together is called as family pack. they are usually named as 11i_PF. Few example of falilies are SCM ( 11i.SCM_PF.G ), ATG ( 11i.ATG_PF.H ) _PF indicate Product Family Pack Maintenance Pack : Group of family pack together is called as maintenance pack. So if you say your Verison is 11.5.10 then its maintenance pack 10 ( 3rd digit is maintenance pack ) Oracle Patches Family Build

Standalone/One off patches : This is used to define patch created to fix single/particular problem. Mini Pack : This is group of oneoff patches for a particular product like INV, GL, AP and named like 11i.GL.E ( means this group of patches contain fix for 11i GL product (General Ledger till time E is released ) This is cummutative which means it will include 11i.GL.A, 11i.GL.B .11iGL.D till 11i.GL.E earlier in 10.7 it used to called as patchset. Family Pack :

Group of mini packs in one family buldeled together is called as family pack. they are usually named as 11i_PF. Few example of falilies are SCM ( 11i.SCM_PF.G ), ATG ( 11i.ATG_PF.H ) _PF indicate Product Family Pack Maintenance Pack : Group of family pack together is called as maintenance pack. So if you say your Verison is 11.5.10 then its maintenance pack 10 ( 3rd digit is maintenance pack ) Special Patches

Consolidated patch: This is a collection of one-off fixes for a Family Pack or Maintenance Pack; Oracle Applications 11.5.10 Consolidated Update 2 (CU2) is an example of a consolidated patch. Interoperability patch: This is a patch that is required for Oracle Applications to function with a newer version of a technology stack component; for example, you would apply an interoperability patch when upgrading the database to version 10g. NLS patch: This is a patch that updates language-specific information for multi-language installations. Rollup patch: This is a collection of one-off patches that update code levels for particular products. Legislative patch: This is a special patch for HR Payroll customers; it contains legislative data for multiple countries. Drivers c,d,g & u 1. cXXXXXXX.drv c stands for copy driver file , used to update the file system with new file versions 2. dXXXXXXX.drv d stand for Database driver & used to update database level code and objects 3. gXXXXXXX.drv g stands for generate driver and is used to generate forms, PL/SQL libraries, reports, and menus 4. uXXXXXXX.drv merged or unified driver which combines the c,d and/or g drivers

Copy: Contains commands to change Oracle Applications files. The commands include directives to copy and update files, libraries, and/or Java, and commands for generating JAR files and/or C executables. In a multi-node system, the copy portion runs on all application tier APPL_TOPs. Database: Contains commands to change Oracle Applications database objects, such as PL/SQL and table definitions, or to update or migrate data. In a multi-node system, the database portion runs only on the application tier APPL_TOP that implements the administration server. Generate: Contains commands to generate forms, reports, messages, and/or graphics files. In a multinode system, the generate portion runs on all application tier APPL_TOPs, unless the APPL_TOP only implements the administration server.

Patch Reporting Tools :

1. Using the adphrept.sql script 2. Executing the patchsets.sh utility 3. Querying the database 4. Using Oracle Application Manager (OAM) 1. Using adphrept.sql Location :

$AD_TOP/patch/115/sql/adphrept.sql Generates a XML report [adfilerep.xml] Execute as $sqlplus apps/apps_password 1 ALL ALL ALL ALL ALL ALL ALL ALL ALL N N N N N Copy the xml file to OA_HTML to view in browser Note : adphrept.sql options -

Query_depth 1 Lists details of patches only 2 Lists details of patches and their bug fixes only 3 Lists details of patches, their bug fixes, and bug actions Bug_number Lists details for one bug number or ALL Bug_product Lists details for one product or ALL End_date_from Lists start date for a date range or ALL End_date_to Lists end date for a date range or ALL Patchname Lists details for a patch name or ALL Patchtype Lists details for a patch type or ALL Level Lists details for a patch level or ALL Language Lists details for a language or ALL Appltop Lists details for a specific APPL_TOP or ALL Limit to forms server Limits the list s scope (Y/N) Limit to web server Limits the list s scope (Y/N) Limit to node server Limits the list s scope (Y/N) Limit to admin server Limits the list s scope (Y/N) Only patches that change db Limits the list s scope (Y/N) 2. Using patchsets.sh

Note:139684.1 ftp://ftp.oracle.com/support/outgoing/PATCHSET_COMPARE_TOOL/patchsets.sh $patchsets.sh connect-apps/apps_password patchsets.sh h give options Sample Output :

3.Querying the Database for Patches

SELECT bug_number FROM ad_bugs WHERE bug_number IN ( patch_number , patch_number , . . .) ORDER BY bug_number DESC; Adpatch option:

options-noautoconfig If you are applying number of patches out of which 4-5 patches run autoconfig then use this option & run autoconfig in last patch or manually (This will save your patching timing , first patch performance tip ) compiledb(def) or nocompiledb Use no compiledb if you have multiple patch then compile database objects in last patch compilejsp(def) or nocompilejsp Use no compilejsp if you have multiple patch then compile jsp in last patch copyportion Tells adpatch whether to run commands normally found in a copy driver. databaseporion Tells adpatch whether to run commands normally found in a database driver. generateportion Tells adpatch whether to run commands normally found in a generate driver hotpatch Tells AutoPatch to apply a patch regardless of whether the Oracle Applications system is in maintenance mode.

integrity Tells adpatch whether to perform patch integrity checking, which verifies that the version of each file referenced in a copy action matches the version present in the patch (There are overheads with this) maintainmrc Tells adpatch whether to automatically maintain the MRC schema after running actions normally found in the database driver. The MRC schema is only maintained if the MRC feature is enabled prereq Tells adpatch whether to perform prerequisite patch checking prior to running patch driver files that contain actions normally found in the copy driver. (With lateset AD patch , default behaviour is changed from prereq to noprereq) forcecopy The forcecopy command copies the files in a patch to the Applications file system without comparing the version number of the patch files with existing files About Maintenance Mode:

As of ADI Maintenance Mode must be enabled. To Enable :

adadmin $AD_TOP/patch/115/sql/adsetmmd.sql ENABLE To Disable:

adadmin $AD_TOP/patch/115/sql/adsetmmd.sql DISABLE Note : We can also go to adadmin and follow the option to enable and disable Maintanance Mode. adpatch options

Option Purpose novalidate Prevents adpatch from validating all schema connections noprereq Prevents adpatch from checking the existence of prerequisite patches nocompiledb Prevents adpatch from compiling database objects nocompilejsp Prevents adpatch from compiling JSP objects noautoconfig Prevents adpatch from running autoconfig after the patch has completed nogenerateportion Prevents adpatch from compiling forms, menus, and plls hidepw Prevents passwords from being displayed in log files hotpatch Allows adpatch to be run when the instance is not in maintenance mode Eg: adpatch options-nocompiledb,novalidate AD Merge : This utility is to merge the patch inorder to reduce the timings Applying a group of similar patches Similar patches unbundled in same folder ./admrgpch /source_dir /target_dir Generates u_merged.drv admrgpch.log Note 228779.1, How to Merge Patches Using admrgpch. AD Control : This Utility is used when we are running the patch, we can see all the details about the patch . ie) All about workers etc., This will work till the both tables drop.

That is FND_INSTALL_PROCESSES and AD_DEFFERED_JOBS These are the two tables created while the patch starts and it will be dropped when the patch is applied or completed. Note : Adctrl options about workers will works till the above two tables is in use . Command Used : adctrl Note : While the patch is running and if it fails in the middle and if we want to ignore it there is also a 8th option but is will not be listed above. The 8th option is 8. Enter the worker number(s)/range(s) (or) all for all workers. These is to kill that particular worker. (to ignore) DB Patches: Eg: patch 2617419 $export PATH-$PATH:/[path_of_2617419]/Opatch $export PERL5LIB-[path_of_PERL]/lib $opatch lsinventory $opatch apply Note : If the opatch fails : There may be a patch_locked file located under the hidden directory $ORACLE_HOME/.patch_storage. The opatch utility may not be executed until the patch_locked file is removed. ===================================================================================== ============================= It was possible to merge several Oracle patch into one, if you have several Oracle applications patch which was fall under the same unified driver family. Steps: -

1. Create Source and destination directory 2. Copy all the Oracle patches to source directory 3. Run the below scripts admrgpch -s /home/applmgr/patch_directory/source -d /home/applmgr/patch_directory/destination merge_name merge_patch_output Executing the merge of the patch drivers Processing patch: /home/applmgr/patch_directory/source/4888294 /home/applmgr/patch_directory/source/4888294 Processing patch: /home/applmgr/patch_directory/source/4653225 /home/applmgr/patch_directory/source/4653225 Processing patch: /home/applmgr/patch_directory/source/5985992 /home/applmgr/patch_directory/source/5985992 Processing patch: /home/applmgr/patch_directory/source/6502082 /home/applmgr/patch_directory/source/6502082 Copying files 5% complete. Copied 98 files of 1942 10% complete. Copied 195 files of 1942 15% complete. Copied 292 files of 1942 20% complete. Copied 389 files of 1942 25% complete. Copied 486 files of 1942 30% complete. Copied 583 files of 1942 35% complete. Copied 680 files of 1942 40% complete. Copied 777 files of 1942 45% complete. Copied 874 files of 1942 50% complete. Copied 971 files of 1942 55% complete. Copied 1069 files of 1942 60% complete. Copied 1166 files of 1942 Done processing patch:

Done processing patch:

Done processing patch:

Done processing patch:

65% complete. Copied 1263 files of 1942 70% complete. Copied 1360 files of 1942 75% complete. Copied 1457 files of 1942 80% complete. Copied 1554 files of 1942 85% complete. Copied 1651 files of 1942 90% complete. Copied 1748 files of 1942 95% complete. Copied 1845 files of 1942 100% complete. Copied 1942 files of 1942 Character-set converting files 4 unified drivers merged. Patch merge completed successfully Please check the log file at ./admrgpch.log. Once the admrgpch completed, you will have the 4 in 1 Oracle patches file which was merge_patch_output in this case. Applying this Oracle patch (merge_patch_output) will equals to apply the 4 patch file, which will lead in time saving for Oracle patching process. ===================================================================================== =================== 1. Using the adctrl utility, shutdown the workers. a. adctrl b. Select option 3 Tell worker to shutdown/quit 2. Backup the FND_INSTALL_PROCESSES table which is owned by the APPLSYS schema a. sqlplus applsys/ b. create table fnd_Install_processes_back as select * from fnd_Install_processes; c. The 2 tables should have the same number of records.

select count(*) from fnd_Install_processes_back; select count(*) from fnd_Install_processes; 3. Backup the AD_DEFERRED_JOBS table. a. sqlplus applsys/ b. create table AD_DEFERRED_JOBS_back as select * from AD_DEFERRED_JOBS; c. The 2 tables should have the same number of records. select count(*) from AD_DEFERRED_JOBS_back; select count(*) from AD_DEFERRED_JOBS; 4. Backup the .rf9 files located in $APPL_TOP/admin//restart directory. At this point, the adpatch session should have ended and the cursor should be back at the Unix prompt. a. cd $APPL_TOP/admin/ b. mv restart restart_back c. mkdir restart 5. Drop the FND_INSTALL_PROCESSES table and the AD_DEFERRED_JOBS table. a. sqlplus applsys/ b. drop table FND_INSTALL_PROCESSES; c. drop table AD_DEFERRED_JOBS; 6. Apply the new patch. 7. Restore the .rf9 files located in $APPL_TOP/admin//restart_back directory. a. cd $APPL_TOP/admin/ b. mv restart restart_

c. mv restart_back restart 8. Restore the FND_INSTALL_PROCESSES table which is owned by the APPLSYS schema. a. sqlplus applsys/ b. create table fnd_Install_processes as select * from fnd_Install_processes_back; c. The 2 tables should have the same number of records. select count(*) from fnd_Install_processes; select count(*) from fnd_Install_processes_back; 9. Restore the AD_DEFERRED_JOBS table. a. sqlplus applsys/ b. create table AD_DEFERRED_JOBS as select * from AD_DEFERRED_JOBS_back; c. The 2 tables should have the same number of records. select count(*) from AD_DEFERRED_JOBS_back; select count(*) from AD_DEFERRED_JOBS; 10. Re-create synonyms a. sqlplus apps/apps b. create synonym AD_DEFERRED_JOBS for APPLSYS.AD_DEFERRED_JOBS; c. create synonym FND_INSTALL_PROCESSES FOR APPLSYS.FND_INSTALL_PROCESSES; 11. Start adpatch, it will resume where it stopped previously. ==================================================================================== Where can I find a list of AutoPatch features and the AD minipacks that introduced them? The Oracle Applications DBA 11i+ Features Matrix (OracleMetaLink Note 210326.1) contains a list of major AD features in Release 11i and identifies which AD minipack introduced each feature.

What is a patch driver file? AutoPatch uses a driver file to direct the installation of a patch. This unified driver is named u<patchnumber>.drv. It contains all the driver actions (copy, database, and generate) that the patch requires, and it performs these actions in the stated order. Typically, you run the driver on all APPL_TOPs and AutoPatch determines which actions are required for the current APPL_TOP and runs only those actions. The driver actions are as follows: Copy: Contains commands to change Oracle Applications files. The commands include directives to copy and update files, libraries, and/or Java, and commands for generating JAR files and/or C executables. In a multi-node system, the copy portion runs on all application tier APPL_TOPs. Database: Contains commands to change Oracle Applications database objects, such as PL/SQL and table definitions, or to update or migrate data. In a multi-node system, the database portion runs only on the application tier APPL_TOP that implements the administration server. Generate: Contains commands to generate forms, reports, messages, and/or graphics files. In a multinode system, the generate portion runs on all application tier APPL_TOPs, unless the APPL_TOP only implements the administration server. See Oracle Applications Concepts for a definition of administration server and other server types. Which releases support unified drivers? All 11i versions of AutoPatch support unified drivers. There is no minimum level. In order to make it easier to turn off entire categories of actions, without having to specify each action type, AD Minipack H introduced simple methods to disable entire categories of actions, for example, adpatch options=nodatabaseportion. See Oracle Applications Maintenance Utilities for a list of available command line options. What is the AutoPatch checkfile feature? The checkfile feature reduces patch application downtime by checking to see if a given database action has been performed previously for the associated file contained in the patch. If an action has been performed using the current (or higher) version of a file, AutoPatch omits the action from the current patch application. What are the Oracle Applications patch types? All Applications patches are organized by aggregation level. Standalone (one-off) Patch: Addresses a single fix or enhancement. Standalone patches are released only when there is an immediate need for a fix or enhancement that cannot wait until an aggregate bundling is available. Although standalone patches are intended to be as small as possible, they usually

include any dependent files that have changed since the base release in order to form a complete patch that can be applied by any customer. The actual number of files changed will depend on the current code level on the system to which the patch is being applied. Rollup Patch (RUP): An aggregation of patches that may be at the functional level, or at a specific product/family release level. For example, a Flexfields rollup patch contains all the latest patches related to Flexfields at the time the patch was created. A Marketing Family 11.5.10 rollup patch contains all the latest Marketing patches released since, and applicable to, 11.5.10. Minipack: An aggregation of patches at the product level. For example, Inventory Minipack G (11i.INV.G) contains all the latest patches for the Inventory product at the time the minipack was created. Minipacks are named in alphabetical sequence such as 11i.INV.E, 11i.INV.F, 11i.INV.G, and so on. Minipacks are cumulative. In other words, 11i.INV.G contains everything in 11i.INV.F, which contains everything in 11i.INV.E, and so on. The terms patchset and minipack are often used interchangeably. Family Pack: An aggregation of patches at the product family level. For example, Financials Family Pack C (11i.FIN_PF.C) contains all the latest patches for products in the Financials family at the time the family pack was created. Family product codes always end in "_PF" and family packs are given alphabetical sequence such as 11i.HR_PF.B, 11i.HR_PF.C, and 11i.HR_PF.D. Family packs are cumulative. In other words, Discrete Manufacturing Family Pack G (11i.DMF_PF.G) contains everything in 11i.DMF_PF.F, which contains everything in 11i.DMF_PF.E, and so on. Maintenance Pack: An aggregation of patches for all products in the E-Business Suite. For example, Release 11.5.10 Maintenance Pack contains all the latest code level for all products at the time 11.5.10 was created. Maintenance packs are numbered sequentially such as 11.5.8, 11.5.9, 11.5.10, and are cumulative. In other words, 11.5.10 contains everything in 11.5.9, which contains everything in 11.5.8, and so on. In addition to the patches in a maintenance pack, Oracle also packages a new Rapid Install at each maintenance pack release level. So Applications Release 11.5.10CU2 Rapid Install contains the same applications code level that a customer would get if they applied the Release 11.5.10CU1 Maintenance Pack on an earlier 11i release level. Note that the technology stack could still be different because Rapid Install includes the latest certified technology stack. The maintenance pack includes only Applications code. Maintenance packs can be downloaded from OracleMetaLink or ordered as a CD Pack from the Oracle Store. Patches can also be organized by purpose. Diagnostic Patch: Used to gather additional information when a product failure cannot be reproduced by Oracle. The additional information assists Oracle Support Services and Oracle Development in resolving the failure. Interoperability Patch: Allows Oracle Applications to function properly with a newer version of the technology stack. Interoperability patches are typically required with new versions of the database or Applications technology stack.

Translated Patch: A non-English version of a patch. Release 11i supports 30 non-English languages. Customers who are using languages other than English, need to apply the corresponding translated patch(es) for the languages they are using in addition to any base US patch(es). Merged Translation Patch: Provided in real time (without requiring a translator) in the event a translated patch is not available when a customer needs it. A merged translation patch is applied just like a fully translated patch. The fully translated patch is escalated and is usually available within 24 hours. It can be applied safely on top of a merged translation patch. Translation Fix: Provided in the event a translation word choice is inappropriate. A translation fix is applied just like a translated patch, except there is no corresponding base US patch. New Feature Patch: Introduces new functionality and/or products. It is applied using standard patching utilities. Consolidated Update (CU): Improves and streamlines the upgrade and maintenance processes by consolidating certain post-release patches. Most recommended patches and rollups for a particular maintenance release are consolidated into a single patch that is installed immediately following application of a maintenance pack or a new installation of Rapid Install. Updates in the CU are predominantly error corrections. Family Consolidated Upgrade Patch: Consolidates all upgrade-related patches from all the products within a product family. Family consolidated upgrade patches are released as needed and are applicable only if you are upgrading to Release 11i from Release 10.7 or 11.0. The Oracle Applications Release Notes, Release 11i (11.5.10.2), Note 316803.1 lists the most recent patches. Documentation Patch: Updates online help. What are AutoPatch restart files? Restart files store information about completed processing in the event of a patch or system failure. They allow AutoPatch and AD Administration to continue processing at the point where they stopped. Do not modify or delete restart files unless specifically told to do so by Oracle Support Services. The restart files reside in $APPL_TOP/admin/<SID>/restart (UNIX) or in %APPL_TOP%\admin\<SID>\restart (Windows). What are the implications of patching a multi-node environment? How do I know what type of server/tier/node I am patching? In a multi-node environment, you need to apply the patch, in its entirety, first to the node where you have implemented the administration server node. After that, you can apply the patch in any order on the remaining nodes. In many cases, the terms server, tier, and node are used interchangeably and the exact meaning must be inferred from the context. Officially, the terms are different and have a distinct meaning. A node (or machine) is a computer.

A server (or service) is a process or group of processes that runs on a single machine and performs a specific function. A tier is a logical grouping of one or more services potentially spread across more than one physical machine. In Release 11i there are three tiers: desktop, application, and database. The desktop tier (generally an end-user PC) does not consist of any servers. Rather it consists of a Web browser that makes use of HTML and a Java applet to provide the user interface. The application tier (or middle tier) hosts the various servers that process the business logic and manage communication between the desktop tier and the database tier. Six servers comprise the application tier: web server, forms server, reports server, Discoverer server (optional), concurrent processing server and administration server. The nodes on which such servers run are referred to as application tier server nodes. The database tier consists of the database server, which stores all the data in a Release 11i system. For example, if a node contains only the database server and no other Release 11i software, it is called the database server node, and is part of the database tier only. However, it is possible for the database server and any of the application tier servers to run on the same node. In this situation, the node can be called the database server node, the forms server node, the Web server node, and so on. Because servers from other tiers are running on one node, the node belongs to more than one tier. For more information about the Release 11i architecture, see Oracle Applications Concepts. To determine what application tier servers are on each node, refer to the Applications Dashboard in Oracle Applications Manager (see Oracle Applications Maintenance Utilities for more details). What is the AD Features matrix displayed on the AutoPatch screen and in the logfiles? AD Feature Versions is a framework created to handle mismatches between the AD code on the file system and the AD objects in the database. Both the version of the feature on the file system and the version of the feature in the database are tracked separately. When the two versions do not match, the feature is disabled, and when the two versions match, the feature is (normally) enabled. The following table is an example of the information displayed by AD Feature Versions in AD utility log files. The first four columns represent the name of the feature, whether the feature is enabled, the version of the feature in the APPL_TOP, and the version of the feature in the database. Feature Active? APPLTOP Data Model Flags CHECKFILE Yes 1 1 Y N N Y N Y PREREQ Yes 6 6 Y N N Y N Y

CONCURRENT_SESSIONS No 2 2 Y Y N Y Y N PATCH_TIMING Yes 2 2 Y N N Y N Y PATCH_HIST_IN_DB Yes 6 6 Y N N Y N Y SCHEMA_SWAP Yes 1 1 Y N N Y Y Y The Flags Column values represent: 1st flag: Is the feature enabled in the APPL_TOP? 2nd flag: Does the feature require an enabling file on the file system? 3rd flag: Does the enabling file exist? 4th flag: Does the feature depend on any database objects? 5th flag: Is the value of the 6th flag relevant? 6th flag: Is the feature enabled in the database? This message is informational in nature only. The AD Feature Versions framework is only used by AD internally and should not be modified except under explicit instructions from AD Development. APPLYING PATCHES How often should I apply minipacks, family packs, and maintenance packs? You should keep your maintenance level up to date in order to: Receive the latest fixes. Reduce the number of file updates needed for emergency fixes. Reduce the possibility of unfulfilled prerequisite patches when applying an emergency fix. Make it easier for Oracle Support and Oracle Development to assist you. Keep core products such as AD (patches and maintenance fixes), FND (security and technology stack updates), and HR (legislative updates) up to date. At a minimum, apply maintenance packs to stay within two maintenance releases. For example, since 11.5.10CU2 is currently available, customers at the 11.5.8 (or earlier) level should be planning their upgrade to 11.5.10CU2. Use minipacks and family packs if you have an immediate need for the latest patch level for a product or product family and cannot wait to apply the corresponding maintenance pack.

How can I find the latest available minipack, family pack, or maintenance pack? On My Oracle Support (MOS), click the Patches & Updates tab. Choose the Quick Links to the Latest Patchsets, Mini Packs, and Maintenance Packs link to see a listing of: Latest Oracle Applications R12 Packs Latest Oracle Applications 11i Packs Latest Oracle Server/Tools Patchsets A link at the top allows you toggle between the three lists. Can I apply multiple patches in one operation? Before you run AutoPatch, use AD Merge Patch to merge multiple patches into a single, integrated patch so that the required patching tasks and processes are performed only once. In general, you can safely merge any Oracle Applications patch with another Oracle Applications patch. Patches should be merged with their listed prerequisite patches to make the application of the patch easier. However, patches that affect the Applications DBA (AD) product may change the AutoPatch utility itself. So, they can be merged only with other AD patches and must be applied separately, before you apply any non-AD patches. Note: AD Merge Patch cannot merge patches of different releases, different parallel modes, or different platforms. However, it can merge patches for a specific platform with a generic patch, or patches with different source character sets. The utility notifies you if you try to merge incompatible patches. How do I apply multiple translation patches? If an Oracle Applications system contains multiple languages other than American English (US), and you are applying multiple patches for each language, the recommended method is to merge all US patches into a single patch and all patches for every non-US language into a single patch. Then, apply the merged US patch followed by the merged language patch. You can also merge US patches with the additional language patches or merge each language in separate language-specific patches. Depending on your downtime window and your system topology, it may be necessary to keep the US and non-US patches separate. See Oracle Applications Maintenance Procedures for a more detailed analysis and step-by-step procedures. Can I run multiple AutoPatch sessions at the same time? You cannot run multiple sessions simultaneously (concurrently). However, patches can be merged and applied in a single patching session. Do patches need to be applied in a particular order? What is a prerequisite patch?

AD patches are the only patches that must be applied in a specific order. This is necessary because you may need to patch the patching utility itself so that it works properly when you use it to apply subsequent patches. It is not necessary to apply non-AD patches in a particular order, even though a readme may state a specific order is required. A prerequisite patch fulfills a dependency for another patch. Strictly speaking, they are co-requisites and can be applied in any order before using the system. We recommend that you merge a patch with its required prerequisites, with the exception of prerequisite patches for the AD product. Starting with AD Minipack H, AutoPatch has a Prereq feature that, when run with patches containing metadata, automatically determines if prerequisites are not fulfilled and informs you. At this point, you can download the prerequisites, merge them with the patch, restart AutoPatch, and apply the merged patch. Older patches, or patches whose metadata is missing the prerequisite information, may list prerequisite patches in the patch README. See Oracle Applications Maintenance Utilities for information. Can I automate the patching process? Non-interactive patching allows you to save time by automating the patching process and avoiding some of the prompts. You can store the responses to the patching prompts in a defaults file. Then, when you run AutoPatch, you specify the name of the defaults file, the location of the patch top directory, the name of the driver file and other parameters in the command line. See Oracle Applications Maintenance Procedures for information on running AutoPatch noninteractively using a defaults file. How can I track my customizations? What happens to my customizations during patching? You should apply patches first on a test system. Then, review the changes in the test system and identify the best way to re-integrate customizations affected by the patch. If you have registered your customized files in $APPL_TOP/admin/applcust.txt, AutoPatch reviews the files to determine if any of those files will be replaced during the application of the patch. Note: Registering customized files does not prevent the object or the patch from being applied. It only makes them available to AutoPatch for review. See Customization Standards in Oracle Applications Developer's Guide for more details. ASSESSING THE EFFECTS OF PATCHING How do I know what patches or files have been applied to a system? What happened to my applptch.txt file?

Previously, patch history was stored in a text file called applptch.txt in the $APPL_TOP/admin/<SID> directory. AutoPatch appended information about each applied patch to the applptch.txt file automatically. Since AD Minipack E, the Patch History feature stores all patch information in database tables. If the information cannot be written to the database, it is stored in the file system, and is automatically loaded to the database each time AutoPatch is run. In this case, the temporary patch history file was named applptch.txt. In AD Minipack H (and later), there are two patch history files: javaupdates<timestamp>.txt - records patch history about changes to Java files adpsv<timestamp>.txt - records patch history about changes to all non-Java files. The best way to review patching history is to use the Applied Patches utility provided by Oracle Applications Manager (OAM). From the Applied Patches interface, you can perform a simple search by querying on the patch number, the number of days or date range during which patches were applied and/or the patch language. An advanced search provides additional search criteria. The search results display useful information including patch name, description, a list of merged patches, location of applied patch, language, files changed or copied, bug fixes in each driver file, whether patch application was successful and timing information. See Oracle Applications Maintenance Utilities for more information. Can I determine ahead of time how a patch will affect my system? You can analyze the actions a patch will take by reviewing patch log files without applying a patch to production or you can access a Patch Impact Analysis report through the Patch Wizard in Oracle Applications Manager (OAM) to see how a patch will affect the files on your system. If you want to review log files, you can apply a patch on a test system. Alternatively, you can apply the patch in production using the AutoPatch test mode. Applying a patch in test mode requires that you use the AutoPatch option apply=no. The resulting log file shows all the actions that AutoPatch will take. To determine how a patch will affect the files on your system, you can request a Patch Impact Analysis report for a specific patch through the Patch Wizard in OAM version 2.2 and later. The Patch Impact Analysis feature of Patch Wizard provides links to details about a patch including the following information: The total number of files in the patch The number and type of files the patch will install The products that will have updated files The files that will be introduced by the patch The files on the target system that will be changed by the patch

See Oracle Applications Maintenance Utilities for additional information.

TROUBLESHOOTING --------------If I am applying a patch and it fails, should I simply re-run it from the beginning after fixing the issue? If a patch driver fails, fix the issue and restart AutoPatch. AutoPatch will allow you to continue where the patch left off. Re-running the patch from the beginning may result in it being applied incorrectly. What should I do when the Oracle Applications AutoPatch Prerequisite Checking Feature fails? There are various issues that could cause a failure in the AutoPatch Prerequisite Checking Feature. Refer to When Oracle Applications Automatic Patch Prerequisite Checking Feature Fails (OracleMetaLink Note 233040.1). If a worker fails when AutoPatch is running, what should I do? When a worker fails its job, the AD utility running the worker takes one of several possible actions: Defers the job to the end of the list of jobs to run and assigns the worker another job Sets the worker status to Failed and continues to run jobs in other workers If all other workers are in failed or waiting state, waits for user input (interactive mode) or exits (noninteractive mode) If the worker remains in a failed state, examine the worker log file and determine the cause of the failure. The worker log files are named adwork<number>.log (for example adwork01.log or adwork001.log). They are located in the same directory as the main AD utility log file. By default this is under $APPL_TOP/admin/<SID>/log. Attempt to correct the problem and restart the failed job. If you cannot determine the cause of the failure, try restarting the failed job to see if it works the second time (it may have failed due to a concurrency or resource issue). To restart a failed job, run AD Controller and choose the option to restart a failed job. Enter the worker number when prompted. You can use AD Controller to see the status of jobs both before and after restarting them. The status before restarting should be Failed, and the status after restarting should be Fixed, Restart. If you are unable to fix the failed job, contact Oracle Support Services for assistance. If the AD utility exited after the job failed, you must use AD Controller to restart the failed job before you can restart the AD utility. Otherwise, the AD utility will detect the failed job and shut down again.

===================================================================================== =======

See More