Sunday, February 12, 2012

ICON Directory Path in Oracle Application Server 10g - By Khurram


How to Set ICON Directory Path in Oracle AS - 10g


1.       Go to APPS Server Base Directory
2.       Find “registry.bat” on the following location  Oracle_HOME/forms/java/oracle/forms/
3.       Do following Configuration
o    Open registry and change the Apps Server IP & Port accordingly
o    default.icons.iconpath=http://your_IP:Your_Port/forms/icons
o    default.icons.iconextension=gif
4.        go to "Oracle_HOME"/forms/server/form.config
o   add the following line and change accordingly (you can change “c:\icons/$1” path accordingly)
o    AliasMatch ^/forms/icons/(..*) "c:\icons/$1"
5.       To verify restart the Apps Services & enter following line
http:// your_IP:Your_Port /forms90/icons/any_icon_name.gif

Sunday, January 1, 2012

What Is Oracle Patch & How to Apply By Khurram

what is oracle patch & how to apply


patch is program (set of instructions) to fix a particular problem or enhance/ add a particular feature in existing program/product/software

in my view patch is refer as a form, rreport, routine, module, application up gradation subset. Which is of different type. e.g
·         standalone patch
·         mini pach
·         family patch
·         module up gradation patch
·         maintenance patch
·         release up gradation patch – rup

types of file in patch

cxxxx.drv         the ‘c’ or copy driver
dxxxx.drv         the ‘d’ or ‘database’ driver
gxxxx.drv         the ‘g’ or ‘generate’ driver  -form rep chart
jxxxx.zip         jar file

you can download patch file using metalink account from oracle.support


applying/installing patch

recommended always apply patch on test instance… so make a fresh clone of prod server on test instance

1.  log out all user from apps, shutdown the concurrent manager
2.  set the environment variable on application instance.
3.  enable maintenance mode using adadmin or adpatch options=hotpatch (do not bring application in maintenance mode)
unzip the patch (you can unzip file in windows environment & then move the patch folder on linax platform using any ftp tool)
4.  read the readme file and perform all pre-requsite (such as apply prerequisite patches)
5.  the sequence of applying patche in patch file is as under…
a.  first apply cxxxx.drv
b.  then install dxxxx.drv
c.  then install gxxxx.drv
6.  to start patching process type adpatch (press enter key)



7.  adpach’s application prompt default answer included in [] symbol to accept press enter key.
8.  adpatch.log file is a default log file but however it is highly recommended to name log file as per patch file name like p21345_r12_linux.log my recommendation is also mention date with patch log file
9.  some time patch process is too long.. so u r requested to provide 1 or multiple e-mail address for notification… but it is not mandatory
10.select the batch size default is 1000.. this prompt allows you to specify how many rows will be updated at a time. it is recommended that you accept the default unless you know your system well.
11.enter the name of the oracle applications environment that this appl_top belongs to. e.g prod or test
a.  applications environment name [prod]
12.for other question chose default values if you have not enough knowledge about your system
13.autopatch needs the password for your 'system' oracle schema (note provide operating system user password who is the owner of oracle application)
14.autopatch needs the password for oracle application [apps] (note provide apps user password)
15.enter the directory where your oracle applications patch has been unziped
16.please enter the name of your autopatch driver file: type the name of driver file that needs to be used for this session of adpatch. for example, d23456.drv
17.perform post configuration step in readme file as per recommendation
18.after completing must check the patch log file
19.disable maintenance mode using adadmin
20.start application services
21.and check the desired functionality

EBS - R12 MAINTENANCE MODE – (ADADMIN) By Khurram

maintenance mode – (adadmin)

when you are going to install a patch on application the recommended option is that enable maintenance node. to bring the application in maintenance mode. when you enable or disable ‘maintenance mode’, adadmin will execute the script.



enable maintenance mode:
@>/ad_top/patch/115/sql/adsetmmd.sql enable

disable maintenance mode:
@>/ad_top/patch/115/sql/adsetmmd.sql disable

to verify if the environment is in maintenance mode or not execute following script.

select fnd_profile.value('apps_maintenance_mode') as status
from dual;

if the status
“maint” =       maintenance mode has been enabled and the users will not be able to login.
“normal”       =       maintenance mode has been de-activated and the users will be able to login.



how to enable the maintenance mode





set the environment variable on application instance.
run the ad administration utility by typing adadmin on console window. chose option 5 from the selection menu.

1.generate applications file menu.
2.maintain applications file menu.
3.compile/reload applications database entities menu.
4.maintain applications database entities menu.
5.change maintenance mode.
6.exit ad administration.