Pages

Thursday, August 16, 2012

Add CUSTOM TOP to R12 via Linux

Hi All

As you already know there is an option to add CUSTOM TOP to R12 via EBS Site Map -> AutoConfig.

Here the 2 ways to do it via Linux.
*** Pay attention : The Application need to be created before this action plans.

1. Stop APPL Tier
2. Login with application user to Linux
3. Edit $CONTEXT_FILE. Add the following line in the end of tops list:
<CUSTOM_TOP oa_var="s_customtop" oa_type="PROD_TOP" oa_enabled="FALSE">$APPL_TOP full path /custom/12.0.0</CUSTOM_TOP>

4. Create CUSTOM folder in $APPL_TOP: cd $APPL_TOP; mkdir CUSTOM folder
5. Create the following sub directories ( if need ):

./admin
./admin/sql
./admin/odf
./admin/template
./admin/driver
./forms
./forms/US
./html
./lib
./mds
./mesg
./patch
./sql
./bin
./help
./java
./log
./media
./out
./reports
./reports/US

6. Run AUTOCONFIG in APPL Tier
7. Re-login with application user to Linux and check that the CUSTOM TOP exists: echo $CUSTOM
8. Start APPL Tier

*** Some times this way not working properly after some custom changes and the custom line removed from $CONTEXT_FILE after AUTOCONFIG .So You can use the second action plan : 

1. Stop APPL Tier
2. Login with application user to Linux
3. Go to $AD_TOP/admin/template
4. Backup adxmlctx.tmp  : mv adxmlctx.tmp adxmlctx.tmp_bck
5. Add the following line in the end of tops list:
<CUSTOM_TOP oa_var="s_customtop" oa_type="PROD_TOP" oa_enabled="FALSE" default="%s_at4%%/%custom%/%12.0.0">%s_customtop%</CUSTOM_TOP>
6. Create CUSTOM folder in $APPL_TOP: cd $APPL_TOP; mkdir CUSTOM folder
7. Create the following sub directories ( if need ):

./admin
./admin/sql
./admin/odf
./admin/template
./admin/driver
./forms
./forms/US
./html
./lib
./mds
./mesg
./patch
./sql
./bin
./help
./java
./log
./media
./out
./reports
./reports/US

8. Run AUTOCONFIG in APPL Tier
9. Re-login with application user to Linux and check that the CUSTOM TOP exists: echo $CUSTOM
10. Start APPL Tier

Good Luck ...

No comments:

Post a Comment