Leave a Comment:
18 comments
Hi Atul,
What is the difference between template files (eg, httpd.conf) in these locations?
FND_TOP/admin/template and
IAS_ORACLE_HOME/appsutil/template/Apache/Apache/conf ?
Autoconfig uses the template file under FND_TOP/admin/template and not the one under IAS_ORACLE_HOME.
ReplyHi Anonymous User,
Thanks for pointing this Out . There is no httpd.conf or jserv.conf in localtion $FND_TOP/admin/template infact there you have jserv_ux.conf jserv_nt.conf or httpd_ux.conf or httpd_nt.conf and these files will be used to create template file itself under IAS_ORACLE_HOME/appsutil/template/Apache/Apache/
based on O.S. nt ot unix .
Do let me know if you think otherwise then I ‘ll look further
Atul
ReplyHi Atul,
Not sure how i commented as anonymous in my previous comment.
Anyway, when autoconfig runs, it picks up the driver file (FND_TOP/admin/driver/fndtmpl.drv), gets to know the list of template files and its locations…
line from fndtmpl.drv
fnd admin/template httpd_ux_ias1022.conf INSTE8 s_iASconfig_home/Apache/Apache/conf httpd.conf
From here, it picks up template file “httpd_ux_ias1022.conf” and values from context file (SID_HOSTNAME.xml) and creates a configuration file under s_iASconfig_home/Apache/Apache/conf httpd.conf
My question is : what is the new template file under $IAS_ORACLE_HOME/appsutil/template/Apache/Apache/conf
for and where it is used ?
-Arunkumar
ReplyHey Arun,
Nice to see your comments, its really nice to see some good comments which might be helpful to others as well. I ‘ll dig it more on how this all working . I know its quite tough to track as things are changing drastically in Apps.
Your inputs are really valuable & will in unwrapping Autoconfig . Let me open adconfig.pl script & do R&D in a day or two .
Need your valuable inputs in other posts as well , as & when you get time .
Atul
ReplyAtul,
Not a problem. You have a good cause and i am helping. Its a mutual knowledge sharing exercise 🙂
Coming to the point, you had mentioned httpd.conf is created based on the template under IAS_ORACLE_HOME/appsutil…
However,this is not the case.
Always, Autoconfig uses the template files under $PROD_TOP/admin/template
in this case FND_TOP/admin/template.
You can cross check this by executing adtmplreport.sh
This script tells which template file is picked to create a configuration file when u run autoconfig (good script uh..)
Syntax is
adtmplreport.sh contextfile={location of your xml file} target=$IAS_ORACLE_HOME/Apache/Apache/conf/httpd.conf
Check the logfile and you will see where exactly it has picked the template from.
Lets continue to dig whats the template file under IAS_ORACLE_HOME used for. Maybe other readers might have an answer !!
-Arunkumar
ReplyHi Atul,
How to preseve customizations while executing autoconfig.
can u plz list the steps so it will be useful mainly for beginners like me.
Thanks,
ReplyHi Atul,
How to preseve customizations while executing autoconfig.
can u plz list the steps so it will be useful mainly for beginners like me.
Thanks,
ReplyFor preserving customizations you can use Begin Customization & end Customizations or enter those values in template files.
Atul
ReplyThis post might come a bit late and may have been placed somewhere else by now.
In the FND_TOP/admin/template directory you can make a directory called custom. copy the template file you wish to modify into this directory. Edit the template file in your custom directory and run autoconfig. You can also seen metalinnk note: 165195.1 for more information.
Hi Atul,
As per Arun autoconfig will use $FND_TOP/admin/template
And as you posted earlier you are saying $IAS_ORACLE_HOME/appsutil/template/Apache/Apache
Please can you be clear on this and give a exact template location which autoconfig uses.
Thanks,
Ashok
Hi Atul/Arun,
When autoconfig uses $FND_TOP/template files then what is the usage of $IAS_ORACLE_HOME/appsutil/template/Apache/Apache template files.
Please let us know the exact usage of these files.
Thanks,
Ashok
Ashok
Use adtmplreport.sh to find out which templetate file any configuration file is using
for example to find appsweb_$CONTEXT_NAME.cfg template file run below
$AD_TOP/bin/adtmplreport.sh contextfile=$CONTEXT_FILE target=$COMMON_TOP/html/bin/appsweb_$CONTEXT_NAME.cfg
Else chweck metalink Note # 270519.1 Customizing an AutoConfig Environment
Mentioned in good metalink notes list at http://www.teachmeoracle.com/forum/viewtopic.php?p=3653
I’ll try to find out reason for two template files for same configuration
ReplyHi
According to my knowledge it will pick from the $FND_TOP/admin/template but as Ashok words iam also in a diloma
Once tell us which one need it will take
Regards
Dinesh Reddy
Dinesh,
To find template file associated with any configuration file
AD_TOP/bin/adtmplreport.sh contextfile=CONTEXT_target=configurationfile
Reply[…] Autoconfig in Oracle Apps R12 adautocfg.sh Posted in November 17th, 2009 byAtul Kumar in autoconfig, r12 Print This Post Autoconfig is tool/utility to reconfigure your Oracle Application configuration files using context (XML file) and template files, more information here and here […]
Reply