How to create weblogic domain template using weblogic template builder?

Domain templates are used to create(or extend weblogic server domains) with pre-configured resources such as JDBC, security realms, external libraries, log4j components. So when you create new domain you do not need to go to server console and create resources such as data source, etc.  While creating domain by using template you will have those resources configured already for you.

Lets say, you have a team of 10 people and you like everybody to have same configuration, then create a template share with the team. Even it is very much useful if you have new member in the team.

Domain templates can be built in many ways. This blog covers how to built using weblogic domain template builder.

Lets get started.

Step 1:

Go to Start Menu->All programs->weblogic10gR3->Tools->Domain Template Builder
or

go to c:\bea\wlserver_10.3\common\bin in command prompt. and type config_builder.cmd












Step 2:

Select create a domain template. If you are creating template for the first time.
Select create extension template if you are extending a existing template.

We will go with create domain template.

Step 3: Select a Template tab. Click on Basic Weblogic Server domain option. Click next











Step 4: Enter the name of template and other info. Click next.












Step 5:  Using Add Button, Select libraries you want to add under lib folder. copy jdbc data sources you would like to have under config/jdbc folder. If you want to have log4j configuration, copy log4j.xml under domain_root folder.

Click next










 Step 6: Select data base for the domain and click next.











Step 7: Enter Admin Server Name and port numbers. Click next.










Step 8: Enter username and password. Click next. Select No if you don want to add users/groups/roles











Step 9: Click next










Step 10: Click next












Step 11: Click next











Step 12: Click Create











Step 13: Click done.










This will create a domain template(jar file) which can be used to create domain.

When creating domain using domain config wizard, do select  2nd option which is "base this domain on existing template" as shown below and browse the template jar file and continue.











Good luck. Please let me know if you have any issues.

