Oracle Apps DBA Interview Questions
Q: What are various options available with adpatch ?
Q: Why we need to put maintenance mode when we are applying a patch ?
Ans: Maintenance mode provides a clear separation between normal runtime operation of Oracle Applications and system downtime for
maintenance. Enabling the maintenance mode feature shuts down the Workflow Business Events System and 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. For more information, refer to Preparing your System for Patching
in Oracle Applications Maintenance Utilities.
Q: After applying patch why we need to take snapshot and what is the use of it ??
Ans:Snapshot is a view of the system at specific time. In apps, Patch Wizard uses Global snapshot to determine which patches have
been applied to the system and Autopatch uses APPL_TOP snapshot to determine what patches have been applied to that APPL_TOP.
Snapshot actually records the list of files,file versions and bug fixes. Both snapshot are views, they are created once during
installation and then updated during patching. APPL_TOP snapshot information is stored in the AD_SNAPSHOTS, AD_SNAPSHOT_FILES, and
AD_SNAPSHOT_BUGFIXES tables
Q: Whether we can apply 2 patches at a time without merging them, why ??
Ans: We can’t apply 2 patches at a time because when patch started it will create 2 tables in db (AD_DEFERRED_JOBS AND
FND_INSTALL_PROCESSES). If you apply patches at a time both will try to create those 2 tables in db, so both will fail.
Q: After applying patch whether we can revert it back ?
Ans: No, as it is going to update some tables in db.
Q: Whether we need to run adpreclone everytime when we clone, why ?
Ans: We have to run adpreclone if there are changes in any customizations or any other tablespaces like if applied any AD patches,
Big Patches, Minipacks, ATG patches, Tech Stack, and AD Patches. If there are no changes, then i don’t think there is any need to
preclone it again.
Example: When you run adpreclone.pl, it essentially does an “alter database backup controlfile to trace” and stores the information from
that in a file within ${ORACLE_HOME}/appsutil. This represents all of the datafiles in the database at that particular time. The information
gathered at this time represents the state of the source at this time. If you does not run adpreclone.pl again when u do clone next time,
Your backup (your target) represents an earlier time (prior to the addition of that datafile), so the “create controlfile” step
that adcfgclone is doing is going to fail.
Q: Which files it will call when we run adcmctl.sh start apps/apps ?
Ans: It will call FNDLIBR executable, which will be located in $FND_TOP/bin.
Q: What are the main tables related to concurrent manager ?
Ans: FND_NODES
FND_CONCURRENT_PROCESSES (fcproc)
FND_CONCURRENT_REQUESTS (fcr)
FND_CONCURRENT_QUEUES (fcq)
FND_CONCURRENT_PROGRAMS (fcprog)
FND_EXECUTABLES
FND_CP_SERVICES
FND_CONCURRENT_QUEUE_SIZE
FND_CONCURRENT_QUEUE_CONTENT
FND_CONCURRENT_PROGRAM_SERIAL
FND_CONCURRENT_TIME_PERIODS
FND_CONCURRENT_PROCESSORS
Q: What is FNDFS ?
Ans: Report Review Agent(RRA) also referred by executable FNDFS is default text viewer in Oracle Applications 11i for viewing
output files and log files. As most of Applications DBA’s are not clear about Report Server and RRA.
Q: What is FNDSM ?? It has seperate name, what it is ?
Ans: FNDSM is executable & core component in GSM. 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.
Q: How to check whether ICM is up and running from backend ?
Ans: ps -ef | grep LIB
ps –ef | grep CPMGR
ps –ef | grep FNDCPMBR
$FND_TOP/sql/afcmstat.sql — Displays all the defined managers, their maximum capacity, pids, and their status.
afimchk.sql — Displays the status of ICM and PMON method in effect, the ICM’s log file, and determines if the concurrent manger
monitor is running.
afcmcreq.sql — Displays the concurrent manager and the name of its log file that processed a request.
afrqwait.sql — Displays the requests that are pending, held, and scheduled.
afrqstat.sql — Displays of summary of concurrent request execution time and status since a particular date.
afqpmrid.sql — Displays the operating system process id of the FNDLIBR process based on a concurrent request id. The process id
can then be used with the ORADEBUG utility.
afimlock.sql — Displays the process id, terminal, and process id that may be causing locks that the ICM and CRM are waiting to
get. You should run this script if there are long delays when submitting jobs, or if you suspect the ICM is in a gridlock with
another oracle process.
Q: Which component is responsible for PCP failover ?
Ans:When PCP is enabled, can you check that FNDSM is running on all your CCM nodes? That process is mainly reponsible to getting
the failovers to happen and also start up CCMs
Q: Where custom top information will be there ?
Ans: $APPL_TOP/APPLSYS.env file.
Q: What will happen when we run adpreclone ?
Ans: It will collect all info of the environment and store in seperate template files.
Q: Which two parameters are required when we do clone using RMAN ?
Ans: DB_FILE_NAME_CONVERT and LOG_FILE_NAME_CONVERT
Q: How to clean FND_NODES table?
Ans:EXEC FND_CONC_CLONE.SETUP_CLEAN.
Q: What is the pre-req for applying a rdbms patch?
Ans : OraInventory should be set in file oraInst.loc @/var/opt/oracle or /etc
Q: What is OraInventroy?
Ans: The oraInventory is the location for the OUI (Oracle Universal Installer)’s bookkeeping. The orainventory 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.
Q: What are different types of inventories?
Ans: The Global orainventory (or Central inventory) The Local inventory (or Home inventory)
Q: What is Global orainventory?
Ans : The Global oraInventory 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 OraInventory 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 OraInventory 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 OraInventory synchronized.
Q: What is local Orainventory?
Ans : There is one Local OraInventory 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 OraInventory gets updated whenever a patch is applied to the ORACLE_HOME, using OUI.
Q: 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
Q: 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.
Q: 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.
Q: What is the location of adpreclone.pl for oracle user?
Ans : RDBMS_ORACLE_HOME/appsutil/scripts/
Q: What is the location of adpreclone.pl for applmgr user?
Ans : $COMMON_TOP/admin/scripts/
Q: What is the location of adcfgclone.pl for oracle user?
Ans : $RDBMS_ORACLE_HOME/appsutil/clone/bin
Q: What is the location of adcfgclone.pl for applmgr user?
Ans : $COMMON_TOP/clone/bin
Q: What is statspack?
Ans : Statspack is a database utility to gather database and session level performance information.
Q: 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
Q: How to enable trace at database level?
Ans :set init.ora parameter sql_trace
Q: 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.
Q: 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);
Q: What is the location of inint.ora ?
Ans :$RDBMS_ORACLE_HOME/dbs
Q: 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.
Q: What is the syntax for tkprof?
Ans: tkprof explain=apps/ sys=no
Q: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.
Q: How to find trace file for a given concurrent request id?
Ans : Go to $RDBMS_ORACLE_HOME/admin//udump
grep “ “ *
Q: 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
Q: 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.
Q: 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.
Q: What is netapp?
Ans :Netapp is a storage technology.
Q: What is formserver url?
Q: 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.
Q: 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.
Q: What is discoverer viewer url?
Ans:http://hostname.domain/discoverer4i/viewer152. What is discoverer plus url?
Q: What is aoljtest and its url
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
Q: What is adsplicer?
Ans :Adsplicer is a uitility used to register off cycle products.
Q: What is licence manager?
Ans :Licence manager(adlicmgr) utility is used to licence/unlicence , enable new languages,enbale country specific functionality.
Q: 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.
Q: 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
Q: 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.
Q: 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
Q: How to find out oracle application framework version?
Ans :1. Through aoljtest2. cd $COMMON_TOP/html/3. adident Header OA.jsp
Q: 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.
Q: Is that necessary to shutdown database while applying a database patch?
Ans : Yes.
Q: What is the command line utility to submit a concurrent request?
Ans : CONSUB
Q: 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.
Q: How you will find out discoverer version?
Ans : cd $806_ORACLE_HOME/discwb4/lib strings libd* grep ‘Version:’
Q: 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
Q: 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.
Q: 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.
Q: 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.obj@applmgr home
Q: What are the post installation task?
Ans : Running adjkey –initialize and then runnning adadmin to regerate jar files.
Q: 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
Q: 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.
Q:How you will find workflow version?
Ans :Run wfver.sql@FND_TOP/sql script as apps user
Q: 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.
Q: How to find out which patch driver is applied(like c,d,g or u)?
Ans:query ad_patch_drivers.
Q: How to find out whether a language patch is applied for a perticular patch?
Ans : Query ad_patch_driver_langs.
Q: How to validate that sysadmin password is correct or not from backend?
Ans:select fnd_web_sec.validate_login(‘SYSADMIN’,'Qwert8765′) from dual;
Q: How to compile jsp’s(other than from adadmin)?
Ans:Force compilation of all jsps using the following command ojspCompile.pl –compile –flush
Q: 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.
Q: Other way of checking whether MRC is enabled or not besides using adadmin?
Ans : select multi_currency_flag from fnd_product_groups;
Q: How to compile rdf?
Ans: Either using adadmin or rwcon60
Q: How to change file/directory owner in linux/solaris?
Ans : chown – R :
Ex: chown – R applmgr:dba testappl
Q: How to change the permission of file/directory in linux/solaris?
Ans : chmod –R
Ex : chmod –R 755 testappl
Q: 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
Q: What is the script to find out ICM status?
Ans :afimchk.sql@FND_TOP/sql
Q: What is the script to list the concurrent request status?
Ans: afrqrun.sql@FND_TOP/sql
Q: What is the script that Lists managers that currently are running a request?
Ans : afcmrrq.sql@FND_TOP/sql
Q: How can I determine whether a template is customizable or non-customizable?
Ans : If a keyword “LOCK” is present at the end of the file entry in the respective driver, then it is a non-customizable template. If the “LOCK” keyword is not seen, then that template can be customized.
Q: 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
Q: How to findout XML Parser Version
Ans : SQL> select WF_EVENT_XML.XMLVersion() XML_VERSION from sys.dual;
Q: How to find out WorkFlow Version
Ans :SQL> select TEXT Version from WF_RESOURCES where TYPE = ‘WFTKN’ and NAME = ‘WF_VERSION’;
Q: How to find a file version in Application DB:
Ans: select v.version,v.CREATION_DATE,c.CREATION_DATE from AD_FILES c,AD_FILE_VERSIONS v where c.FILENAME like ‘ARPURGEB.pls’ AND c.file_id = v.file_id AND c.app_short_name = ‘AR’;
When a copy driver (C) or the copy portion of a unified driver (U) are aborted for any reason, upon reapplying, the CREATION_DATE and/or LAST_UPDATE_DATE columns in the patching history tables (Ex: AD_FILE_VERSIONS)are not updated to show the proper installation date but are left with the 01-01-1950 date. you can resolve the issuse by applying the latest ad.I patch.
Q: 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;
Q: What is the configuration file for adutilities (like adadmin,adconfig etc)?
Ans: adconfig.txt @APPL_TOP/admin
Q: 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.
Q: How to find the version of a file?
Ans : 1. adident Header 2. strings -a filename grep Header
Q: What is adodfcmp utility?
Ans : This utility is used to recreate/repair corrupted database objects from odf(object defination files) files.
Q: How you will change apps password?
Ans: FNDCPASS 0 y apps/ system/ SYSTEM APPLSYS
Q: What if apps password is changed with alter command?
Ans : Applications won’t work.
Q: What is the difference between alter and FNDCPASS in changing apps password?
Ans : FNDCPASS will update some fnd tables other than standard tables.
Q: Where the FNDCPASS utility is located?
Ans : Concurrent node @FND_TOP/bin
Q: How to find out what component of u r oracle applications were installed on which node?
Ans : Xml file (context file)
Q: How to find the version of httpd/Apache web server?
Ans : $IAS_ORACLE_HOME/Apache/bin/httpd –version
Q: What is the configuration file for httpd and what is the location of it ?
Ans : httpd.conf @IAS_ORACLE_HOME/Apache/Apache/conf
Q: 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
Q: When Apache starts what other components its start ?
Ans : PL/SQL Listener, Servlet Engine, OJSP Engine
Q: 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.
Q: What is self service application?
Ans : Whatever part of u r oracle application u r able to see through web browser is self service.
Q: 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)
Q: What is the location of jserv.log?
Ans : IAS_ORACLE_HOME/Apache/Jserv/log
Q: What is the location of wdbsvr.app ?
Ans : IAS_ORACLE_HOME/Apache/modplsql/cfg
Q: 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.
Q: 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)
Q: What is forms configuration file and its location?
Ans : appsweb_contextname.cfg @$COMMON_TOP/html/bin
Q: What are the different modes u can start u r form server?
Ans : socket and servlet
Q: 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
Q: 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.
Q: Where the forms server related errors will be logged?
Ans : access_log and error_log
Q: 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
Q: 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
Q: 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.
Q: Where is the concurrent manager log file located?
Ans : $COMMON_TOP/admin//log or $APPLCSF/$APPLLOG
Q: Is apps password necessary to start all the components of oracle application?
Ans : No. Only to start/stop concurrent managers apps password is needed.
Q: What is a concurrent manager?
Ans : A concurrent manager is one which runs concurrent requests.
Q: 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
Q: 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.
Q: 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.
Q: What are work shifts?
Ans : Work shifts are nothing but timings at which the concurrent manager is supposed to run.
Q: What if internal concurrent manager target and actual are not same?
Ans : we need to bounce the concurrent manager using adcmctl.sh
Q: How to bounce a single concurrent manager?
Ans : From frontend using ‘Administer Concurrent Manager form’.
Q: When we change apps password , is it necessary to bounce application?
Ans : Only we need to bounce concurrent managers.
Q: 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
Q: What is the other script by which u can start apache other than adapcctl.sh?
Ans : apachectl @IAS_ORACLE_HOME/Apache/bin
Q What is the configuration file for PL/SQL listener?
Ans : httpd_pls.conf @IAS_ORACLE_HOME/Apache/Apache/conf
Q: How to skip copy portion while applying a patch?
Ans : Adpatch options=nocopyportion
Q: 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
Q: 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.
Q: 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.
Q: 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’.
Q: 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’.
Q: 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.
Q: How to find the application version like 11.5.8/11.5.9….?
Ans : select release_name from fnd_product_groups;
Q: How to find the database/sqlplus version?
Ans : select banner from v$version;
Q: How to find out what are the languages enabled in u r applications?
Ans : Query fnd_languages
Q: What is the size of u r database?
Ans : 200 to 500 GB
Q: How to find operating system version?
Ans : uname –a
Q: 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.
Q: 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.
Q: 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.
Q: How to kill a database session?
Ans : alter system kill session ‘&sid,&sno’;
Q: How to find adconfig is enabled for oracle operating system user/database?
Ans : If appsutil directory is there in RDBMS_ORACLE_HOME
Q: Which files tell u the database helath?
Ans : alert log file @RDBMS_ORACLE_HOME/admin//bdump
Q: How to apply a rdbms patch?
Ans : Using opatch
Q: How to find opatch is enabled or not for u r database?
Ans : If Opatch directory exists under RDBMS_ORACLE_HOME.
Q: 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
Q: 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
Q: 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”
Q: How to find out invalid objects in the database
Ans : select count(*) from dba_objects where status =’INVALID’
Q: How you will see hidden files in linux/solaris?
Ans : ls -la
Q: How to find that the database is 64-bit/32-bit?
Ans : $RDBMS_ORACLE_HOME/bin/file oracle
Q:What is top command?
Ans : top is a operating system command, it will display top 10 processes which are taking high cpu and memory.
Q: What is a patch?
Ans : A patch can be a solution for a bug/it can be a new feature.
Q: What are the different types of patches?
Ans : oneoff, mini packs, family packs, maintanance packs, rollup pathches, colsolidated patches.
Q: What is a oneoff patch?
Ans : An oneoff patch is a small patch of (20-90K size) without any pre-req’s
Q: 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
Q: 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.
Q: What is Maintanance pack ?
Ans : A maintanance pack will upgrade applications from one version to another like 11.5.8 to 11.5.9
Q: 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
Q: 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.
Q: How u will find whether a patch is applied/not?
Ans : Query ad_bugs.
Q: What is the other table where u can query what are the patches applied?
Ans : Ad_applied_patches
Q: 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.
Q: How u apply a patch?
Ans : adpatch
Q: What inputs you need to apply a patch other than driver name and etc?
Ans : apps and system passwords
Q: 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
Q: 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.
Q: 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.
Q: 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…..
Q: While applying a patch if that patch is failing because of a pre-req then how you will apply that pre-req patch and resume with the current patch?
Ans: We need to take the backup of FND_INSTALL_PROCESSES and AD_DEFERRED_JOBS tables and restart directory at APPL_TOP/amdin/SID and then use adctrl to quit all the workers. Then apply the pre-req patch , after that rename u r restart directory to its original name and create FND_INSTALL_PROCESSES and AD_DEFERRED_JOBS tables from the bcakup tables. Start adpatch session and take the options want to continue previous session.
Q: What is adctrl?
Ans: Adctrl is one of the adutilities, which is used to check the status of workers and to manage the workers.
Q: 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….
Q: 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.
Q: 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.
Q 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.
Q: What c-driver will do?
Ans: C-drive copies the files from patch unzipped directory to required location in u r application file system. Before copying it will check the file version of the existing file at the file system with the file version of the file in the patch. If the patch file version is higher than what it is at file system level then only c-driver will copy that files.
Q: 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.
Q: What is the adpatch log file location?
Ans : APPL_TOP/admin/SID/log
Q: What is the worker log file name and its location?
Ans : adwork01,adwork02…… and location is APPL_TOP/admin/SID/log
Q: 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
Q: 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.
Q: 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.
Q: 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.
Q: 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.
Q: Which table u will query to check the tablespace space issues?
Ans : bytes column in dba_free_spaces and dba_data_files
Q: Which table u will query to check the temp tablespace space issues?
Ans : dba_temp_files
Q: 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.
Q: What is autoconfig?
Ans : Autoconfig is an adutility which is used to main application environment and configuration files.
Q: What are the parameter autoconfig will ask for?
Ans : Context file name and apps password
Q: What is context file?
Ans : Context file is a central repositary, which stores all application configuration information. The name is like _ .xml
Q. 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
Q: 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.
Q: 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.
Q: What is the location of adconfig log file?
Ans : APPL_TOP/admin//log/
Q: 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.
Q: 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.
Q: How to find autoconfig is enabled or not for database?
Ans: If we have appsutil directory under RDBMS_ORACLE_HOME
Q: 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.
Q: 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
Q: What is the location of apps.zip/appsbrog2.zip?
Ans : AU_TOP/java and JAVA_TOP
Q: What is for “validating apps schema” option in adadmin?
Ans: It will check for the corrupted objects in apps schema
Q: What is “compile apps schema” option in adadmin?
Ans : It will compile the invalid database objects.
Q: How to find invalid objects in database?
Ans : select count(*) from dba_objects where status=’INVALID’;
Q: 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.
Q: How to find Multi-Org is enabled or not?
Ans : In adadmin if covert to Multi org option is there, then Multi-org is not enabled. If maintain multi-org options is there, then Multi-org is enabled.
Q: 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).
Q: What is Multi-Org?
Ans: If this is enabled we can store multiple organization information in a single oracle application instance.
Q: 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 ..
Q: How to check JDBC Connection ?
Ans: select count(*),module from v$session where program like ‘%JDBC%’ group
Q: What is error_log in Apache,what entries are recored in access_log ? Where is default location of this file ?
Ans: 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.
Q: 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.
Q: Where is Jserv configuration files stored ?
Ans: Jserv configuration files are stored in $IAS_ORACLE_HOME/Apache/Jserv/etc
Q: What are main configuration files in Web Server (Apache) ?
Ans: Main configuration files in Oracle Apps Web Server are
httpd.conf,
httpd_pls.conf,
jserv.conf,
jserv.properties,
zone.properties
Q: 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
Q: 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)
Q: How to determine Oracle Apps 11i Version ?
Ans: SQL>select RELEASE_NAME from fnd_product_groups;
Q: 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
Q: 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”
Q: 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.
Q: What is PCP is Oracle Applications 11i ?
Ans: 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.
Q: 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
Q: How will you find Invalid Objects in database ?
Ans: sql>select count(*) from dba_objects where status like ‘INVALID’;
Q: What is difference between adpatch & opatch ?
Ans: adpatch is utility to apply oracle applications patches whereas opatch is utility to apply database patches
Q: What is forms server executable Name ?
Ans: f60srvm
Q: 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
Q: 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
Q: 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.
Q: 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 appsdbatraining.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
Q: What is GWYUID ?
Ans: GWYUID , stands for Gateway User ID and password. Usually like APPLSYSPUB/PUB
Q: 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.
Q: 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
Q:How can you check which node is running what service?
Ans: select * from fnd_nodes;
Q: What is make program in Unix ?
Ans: make is utility in Unix/Linux to maintain , update & generate an file mainly executable.
Q: What are .odf file in apps patch ?
Ans: odf stands for Object Description Files used to create tables & other database objects.
Q: 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
Q: I am applying a patch , can I open another session in another node and run adpatch?
Ans: No
Q: Output & logfiles for requests executed on source instance not working on cloned instance?
Ans: Check whether apps listener is running
Q: 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.
Q: 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.
Q: 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
Q: 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.
Q: What URL you use to access Disco viewer & Disco plus .
http://hostname.domainname:port/discoverer/viewer (10gAS)
http://hostname.domainname:http_port/discoverer/viewer ( R12)
http://hostname.domainname:port/discoverer/plus (10gAS)
Q: 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.
Q: How to find if any service is listening on particular port or not ?
Ans: netstat -an | grep {port no}
Q: 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.
Q: 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.
Q: 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.
Q: How to find the wordsize (32-bit or 64-bit) of Oracle Database
Ans: $cd $ORACLE_HOME/rdbms/bin
$file oracle
Q: How to Compile JSP’s without using ADADMIN
Ans: perl -x $JTF_TOP/admin/scripts/ojspCompile.pl –compile
Q: 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
Q: 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.
Q: 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
Q: 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.
Q: Can you clone from multi node system to single node system & vice versa ?
Ans: Yes, This is now supported via Rapid Clone
Q: Does rapid clone takes care of oraInventory after clone?
Ans: Yes, Rapid Clone will automatically Update Global oraInventory during configuration phase.
Q: 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
Q: 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 )
Q: 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
Q: 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
Q: 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>
Q: What is adsplice utility ?
Ans: adsplice in oracle apps is utility to add a new product.
Q: How can you licence a product after installation ?
Ans: You can use ad utility adlicmgr to licence product in Oracle Apps.
Q: 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…
Q: 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.
Q: Mr.xxxx can u pls introduce u r self.
Ans: Just tell them abt u r educational background, year of passing,native place, family member detials(if u r comfortable), u r strengths etc.
Q: Can u pls tell us abt u r last organization, about u r project, customer.
Ans: My last organization is xxxxxxx. Ltd., project name is yyyyyyyyyyy and customer name is zzzzzzzzzzzz. Customer business details(if u know). We have some 'n' instances in that we have n/4 production instances.
Q: What is u r team size?
Ans:Specify a number depends on number of instances u r handling in u r project
Q: What are the projects going on , in u r project?
Ans: Say there are some implementation and conversion projects are going on, but I don't know the entire details as our development team is handling that, we just supporting in Apps DBA point of view whenever it is required.
Q: What are u r regular activities?
Ans: Patching, patch analysis, monitoring, trouble shooting, resolving lock issues, providing trace files,cloning, shutdown/starups,backup etc….
Q: What is wdbsvr.app file used for? What's full path of this file? What's significance of this file?
Ans: The wdbsvr.app is used by mod_plsql component of Apache to connect to
database. The File is located at $IAS_ORACLE_HOME/Apache/modplsql/cfg .
Q: Where would i find .rf9 file, and what execatly it does ?
Ans: These files are used during restart of patch in case of patch failure because of some reason.
Q: 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 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.
Q: Can you clone from multi node system to single node system & vice versa ?
Ans: Yes.
Q: 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: dbc as name says is database connect descriptor file which stores database connection information used by application tier to connect to database. This file is in directory $FND_TOP/secure also called as FND_SECURE
Q: Whats things you do 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 )
Q: Can you apply patch without putting Applications 11i in Maintenance mode ?
Ans: Yes, use options=hotpatch as mentioned above with adpatch. from AD.I onwards we need to enable maintenance mode inorder to apply apps patches.
Q: What is the use of adident utility ?
Ans: adident utility in oracle apps is used to find version of any file . AD Identification.
for ex. "adident Header
Q: How can you licence a product after installation ?
Ans: By using ad utility adlicmgr to licence product in Oracle Apps.
Q: What is MRC ? What you do to enable MRC in Apps ?
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.
Q: 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. Entries in this file is defined by directive LogFormat in httpd.conf Typical entry in access_log is
198.0.0.1 - - [10/Sep/2006:18:37:17 +0100] "POST /OA_HTML/OA.jsp?.... HTTP/1.1" 200 28035
where 200 is HTTP status code & last digits 28035 is bytes dowloaded as this page(Size of page).
Q: What is session time out parameter & where all you define these values ?
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 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
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.
Q: Where is applications start/stop scripts stored ?
Ans: $COMMON_TOP/admin/scripts/$CONTEXT_NAME
Q: What are main configuration files in Web Server (Apache) ?
Ans: Main configuration files in Oracle Apps Web Server are
# httpd.conf, apps.conf, oracle_apache.conf, httpd_pls.conf
# jserv.conf, ssp_init.txt, jserv.properties, zone.properties
# plsql.conf, wdbsvr.app, plsql.conf
Q: How to check if Apps 11i System is Autoconfig enabled ?
Ans: Under $AD_TOP/bin check for file adcfginfo.sh & if this exists use
adcfginfo.sh contextfile= show=enabled
If this file is not there , look for any configuration file under APPL_TOP if system is Autoconfig enabled then you will see entry like
# AutoConfig automatically generates this file. It will be read and .......
Q: How to check if Oracle Apps 11i System is Rapid Clone enabled ?
Ans: For syetem to be Rapid Clone enabled , it should be Autoconfig enabled (Check above How to confirm if Apps 11i is Autoconfig enabled). You should have Rapid Clone Patches applied , Rapid Clone is part of Rapid Install Product whose Family Pack Name is ADX. By default all Apps 11i Instances 11.5.9 and above are Autoconfig & Rapid Clone enabled.
Q: What is plssql/database cache?
Ans: In order to improve performance mod_pls (Apache component) caches some database content to file. This database/plssql cache is usually of type session & plsql cache
# session cache is used to store session information.
# plsql cache is used to store plsql cache i.e. used by mod_pls
Q: How to determine Oracle Apps 11i Version ?
Ans: select RELEASE_NAME from fnd_product_groups;
You should see output like
RELEASE_NAME
-----------------------
11.5.9 or 11.5.10.2
Q: 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. As most of apps dba's are not clear about Report Server & RRA.
Q: What is PCP in Oracle Applications 11i ? In what scenarios PCP is Used ?
Ans: PCP stands for 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 & secondary CM on machine1.
Scenario
********
Well If you are running GL Month end reports or taxation reports annually these reposrts might take couple of days. Some of these requests are very resource intensive so you can have one node running long running , resource intensive requests while other processing your day to day short running requets.
another scenario is when your requests are very critical and you want high resilience for your Concurrent Processing Node , you can configure PCP. So if node1 goes down you still have CM node available processing your requests.
Q: Output & Logfiles for requests executed on source Instance not working on cloned Instance?
Ans: Here is exact problem description - You cloned an Oracle Apps Instance from PRODBOX to another box with Instance name say CLONEBOX on 1st of August. You can any CM logs/output files after 1st of August only becuase these all are generated on CLONEBOX itself, But unable to view the logs/output files which are prior to 1st August. What will you do & where to check ?
Log , Output file path & location is stored in table FND_CONCURRENT_REQUESTS. Check
select logfile_name, logfile_node_name, outfile_name, outfile_node_name from fnd_concurrent_requests where request_id=&requestid ;
where requestid is id of request for which you are not able to see log or out files. You should see output like
/u01/PRODBOX/log/l123456.req, host1,/u01/PRODBOX/out/o123456.out, host1 Update it according to your cloned Instance Variables.
Q: How to confirm if Report Server is Up & Running ?
Ans: Report Server is started by executable rwmts60 on concurrent manager Node & this file is under $ORACLE_HOME/bin .execute command on your server like
ps -ef | grep rwmts60
You should get output like
applmgr ....... rwmts60 name=REP60_VISION
where VISION is your Instance name.
Else you can submit a request like "Active Users" with display set to PDF, check output & log file to see if report server can display PDF files.
Q: What is difference between ICM, Std Managers & CRM in Concurrent Manager ?
Ans: # ICM stand for Internal Concurrent Manager, which controls other managers. If it finds other managers down , it checks & try to restart them. You can say it as administrator to other concurrent managers. It has other tasks as well.
# Standard Manager These are normal managers which control/action on the requests & does batch or single request processing.
# CRM acronym for Conflict Resolution Manager is used to resolve conflicts between managers & request. If a request is submitted whose execution is clashing or it is defined not to run while a particular type of request is running then such requests are actioned/assigned to CRM for Incompatibilities & Conflict resolution.
Q: What is use of Apps listener ? How to start Apps listener ? How to confirm if Apps Listener is Up & Running ?
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.
Start
******
In Oracle 11i, you have script adalnctl.sh which will start your apps listener. You can also start it by command
- lsnrctl start APPS_$SID (Replace sid by your Instance SID Name)
Confirm
********
execute below command
lsnrctl status APPS_$SID (replcae SID with your Instance Name)
so If your SID is VISION then use lsnrctl status APPS_VISION out put should be like
Services Summary...
FNDFS has 1 service handler(s)
FNDSM has 1 service handler(s)
The command completed successfully
Q: What is Web Listener ?
Ans: Web Listener is Web Server listener which is listening for web Services(HTTP) request. This listener is started by adapcctl.sh & defined by directive (Listen, Port) in httpd.conf for Web Server. When you initially type request like http://becomeappsdba.blogspot.com:80 to access application here port number 80 is Web Listener port.
Q: How will you find Invalid Objects in database ? How to compile Invalid Objects in database ?
Ans: using query
SQLPLUS> select count(*) from dba_objects where status like 'INVALID';
Compile
********
- using ADADMIN
- using utlrp.sql which is shipped with Oracle.
Q: How to compile JSP in Oracle Apps ?
Ans: Using ojspCompile.pl perl script shipped with Oracle apps to compile JSP files. This script is under $JTF_TOP/admin/scripts. Sample compilation method is
perl -v ojspCompile.pl --compile --quiet
Q: What is difference between adpatch & opatch ? Can you use both adpatch & opatch in Apps ?
Ans: Yes , we can use both adpatch and opatch in Apps. adpatch is an ad utility used for applying apps patches, whereas opatch is a utility used to apply rdbms patches.
Q: Where will you find forms configuration details apart from xml file ? What is forms server executable Name ?
Ans: Forms configuration at time of startup is in script adfrmctl.sh and appsweb_$CONTEXT_NAME.cfg (defined by environment variable FORMS60_WEB_CONFIG_FILE) for forms client connection used each time a user initiates forms connection.
- f60srvm is the forms executable name.
Q: What are different modes of forms in which you can start Forms Server and which one is default ?
Ans: There are two modes in which we can start forms.
- Socket Mode
- Servlet Mode.
By Default forms are configured to start in socket mode.
Q: How you will start Discoverer in Oracle Apps 11i ?
Ans: In order to start dicoverer you can use script addisctl.sh under $OAD_TOP/admin/scripts/$CONTEXT_NAME
or startall.sh under $ORACLE_HOME/discwb4/util (under Middle/Application Tier)
Q: How many ORACLE HOME are Oracle Apps and whats significance of each ?
Ans: There are three $ORACLE_HOME in Oracle Apps, Two for Application Tier (Middle Tier) and One in Database Tier.
# ORACLE_HOME 1 : On Application Tier used to store 8.0.6 techstack software. This is used by forms, reports & discoverer.
ORACLE_HOME should point to this ORACLE_HOME which applying Apps Patch.
# ORACLE_HOME 2: On Application Tier used by iAS (Web Server) techstack software. This is used by Web Listener &
contains Apache.
# ORACLE_HOME 3: On Database Tier used by Database Software usually 8i,9i or 10g database.
Q33. 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
Q: Where is plssql cache stored in Oracle Apps ?
Ans: sually two type of cache session & plssql stored under $IAS_ORACLE_HOME/Apache/modplsql/cache
Q: What happens if you don't give cache size while defining Concurrent Manager ?
Ans: Lets first understand what is cache size in Concurrent Manager. When Manager picks request from FND CONCURRENT REQUESTS Queues, it will pick up number of requests defined by cache size in one shot & will work on them before going to sleep. So in my views if you don't define cache size while defining CM then it will take default value 1, i.e. picking up one request per cycle.
Q: 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.
- Site Name
Q: How to retrieve SYSADMIN password ?
Ans: If forgot password link is enabled and sysadmin account is configured with mail id user forget password link else you can reset sysadmin password via FNDCPASS.
Q: 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: Admin server will always reside on machine where Concurrent Processing Resides.
Q: 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
GWYUID is defined in dbc i.e. Database Connect Descriptor file . It is used to connect to database by think clients.
Q: 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
Q: 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.
Q: 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
Q: 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.
Q: In a Multi Node Installation, How will you find which node is running what Services ?
Ans: You can query for table FND_NODES and check for column , SUPPORT_CP ( for Concurrent Manager) SUPPORT_FORMS ( for forms server) , SUPPPORT_WEB (Web Server), SUPPORT_ADMIN( Admin Server), and SUPPORT_DB for database tier.
You can also check same from CONTEXT File (xml file under APPL_TOP/admin)
Q: If your system has more than one Jinitiator, how will the system know, which one to pick. ?
Ans: When client makes a forms connection in Oracle Applications, forms client session uses configuration file defined by environment variable FORMS60_WEB_CONFIG_FILE also called as appsweb config file. These days this file is of format appsweb_$CONTEXT.cfg The initiator version number defined by parameter jinit_ver_name in this file will be used
Q: While applying Apps patch using adpatch, if you want to hide the apps password, how will that be possible ?
Ans: using flags=hidepw
Q: 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.
Q: 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.
Q: a. How to find OUI version ?
b. How to find Database version ?
c. How to find Oracle Workflow Cartridge Release Version ?
d. How to find opatch Version ?
e. How to find Version of Apps 11i ?
f. How to Discoverer Version installed with Apps ?
g. How to find Workflow Version embedded in Apps 11i ?
h. How to find version of JDK Installed on Apps ?
Ans: OUI
***
OUI stands for Oracle Universal Installer. In order to find Installer version you have to execute ./runInstaller -help ( From OUI location)
You will get output like
Oracle Universal Installer, Version 10.1.0.4.0 Production Copyright (C) 1999, 2005, Oracle. All rights reserved.
That means OUI version in above case is 10.1.0.4
OUI location is $ORACLE_HOME/oui/bin
DB
**
select * from v$version;
Oracle Workflow
***************
Log in to the database as the owf_mgr user and issue
select wf_core.translate('WF_VERSION') from dual;
Opatch
*******
$ORACLE_HOME/OPatch/opatch version
Apps
****
select RELEASE_NAME from fnd_product_groups;
Discoverer
**********
Discoverer with Apps installed in ORACLE_HOME same as 806 is usually 3i or 4i. To find Version login to Application Tier & go to $ORACLE_HOME/discwb4/bin and execute
strings dis4ws | grep -i 'discoverer version'
Workflow embedded in 11i
************************
Run following SQL from apps user ;
SQL>select TEXT from WF_RESOURCES where NAME='WF_VERSION';
You should see output like
TEXT
-----------------------
2.6.0
Which means you are on Workflow Version 2.6.0
You can also use script wfver.sql in FND_TOP/sql to find version of workflow in Apps.
JDK in Apps
***********
There might be multiple JDK installed on Operating System . Like JDK 1.3.1, 1.4.2 or 1.5 but in order to find which Version of JDK your Apps is using
Open your Context File $SID_$HOSTNAME.xml under $APPL_TOP/admin and look for variable
JDK_TOP oa_var="s_jdktop" what so ever value assigned against that parameter go to that directory & cd bin & execute command
./java -version so lets assume entry above is /usr/jdk then cd /usr/jdk/bin & ./java -version , you will see output like
java version "1.4.2_10"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_10-b03)
Java HotSpot(TM) Client VM (build 1.4.2_10-b03, mixed mode)
Which means you are using JDK 1.4.2 in Oracle Applications 11i.
Q: If by mistake you/someone deleted FNDLIBR can this executable be restored if Yes, How & if no, what will you do ?
Ans: Yes, you can restore FNDLIBR executables
Run adadmin on concurrent manager node
select option 2. Maintain Applications Files menu
then select 1. Relink Applications programs
when prompts for
Enter list of products to link ('all' for all products) [all]
select FND
when prompt for
Generate specific executables for each selected product [No] ? YES
select YES
& from list of executables select FNDLIBR
This will create new FNDLIBR executables.
Q: What is .pls files which you see with apps ?
Ans: pls file stands for plsql files. In apps patch these files contain code to create package spec or package body or both.
Q: What are .ldt & .lct files which you see in apps patch or with FNDLOAD ?
Ans: .ldt & .lct stands for Loader datafile & Loader configuration files, used frequently in migrating customization, profile options, configuration data, etc.. across Instances.
Q: What are .odf file in apps patch ?
Ans: odf stands for Object Description Files used to create tables & other database objects.
Q: What to find Form Server log files in forms ?
Ans: Form Server Start up log file default location is $OAD_TOP/admin/log/$CONTEXT_NAME/f60svrm.txt
Forms Run Time Diagnostics default location is $ORACLE_HOME/forms60/log/$CONTEXT_NAME
Q: How to convert pll to pld file or pld file to pll ?
Ans: Pll->Pld f60gen module=MSCOSCW3.pll module_type=library userid=apps/ module_access=file output_file=MSCOSCW1.pld script=yes
Pld -> pll f60gen module=MSCOSCW3.pld userid=apps/ module_type=library module_access=file output_file=MSCOSCW1.pll parse=y batch=yes compile_all=special
Q: 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.
Q: 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.
Q: 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.
Q: 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: Why does a worker fails in Oracle Apps Patch and few scenarios in which it failed for you ?
Ans: This question sounds stupid but this is asked quite often in Apps DBA Interview. Apps Patch worker can fail in case it doesn't find expected data, object, files or any thing which driver is trying to update/edit/modify. Possible symptoms may be underlying tables/objects are invalid, a prereq patch is missing , login information is incorrect, inconsistency in seeded data...
Q: 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
Q: 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.
Q: What is difference between COMPILE_ALL=SPECIAL and COMPILE=ALL while compiling Forms ?
Ans: Both the options will compile all the PL/SQL in the resultant .FMX, .PLX, or .MMX file but COMPILE_ALL=YES also changes the cached version in the source .FMB, .PLL, or .MMB file. This confuses version control and build tools (CVS, Subversion, make, scons); they believe you've made significant changes to the source. COMPILE_ALL=SPECIAL does not do this.
Q: What is ps -ef or ps command in Unix ? for work ex < 1 yr
Ans: ps is unix/linux utility or executable to find status of process. Used mainly to find if services/process is running or not.
Q: 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.
Q: 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 E-Business Suite.
Q: What is iAS Patch ?
Ans: iAS Patch are patches released to fix bugs associated with IAS_ORACLE_HOME (Web Server Component) Usually these are shiiped as Shell scripts & you apply iAS patches by executing Shell script. Note that by default ORACLE_HOME is pointing to 8.0.6 ORACLE_HOME and if you are applying iAS patch export ORACLE_HOME to iAS . You can do same by executing environment file under $IAS_ORACLE_HOME
Q: If we run autoconfig which files will get effected ?
Ans: n 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.
Q: 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.
Q: 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.
Q: How will you skip worker during patch ?
Ans: f in your adctrl there are six option shown then seventh is hidden option.(If there are seven options visible then 8th option is to Skip worker depending on ad version).
Q: Which two tables created at start of Apps Patch & drops at end of Patch ?
Ans: FND_INSTALLED_PROCESSES & AD_DEFFERED_JOBS are the tables that get updated while applying a patch mainly d or unified driver.
Q: How to compile an Oracle Reports file ?
Ans: Utility adrepgen is used to compile Reports. Synatx is given below
adrepgen userid=apps\ source = $PRODUCT_TOP\srw\filename.rdf dest=$PRODUCT_TOP\srw\filename.rdf stype=rdffile dtype=rdffile logfile=x.log overwrite=yes batch=yes dunit=character
Q: 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.
Q: What exactly happens when you put an Oracle Apps instance in maintenance mode ?
Ans: Maintenance mode provides a clear separation between normal runtime operation of Oracle Applications and system downtime for maintenance. 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)
Q: What is profile options, What are various type of profile options ?
Ans:
Q: If users complaining Oracle Applications 11i system is running slow , what all things you will check at broad level ?
Ans:
Q: Why appsutil directory under Database ORACLE_HOME used for ?
Ans: All the template files, startup scripts , XML files are maintained here .
Q: How to create User in Oracle Applications 11i ? Can you delete a User ?
Ans: New User can be created using security-->Define-->User menu. No , user cannot be deleted but can be end-dated.
Q: What is Single Sign On ? ( If you are using portal 3.0.9 or 10G )?
Ans: As name says Single-Sign On Server is set of services (Software) which enables login to Application once which will allow you to login to Ppartner Applications with no need to login again. Lets assume I have configured single SSO Server for Portal , E-Business Suite, Collaboration Suite plus some other other applications, Now if I login to any one of them & after that if I wish to login to other applications I should be able to login without supplying passwords again.
Q: 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
Q: There are lot of dbc file under $FND_SECURE, How its determined that which dbc file to use from $FND_SECURE ?
Ans: This value is determined from profile option "Applications Database ID".
The name can be picked from s_dbc_file_name in XML file.
Q:What is oraInventory ?
Ans:-oraInventory is repository (directory) which store/records oracle software products & their oracle_homes location on a machine. This Inventory now a days in XML format and called as XML Inventory where as in past it used to be in binary format & called as binary Inventory.
There are basically two kind of Inventory Global Inventory (also called as Central Inventory) and Local Inventory also called as Oracle Home Inventory.
Q:Global Inventory ?
Ans:-Global Inventory holds information about Oracle Products on a Machine. These products can be various oracle components like database, oracle application server, collaboration suite, soa suite, forms & reports or discoverer server . This global Inventory location will be determined by file oraInst.loc in /etc (on Linux) or /var/opt/oracle (solaris). If you want to see list of oracle products on machine check for file inventory.xml under ContentsXML in oraInventory (Please note if you have multiple global Inventory on machine check all oraInventory directories)
You will see entry like
HOME NAME="ORA10g_HOME" LOC="/u01/oracle/10.2.0/db" TYPE="O" IDX="1"/
...
...
Q:Local Inventory ?
Ans:-Inventory inside each Oracle Home is called as local Inventory or oracle_home Inventory. This Inventory holds information to that oracle_home only.
Q:Can I have multiple Global Inventory on a machine ?
Ans:- Quite common questions is that can you have multiple global Inventory and answer is YES you can have multiple global Inventory but if your upgrading or applying patch then change Inventory Pointer oraInst.loc to respective location. If you are following single global Inventory and if you wish to uninstall any software then remove it from Global Inventory as well.
Q:What to do if my Global Inventory is corrupted ?
Ans:- No need to worry if your global Inventory is corrupted, you can recreate global Inventory on machine using Universal Installer and attach already Installed oracle home by option
-attachHome
./runInstaller -silent -attachHome -invPtrLoc $location_to_oraInst.loc
ORACLE_HOME="Oracle_Home_Location" ORACLE_HOME_NAME="Oracle_Home_Name"
CLUSTER_NODES="{}"
Q: Do I need to worry about oraInventory during oracle Apps 11i cloning ?
Ans:- No, Rapid Clone will update both Global & Local Inventory with required information , you don't have to worry about Inventory during Oracle Apps 11i cloning.
Q. What is the database holding Capacity of Oracle ?
Ans:- database holding capacity of oracle 9i is 512 pb(peta bytes)
- database holding capacity of oracle 10 g is 8 trillion tera bytes
Q. How to find Operation System Version (Unix/Linux) ?
Ans:For solaris use command
uname -a
You will see output like
For Solaris SunOS servername 5.8 Generic_117350-23 sun4u sparc SUNW,Sun-Fire-V240
For RedHat Linux use command
cat /etc/*release*
You will see output like
Red Hat Enterprise Linux AS release 3 (Taroon Update 6)
Which means you are on Solaris 5.8 or Linux AS 3 resp.
Q. How to find if your Operating System is 32 bit or 64 Bit ?
Ans:For solaris use command
isainfo -v
If you see out put like
32-bit sparc applications
That means your O.S. is only 32 bit but if you see output like
64-bit sparcv9 applications
32-bit sparc applications
above means your o.s. is 64 bit & can support both 32 & 64 bit applications
Q. Can I run 64 bit application on 32 bit Operating system ?
Ans:You can run 32 bit application (like oracle application server, web server, all oracle application server are 32 bit ) on both 32 /64 bit operating system but a 64 bit application like 64 bit database can run only on 64 bit operating system.
Q. How to find if your database is 32 bit or 64 bit(Useful in applying Patches) ?
Ans:execute "file $ORACLE_HOME/bin/oracle" , you should see output like
/u01/db/bin/oracle: ELF 64-bit MSB executable SPARCV9 Version 1
which means you are on 64 bit oracle
If your oracle is 32 bit you should see output like
oracle: ELF 32-bit MSB executable SPARC Version 1
Now you know what should be bit of patch to download
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.