Register for Apps DBA Training
For Apps DBA Beginner's
  • Start From Here
  • Order of Apps Study
  • 11i Software
  • Apps Architecture
  • Install Apps 11i
  • Install Apps 11i Part II
  • Startup/Shutdown
  • Request Flow in Apps
  • Various TOP's
  • Cloning Basics
  • Cloning I
  • Cloning II
  • Autoconfig Basics
  • Autoconfig Config File
  • Template Files in Autoconfig
  • Discoverer Overview
  • Workflow Mailer in Apps
  • Printing Overview
  • Configuring Printers
  • Pasta Printing
  • Performance Overview
  • Install 10g Application Server
  • Apps DBA Certification
  • Common DBA Topics
  • Scared of RAC ?
  • Install RAC on your laptop part I
  • Step by Step build RAC part II
  • Step by Step install RAC using VMWare part III
  • Install Oracle RAC Database part IV
  • oraInventory Basics
  • Install Database 10.2.0.1
  • Upgarde DB to 10.2.0.2
  • Fusion
  • Is Fusion a conFusion ?
  • Fusion Middleware Overview I
  • Fusion Middleware Overview II
  • Application Integration Architecture
  • SOA Install Part I
  • SOA Install Part II
  • SOA Install Part III
  • Install BPEL Process Manager
  • Apps Integration OID/SSO
  • Management Qs for Apps Integration with SSO/OID
  • 25 things your DBA should know for Apps/SSO integration
  • Identity Management
  • COREid Overview
  • Oracle COREid or Idm & Access Mgmt overview
  • Installing Access Manager 10.1.4
  • WebGate request flow
  • Identity Manager Architecture
  • Installing Identity Manager
  • OAS-SSO Overview
  • OID Overview
  • OID Basics II
  • OID Cluster
  • OID Integration with Other LDAP Servers overview
  • Integrate OID with AD I
  • OID Replication Overview
  • Multi Master OID Replication
  • Migrate OID/SSO to new Host
  • Apps R 12
  • Socket or Servlet in R12
  • Startup/Shutdown Scripts in R12
  • Unified APPL_TOP
  • Apps R 12.0.1
  • Difference between 11i & R12 Technical
  • Prepare for R12 Installation
  • Install VMWare on Windows for Linux Install
  • Install Linux for Apps R12 Install
  • Install Apps R12 on Linux Virtual Machine
  • R12 Upgrade & database
  • R12 Fils System Changes
  • R12 Release Date
  • 10g Application Server
  • 10g AS Overview
  • Installing 10g AS
  • Start/Stop 10g AS
  • Web Cache Basics
  • Single Sign-On Overview
  • OID Overview
  • Cloning 10g AS
  • 10g AS Middle tier Cloning & Overview
  • OID Cluster Imp. Points
  • CPU Patch, Infra Tier
  • CPU Patch, Middle Tier
  • AS Guard / DR Overview
  • Oracle Apps 11i
  • My Site
  • Apps DBA Scripts
  • Apps DBA Interview Q's
  • 11i JVM's
  • Apps Training in India
  • 11i Health Check
  • Good Metalink Notes
  • About Me  
  • For Advanced Apps DBA
  • URL Firewall in DMZ Setup
  • Upgrade Apps to 11.5.10.2
  • Load Balancer Overview
  • Load Balancer Config
  • HTTP layer Load balancing in Apps 11i
  • Dataguard Overview
  • Configure Dataguard / Standby database
  • Standby Site for Apps 11i
  • How to change Hostname on Apps Instance
  • SSL Overview in Apps
  • Configure SSL to Web Server
  • Key Points for SSL in Apps
  • Reduce Patch Timing
  • Reduce Patch Timing II
  • Shared APPL_TOP Overview
  • Configure Shared APPL_TOP
  • 11i Database Upgrade I
  • 11i Database Upgrade II
  • Change Session TimeOut
  • Patching
  • Apps Patch Basics
  • Apps Patch Basics II
  • Apply Apps Patch
  • CPU Overview
  • Steps to Apply CPU Patch
  • CPU Patch on Infra Tier
  • CPU Patch on AS Middle Tier
  • Troubleshooting
  • Web Server TS Part I
  • Web Server TS Part II
  • CM Troubleshooting
  • 10g Discoverer with Apps
  • Discoverer Bascis in Apps
  • Discoverer 10g Upgarde Basics
  • Discoverer 10g Configuration Steps with 11i
  • Collaboration Suite
  • Collaboration Suite
  • Calendar Overview
  • Sync Calendar from Mobile I
  • Sync Calendar from Mobile II
  • OCS Mail Architecture
  • Apex / HTMLDB
  • Install Apex 2.2
  • Apex with SSO part I
  • Apex with SSO part II
  • SSO Authentication Schemes
  • Certification
  • Possible Certifications for DBA
  • Apps DBA Certification
  • 1Z0-311-OCA-10g OAS Overview
  • 1z0-312-OCP-10g OAS Overview
  • 1z0-312 - Managing Customization and Topology
  • 1z0-312 - Cloning and Staging OAS
  • Apps DBA Jobs
  • Working / Apps DBA in UK
  • Oracle Recruiting Apps DBA's
  • Apps DBA Jobs Updated Regularly
  • Apps Job at Satyam
  • Useful Links
  • Good Metalink Notes
  • petefinnigan's Oracle Security
  • Linux Basics
  • Atul Mehta's Oracle Links
  • Others
  • Apps DBA Training Institute
  • 1 Year Journey of this Blog
  • How To ?
  • Change APPS Password
  • Preserve Customizations
  • Blog Roll
    Apps / E-Business Suite
  • Steven Chan Apps
  • Anil Passi Technical
  • Fadi Apps DBA
  • Senthil Apps DBA
  • Bas Klaassen EBS DBA
  • Sam Apps DBA
  • Black Geek Apps DBA
  • Bandari Apps
  • Vikram ERP Architect
  • OraBiz
  • Eric Core DBA
  • SOA
  • Navdeep Saini Apps DBA
  • tugdualgrall Web Services
  • Mohan Dutt's Apps Certification
    IdM
  • Nishant Kaushik's IdM
  • Nulli Blog, OAM
  • Identity Musing
  • Identity nd Access Management
    Core DBA
  • Vidya Bala DBA
  • Sabdar DBA
    Data Management
  • Ivan Pellegrin Data Management


  • We have moved to http://onlineAppsDBA.com kindly check http://onlineAppsDBA.comin future
    Autoconfig in Apps template files Contd....
    Friday, October 06, 2006
    Register for R12 upgrade
    If you are reading Autoconfig post on this site read my previous post to understand about Autoconfig

    Autoconfig Basics
    Unwrapping Autoconfig Config file, XML file or Context File
    Autoconfig Questions on My Site

    Now lets understand how Autoconfig populate/creates files , In order to understand whole process you as apps dba need to understand template files under each product top or tech stack directory in oracle Applications 11i.

    These template directory are under each top as well as under $FND_TOP/admin/template . In order to explain here I am taking example on how Apache (Oracle Web Server) related files are created when you run Autoconfig.

    If you go to $FND_TOP/admin/template directory, all template files related to iAS ORACLE HOME like http.conf , jserv.conf, zone.properties .. are stored in this their respective directories under template directory.

    So template file to create httpd.conf is stored in $FND_TOP/admin/template
    similarly template file for jserv.conf will be in
    $FND_TOP/admin/template

    In these directories you will see file like httpd.conf or jserv.conf with parameter like
    ApJServGroup OACoreGroup 1 1 %s_weboh_oh%/Apache/Jserv/etc/jserv.properties (in jserv.conf under template directory)
    or
    ServerAdmin applmgr@%s_domainname% ( in httpd.conf under template directory)

    Now when Autoconfig executes , its picks up these files & replaces parameters like
    %s_weboh_oh% & %s_domainname% from Autoconfig Configuration File i.e. Context file or XML file of format SID_HOSTNAME.xml (Discussed in previous post)

    So in my case for vision instance in xml file has these values
    s_weboh_oh is /u01/applmgr/VIS11i/ora9/iAS
    s_domainname is co.in

    that's how all my configuration files are created on execution of Autoconfig .
    Now there is one issue on executing Autoconfig file i.e. If you have put in some customization in any of these files it will be overwritten by Autoconfig.

    How to preserve customization ...
    important parameter/tags in xml context file
    How to change Hostname or Domain name of Apps Server
    Coming in future posts ....

    Related :
    http://becomeappsdba.blogspot.com/2007/09/preserving-customizations-in-oracle.html

    Labels: , ,


    We have moved to

    http://onlineAppsDBA.com

    kindly check onLineAppsDBA.com in future

    add to del.icio.usdel.icio.us  ¦  digg thisDigg This  ¦  My Yahoo!My Yahoo  ¦  RedditReddit  ¦  add to BlinkListBlinkList   ¦  Furl ItFurl It  ¦  Email This Email This  ¦     Leave Your Comments
    posted by Atul Kumar @ 2:55 PM  
    27 Comments:
    • At 5:24 PM, Anonymous Anonymous said…

      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.

       
    • At 7:35 PM, Blogger Atul Kumar said…

      Hi 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

       
    • At 8:26 PM, Blogger Arunkumar said…

      Hi 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

       
    • At 8:44 PM, Blogger Atul Kumar said…

      Hey 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

       
    • At 9:10 PM, Blogger Arunkumar said…

      Atul,
      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

       
    • At 6:41 AM, Anonymous Anonymous said…

      Hi 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,

       
    • At 11:00 AM, Blogger Atul Kumar said…

      Hi ,
      I'll take it up in first week of Jan 07..

      Atul Kumar

       
    • At 7:21 AM, Anonymous Anonymous said…

      Hi 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,

       
    • At 9:44 AM, Blogger Atul Kumar said…

      For preserving customizations you can use Begin Customization & end Customizations or enter those values in template files.

      Atul

       
    • At 2:46 PM, Blogger Sibrand said…

      This 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.

       
    • At 2:48 PM, Blogger Atul Kumar said…

      Nice one sibrand

       
    • At 4:59 AM, Blogger ashok said…

      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

       
    • At 5:04 AM, Blogger ashok said…

      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

       
    • At 4:45 PM, Blogger Atul Kumar said…

      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

       
    • At 7:19 PM, Blogger Dinesh Reddy said…

      Hi
      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

       
    • At 9:00 PM, Blogger Atul Kumar said…

      Dinesh,
      To find template file associated with any configuration file

      AD_TOP/bin/adtmplreport.sh contextfile=CONTEXT_target=configurationfile

       
    • At 12:14 AM, Anonymous Ali said…

      Hi Atul,

      Iam looking for diff/changes between 11.5.8 and 11.5.10 , and 11.5.10 and r12.
      .

      Can u pls.tell me where can i find this stuff.I have searched on metalink but couldn't find much.

      Regards,
      Ali.

       
    • At 4:20 PM, Blogger funin said…

      Hello Arun/Atul,

      what is the new template file under $IAS_ORACLE_HOME/appsutil/template/Apache/Apache/conf for and where it is used ?

      I would like to clarify the above question to my understanding. Please let me know your thoughts!!.

      The files under $IAS_ORACLE_HOME/appsutil/template/Apache/Apache/conf are dynamically templatized during adpreclone.
      On executing adcfgclone.pl it gets instantiated, using $IAS_ORACLE_HOME/appsutil/driver/instconf.drv file.


      The autoconfig exactly works on the way, which Arun mentioned in one of his earlier post.

      Thanks,
      Anoj Wilfer.

       
    • At 4:32 PM, Blogger funin said…

      Hello Arun/Atul,

      what is the new template file under $IAS_ORACLE_HOME/appsutil/template/Apache/Apache/conf for and where it is used ?

      I would like to answer the above question to my understanding. Please let me know your thoughts too!!.

      The files under $IAS_ORACLE_HOME/appsutil/template/Apache/Apache/conf are dynamically templatized during adpreclone.
      On executing adcfgclone.pl it gets instantiated, using $IAS_ORACLE_HOME/appsutil/driver/instconf.drv file.


      The autoconfig exactly works on the way, which Arun mentioned in one of his earlier post.

      Thanks,
      Anoj Wilfer.

       
    • At 4:39 PM, Blogger Anoj Wilfer said…

      Hello Arun/Atul,

      what is the new template file under $IAS_ORACLE_HOME/appsutil/template/Apache/Apache/conf for and where it is used ?

      I would like to answer the above question to my understanding. Please let me know your thoughts too!!.

      The files under $IAS_ORACLE_HOME/appsutil/template/Apache/Apache/conf are dynamically templatized during adpreclone.
      On executing adcfgclone.pl it gets instantiated, using $IAS_ORACLE_HOME/appsutil/driver/instconf.drv file.


      The autoconfig exactly works on the way, which Arun mentioned in one of his earlier post.

      Thanks,
      Anoj Wilfer.

       
    • At 9:19 AM, Anonymous Anonymous said…

      hi atul,
      this is anu,i am working smalcompany ,basicaly i am java programer i am not intersted i did my DBA in hyderabad,shall i ask any kind of doughts reg DBA ,can u help me .

       
    • At 9:24 AM, Blogger ashwinikalluri said…

      hi atul,

       
    • At 9:26 AM, Blogger ashwinikalluri said…

      hi atul

       
    • At 9:30 AM, Blogger ashwinikalluri said…

      hi atul,

       
    • At 5:30 AM, Blogger ashwinikalluri said…

      hi atul,
      this is anu ,
      i have only 2+ exp how can i get the job can u tell any kind of info ......


      bye
      (anu)

       
    • At 12:42 AM, Anonymous Anonymous said…

      Hi Atul,

      I am Vicky, I need a help. I am working on EBS R12. Whenever i am running the autoconfig, my custom_top entries are wiped off.
      Instance is R12X. Please suggest me how to avoid this problem. I know in some file we need to add custom entry so that whenever I run auoconfig it should not touch the custom TOP.
      Thanks
      Vicky

       
    • At 7:53 AM, Blogger Bilal said…

      Hi atul,

      you have said "If you go to $FND_TOP/admin/template directory, all template files related to iAS ORACLE HOME like http.conf , jserv.conf, zone.properties .. are stored in this their respective directories under template directory."
      but when i checked the $FND_TOP/admin/template directory,i could not find the httpd.conf however there are other files related to httpd.cong like httpd_nt.conf,httpd_ux.conf,httpd_ux_pls.conf etc, which is the exact template file from which autoconfig will read

       
    Post a Comment
    << Home
     
    About Me


    Name: Atul Kumar
    Home: London, United Kingdom

    About Me: I am Independent Oracle consultant. If you wish to hire me on Contract or to Quote on project basis contact me at
    atul @ onlineappsdba.com

    See my complete profile

    View Atul Kumar's profile on LinkedIn

    E-mail Subscription

    Enter your email address:

    Delivered by FeedBurner

    Search
    Only search this Blog
    Categories
  • Advanced Topics
  • Application Server
  • Apex / HTMLDB
  • Apps 11i
  • Apps R12
  • Autoconfig
  • Basics
  • Certification
  • Cloning
  • Discoverer
  • Fusion
  • OID
  • Patching
  • Printer
  • Single Sign-On
  • Useful Sites & Forum
  • Previous Post
    Archives
    Add On
     

    Add to Technorati Favorites

     

     

    Add to Google

     

    Add to My AOL

     

    Subscribe in Bloglines

     

    Subscribe in NewsGator Online

     
    Powered by



    Hits Since 30, Jul 06

    Blog Counter

    Technology Blogs - Blog Top Sites
    Comments
    ADs
    Copyright © 2006 teachmeoracle.com All rights reserved Presented by Atul Kumar