44 comments:

  1. Hi,

    I am using Oracle Communication and Services Gatekeeper which comes with 5 default template. one of them is with name BASIC HA. I want to change it so that i could configure RAC datasources. How i could do it?

    Regards

    ReplyDelete
  2. Hi,

    I tried to customize domain with "Domain template Builder" but no success.

    In-fact problem is that the available template only allow Non-RAC datasource configuration but i want that when i start template for domain configuration it allow multi datasource option.

    Now tell how i can configure existing template to start accepting multiple datsources rather then one.

    Regards,
    imran

    ReplyDelete
  3. which weblogic version are you using?

    ReplyDelete
  4. Thank you Ananth. It was very helpful.

    ReplyDelete
  5. How does it work backward, to generate an identical domain in silent mode? Do I need wlst to do it?

    ReplyDelete
  6. Are there any special steps to consider to reuse this domain template on a new server?
    I have created a domain template, and can reuse it with Domain Config Wizard on same server, but on another server it gives me the following error:

    CFGFWK-60816: Please select a valid domain template

    ReplyDelete
  7. I get the same error. Domain template created on linux with 10.3.3, error is seen on windows: 10.3.2. Haven't tried another linux box, same version 10.3.3.

    tnx curt

    ReplyDelete
  8. FYI, you must use the same version (exact) as was used to create the domain template. We used 10.3.3 to create the domain template and in inadvertently 10.3.2 to test new domain creation..

    ReplyDelete
  9. Hii,
    Is there any api available with which we can create a template from an existing domain programatically.

    -Archana

    ReplyDelete
  10. createDomain() can be used... need to have WLST installed.. refer: http://download.oracle.com/docs/cd/E14571_01/web.1111/e13813/reference.htm#i1003448

    ReplyDelete
  11. thank u for detail instructions to work on weblogic server ,

    ReplyDelete
  12. Hi ,
    I have issue in creating domain from template Jar file.
    I did the following steps in the proces.

    1) created domain (EPS name) in my local sytem.
    2) created template( domain jar file) from this domain. (set some domain specific environment values in setDomainEnv file.
    3) now i tried to create another domain from above jar file.

    issue: setDomainEnv file does not retain environment values in new domain.

    this is the ex. value suppose to be retain.

    set JAVA_OPTIONS=-Desp.propDir=%LONG_DOMAIN_HOME%\props -Desp.logDir=%LONG_DOMAIN_HOME%\logs -Dcomcast.env=DEV

    can you please help me in this, how to resolve the issue.

    ReplyDelete
  13. These programs have been structured in a way to provide general medical education as
    well as specific physical therapy courses. X-rays and an MRI are recommended to be sure there's nothing more significant going on, like a herniated vertebral disc, or a fractured vertebra. Step 3: Determine the goal(s) you would like to achieve during each session.
    Also visit my site ; wallinside.com

    ReplyDelete
  14. Thanks a bunch for sharing this with all people you really recognise what you're talking about! Bookmarked. Please also discuss with my web site =). We could have a link trade contract among us

    my web site ... registry cleaner

    ReplyDelete
  15. Oh my goodness! Impressive article dude! Thank you so much,
    However I am encountering troubles with
    your RSS. I don't understand the reason why I cannot join it. Is there anybody getting identical RSS problems? Anyone that knows the answer can you kindly respond? Thanx!!

    Also visit my page ... registry cleaner

    ReplyDelete
  16. I love what you guys are up too. This type of clever work and exposure!
    Keep up the superb works guys I've added you guys to my blogroll.

    Feel free to visit my page: cna state exam practice test

    ReplyDelete
  17. When I originally commented I clicked the "Notify me when new comments are added" checkbox and now each time
    a comment is added I get several emails with the same comment.
    Is there any way you can remove me from that service? Many thanks!


    Also visit my web blog; how long to become a cna

    ReplyDelete
  18. Have you ever thought about adding a little bit more
    than just your articles? I mean, what you say is fundamental and
    everything. Nevertheless think of if you added some great visuals or video clips to give
    your posts more, "pop"! Your content is excellent but with pics and clips, this website could certainly be
    one of the very best in its niche. Very good blog!



    Have a look at my page - how to become a certified phlebotomist

    ReplyDelete
  19. Peculiar article, just what I was looking for.

    Also visit my web-site ... ucla phlebotomy classes

    ReplyDelete
  20. Do you need to enhance and accessorize your outfit or style?
    Or maybe you wish purchasing a gift for the pal? In either case, fairly useful.


    Have a look at my web-site tag Heuer outlet orlando

    ReplyDelete
  21. Greetings! Very helpful advice within this post! It is the little changes
    that make the biggest changes. Many thanks for sharing!


    My blog online classes for phlebotomy

    ReplyDelete
  22. Good day I am so happy I found your site, I really found you by mistake,
    while I was looking on Aol for something else, Nonetheless I am here now and would just like to say kudos for a incredible post and a all round interesting blog (I also love the theme/design), I don’t
    have time to read it all at the minute but I have book-marked it and also added in
    your RSS feeds, so when I have time I will be back to read more,
    Please do keep up the great jo.

    Here is my webpage cna certification course

    ReplyDelete
  23. WOW just what I was searching for. Came here by searching for malaise

    my weblog :: job description for a cna

    ReplyDelete
  24. It's going to be ending of mine day, but before end I am reading this fantastic piece of writing to increase my knowledge.

    Feel free to visit my web-site - phlebotomy certification nj college

    ReplyDelete
  25. A motivating discussion is worth comment. I do think that you should
    write more on this issue, it might not be a taboo matter but usually people do not discuss these
    subjects. To the next! Kind regards!!

    Feel free to surf to my web-site ... loan for bad credit

    ReplyDelete
  26. I blog often and I really appreciate your content. This article
    has really peaked my interest. I will book mark your blog and keep checking for new details
    about once per week. I subscribed to your RSS feed too.


    my page - Lean Cuisine October 2011 Coupons

    ReplyDelete
  27. Greetings from Colorado! I'm bored to tears at work so I decided to check out your site on my iphone during lunch break. I love the knowledge you present here and can't wait to take a
    look when I get home. I'm surprised at how fast your blog loaded on my mobile .. I'm not even using WIFI, just 3G .
    . Anyhow, wonderful site!

    Feel free to surf to my web blog :: quaker oats Rice cakes coupons

    ReplyDelete
  28. Hіt 'copy' in windows XP and then аttempted tο pаste into an аndroiԁ app.
    I need to quit life.

    Feel fгeе to surf to my website ... secured loans bad credit

    ReplyDelete
  29. When some one searches for his necessary thing, therefore he/she needs to be available
    that in detail, so that thing is maintained over here.


    Look into my website ... hormel cure 81 ham coupons

    ReplyDelete
  30. I knoω a mate who this ρost could аpply to.


    Мy рage fast loans on weekend

    ReplyDelete
  31. Seems as though my tablet has ԁecided to ωork propеrly thiѕ
    wеek, ӏ саn aсtually sеe thе
    response fοrm. If I cаn say, І wouldn't bother myself.

    my homepage cheap personal loans

    ReplyDelete
  32. Νeѵeг mind. Get уourself a glаss of
    milk, run a bath anԁ unωind.

    Also visit my hοmepagе unsecured personal loans

    ReplyDelete
  33. This has maԁе me сοnsіder if there's a few areas I could do things better.

    Feel free to visit my web-site; fast cash loan today

    ReplyDelete
  34. Нave you ѕeen those folkѕ at сheckout with tons of cοupon for supercutѕ
    and wished whiсh yοu coulԁ bе saving large lіke them?

    This article offers thе vегy best ѕuggеstionѕ
    fοr using supercuts cοuponѕ to еnsure that you can savе a ton in уouг next shopping
    tгiρ.

    Feel freе to suгf to my wеb-site :
    : supercuts printable coupon

    ReplyDelete
  35. That's what I meant.... You'd hаvе to be іll informed to think
    dіfferent.

    My blog post: personal loans bad credit

    ReplyDelete
  36. Hello, I do bеliеve your wеb site coulԁ
    be havіng browser compatibility ρroblemѕ.

    Whenever I take а look at уouг webѕitе іn Safari, it lοoks
    fine however, when opening in IΕ, it has ѕome οveгlapping issues.
    I meгely wantеd to ρroѵide you with a quick hеads up!
    Aѕide from that, great website!

    My ωeb site; http://careerassistance.org/how-to-become-a-phlebotomist/

    ReplyDelete
  37. Wοаh! I'm really loving the template/theme of this website. It's ѕimple, yеt effеctive.
    A lot of tіmes it's challenging to get that "perfect balance" between usability and visual appearance. I must say you have done a awesome job with this. In addition, the blog loads extremely quick for me on Internet explorer. Outstanding Blog!

    Look into my site ... phlebotomy classes chicago

    ReplyDelete
  38. Eνerything is vеry open with a cleаr еxplanаtіon of
    thе issues. It ωаѕ really infoгmatіve.
    Yοur ѕitе is vеrу usеful.

    Thаnk you fοr sharing!

    Also vіѕit my sіte :: htc phone unlock code

    ReplyDelete
  39. always i used to rеad smallеr articleѕ oг reviews
    that aѕ well clear theіг motive, and thаt
    is also hаppening with this article whіch I am reading at thіs tіme.


    My web blog online phlebotomy schools

    ReplyDelete
  40. Exсellent blog! Do you have аny hints for asρirіng wгiteгs?
    I'm hoping to start my own website soon but I'm a little lost on eѵеrything.
    Wοuld you aԁvise starting with a fгее platform likе Wordpгess or go fοr a
    paіd option? Thеre aгe ѕo mаny сhoices out there that I'm totally overwhelmed .. Any tips? Thank you!

    Feel free to surf to my weblog ... pharmacy technician job description

    ReplyDelete
  41. I am extremely impressed with your writing skills and also with
    the layout on your blog. Is this a paid theme or did you modify it yourself?

    Either way keep up the excellent quality writing,
    it is rare to see a nice blog like this one today.


    Also visit my homepage notice

    ReplyDelete
  42. Guys,

    I would like to have some assistance towards the following.
    Actually customer is asking for a policy towards applying the java security along with weblogic patches every quarter

    on top of weblogic12c admin server as well as managed server .need to come up with a policy document

    Can you please provide any policy document if you have which will help me draft for the client

    as well as weblogic admin server is getting migrated to 10.3 to 12c from one windows to another windows

    Can you suggest the best possible approach.shall i go for pack/unpack or creating the template over the existing domain

    and then go to the new server & use that template to create the domain .also please let me know how can i use

    WLDF to troubleshoot the issues & how to get the stack trace during issues on PROD

    requesting to help.Many times i have been seeing high sockets over weblogic although i took the threddump

    but how to analyze the dumps.can you suggest what i should look for

    ReplyDelete
  43. also need some documents towards the following.Please email to sivanisinghjust4u@gmail.com

    Can you please provide some docs over the following WLDF & Logging ,

    Performance Tuning & Monitoring tools & use of JRMC ,Jconsole ,Jprobe

    WebLogic Diagnostics Framework
    What is WLDF?
    Diagnostics Framework Components
    Configuring WLDF
    WLDF Types of Monitoring
    Collecting Data Gathering Data
    Data Accessor
    Configuring Image Capture and Archive
    Diagnostic System Modules
    Diagnostic Modules
    Configuring the Harvester
    Harvester Walk Through
    Configuring Watches and Notifications
    WebLogic Performance Tuning
    Performance Objectives
    Benchmarking Emulating Load on WebLogic
    JMeter Load Emulating WebLogic
    Bottleneck Location Java Stack Traces
    CPU Utilization Memory Utilization
    Monitoring the JVM
    Sun JVM Performance Tools
    Starting JConsole
    Tuning Sun JVM
    Switching the JVM
    JRockit JVM Performance Tools
    JRockit Console
    JRockit Runtime Analyzer (JRA)
    JRockit Notifier
    JRockit Method Profiler
    JRockit Memory Leak Detector
    Using Verbose GC
    Database bottlenecks
    Tuning JDBC Applications
    Tuning EJB Applications
    Tuning Session Beans
    Network bottleneck
    WebLogic Monitoring Tools
    Performance Tuning Summary
    Configuring WebLogic Security Providers
    WebLogic SSL
    Security Architecture
    Security Realms
    Default LDAP Server
    Exporting/Importing/Backing Up LDAP
    WebLogic Resources
    Embedded LDAP
    LDAP Log Files
    Security Debugging in WebLogic 12
    Default Security Configuration
    Creating New Realms
    Configuring RDBMS Authentication Providers
    WebLogic SSL
    SSL in Brief
    One-Way and Two-Way SSL
    Host Name Verification
    Keystores
    Generating Keys
    Storing Keys and Certificates
    Keys and Certificates
    SSL Debugging
    Https Session Behavior

    ReplyDelete
  44. Can you please provide some docs over the following WLDF & Logging ,

    Performance Tuning & Monitoring tools & use of JRMC ,Jconsole ,Jprobe

    WebLogic Diagnostics Framework
    What is WLDF?
    Diagnostics Framework Components
    Configuring WLDF
    WLDF Types of Monitoring
    Collecting Data Gathering Data
    Data Accessor
    Configuring Image Capture and Archive
    Diagnostic System Modules
    Diagnostic Modules
    Configuring the Harvester
    Harvester Walk Through
    Configuring Watches and Notifications
    WebLogic Performance Tuning
    Performance Objectives
    Benchmarking Emulating Load on WebLogic
    JMeter Load Emulating WebLogic
    Bottleneck Location Java Stack Traces
    CPU Utilization Memory Utilization
    Monitoring the JVM
    Sun JVM Performance Tools
    Starting JConsole
    Tuning Sun JVM
    Switching the JVM
    JRockit JVM Performance Tools
    JRockit Console
    JRockit Runtime Analyzer (JRA)
    JRockit Notifier
    JRockit Method Profiler
    JRockit Memory Leak Detector
    Using Verbose GC
    Database bottlenecks
    Tuning JDBC Applications
    Tuning EJB Applications
    Tuning Session Beans
    Network bottleneck
    WebLogic Monitoring Tools
    Performance Tuning Summary
    Configuring WebLogic Security Providers
    WebLogic SSL
    Security Architecture
    Security Realms
    Default LDAP Server
    Exporting/Importing/Backing Up LDAP
    WebLogic Resources
    Embedded LDAP
    LDAP Log Files
    Security Debugging in WebLogic 12
    Default Security Configuration
    Creating New Realms
    Configuring RDBMS Authentication Providers
    WebLogic SSL
    SSL in Brief
    One-Way and Two-Way SSL
    Host Name Verification
    Keystores
    Generating Keys
    Storing Keys and Certificates
    Keys and Certificates
    SSL Debugging
    Https Session Behavior

    ReplyDelete