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.

73 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. 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
  14. 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
  15. 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
  16. 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
  17. 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
  18. Peculiar article, just what I was looking for.

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

    ReplyDelete
  19. 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
  20. 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
  21. 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
  22. WOW just what I was searching for. Came here by searching for malaise

    my weblog :: job description for a cna

    ReplyDelete
  23. 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
  24. 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
  25. 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
  26. 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
  27. 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
  28. 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
  29. I knoω a mate who this ρost could аpply to.


    Мy рage fast loans on weekend

    ReplyDelete
  30. 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
  31. Ν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
  32. 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
  33. Н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
  34. 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
  35. 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
  36. 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
  37. 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
  38. 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
  39. 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
  40. 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
  41. 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
  42. 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
  43. fabulous post..
    http://office-helps.com

    ReplyDelete
  44. keep writing....awesome
    http://office-helps.com

    ReplyDelete
  45. I read a article under the same title some time ago, but this articles quality is much, much better. How you do this.. Australian datacenter

    ReplyDelete
  46. Hi, I’m Smith warner. I’m a student living in Miami, Florida. I am a fan of technology, design, and software. I’m also interested in web development and Software. You can visit my website with a click on the button Below.

    Mcafee.com/activate
    Mcafee activate
    Mcafee Activate 25 digit code
    norton.com/setup
    norton setup
    office.com/setup
    office setup
    office.com/setup
    office setup

    ReplyDelete

  47. You'll use your Microsoft Account for everything you do with Office. If you use a Microsoft service like Outlook.com, OneDrive, Xbox Live, or Skype, you already have an account.

    office.com/setup
    office setup
    www.office.com/setup


    Protect all your devices with your Norton subscription My Norton makes it easy for you to set up your Norton protection, check your security status, and extend your protection to other PCs, Macs, smartphones, and tablets.

    norton.com/setup
    www.norton.com/setup
    norton setup
    norton.com/nu16

    ReplyDelete
  48. What a superb post! I have no words to describe this post because everthing is clear with your wonderfull words. I really feel out for world reading your post, it is full of fresh and usefull. I really appreciate, keep the work continue.

    norton.com/setup ! www.norton.com/setup ! office.com/setup


    ReplyDelete
  49. If you reach across issues like Login difficulties, Security barriers, Loading Issues, Invalid Password & ID message with your club Pogo, then it’s suggested to you contact a reliable Pogo Customer Support , so you can correct these issues immediately.

    ReplyDelete
  50. I Enjoyed Reading The Blog. I love your blog. Thanks for sharing all of the useful info and will come back to read more. Visit:- office.com/setup | office.com/setup | | Norton.com/setup | Mcafee.com/activate

    ReplyDelete
  51. You can now freely use roku without credit card, debit card, PayPal, banking or other info on file. You can even use a different name and address if you want to maintain total privacy.

    ReplyDelete
  52. Having trouble with your HP Printer? No need to worry at all because HP Printer Support provides you the best on-time assistance for HP products including pcs, laptops, desktops, printers, tablets, apps, and services at any moment of time.

    ReplyDelete
  53. cash app login is used for sending and receiving money to one directly linked from your bank account. As soon as you sync your debit card with it, you are all ready to start making transactions. One-time Cash App Login is enough to make easier transactions without coming across any hassle.

    ReplyDelete

  54. For venmo login with Venmo, Facebook, or PayPal login details, follow these guidelines. If you want to sign in to Venmo Groups, then use the details given here.

    For instant charles schwab login, go to the official page of #CharlesSchwab and tap on the “Log In” option. Then, enter your User ID and password for login.

    ReplyDelete
  55. You can simply visit Amazon.com/mytv to link your Amazon Prime Video account to your streaming device.
    www.amazon.com/mytv
    www.amazon.com/mytv login
    amazon/mytv
    primevideo/mytv enter code
    paypal login



    ReplyDelete
  56. Go to Amazon.com/mytv now and create your Amazon account. If you don't have a record yet, sign in to it.
    paypal login
    www.amazon.com/code
    roku.com/link
    tubi.tv/activate
    espn.com/activate

    ReplyDelete
  57. We already stated that you don’t need any additional contraptions to be successful.Watch Amazon Prime VideoIf you have a streaming device. You can watch Amazon Prime Video on the Streaming device by following these simple and quick steps:Amazon.com/us/code
    amazon.com/redeem
    paypal login
    www.Amazon.com/mytv
    www.Amazon.com/mytv

    ReplyDelete
  58. Amazon Prime Video allows clients to download their top shows and videos to view later. This option is great for clients who want to enjoy Amazon Prime Video in disconnected mode. If you have registered your devices using amazon.com/mytv, you will be able to view the downloaded videos immediately on your device. Follow the below steps to download your top-rated videos from Amazon Prime Video.
    amazon.com/redeem
    amazon.com/redeem
    pbs.org/activate
    www.Hulu.com/activate
    www.Hulu.com/activate

    ReplyDelete
  59. Amazon Prime video allows clients to download videos in three different formats, such as SD, HD, or 4k Ultra HD. Clients can then download the video according to their preference.
    Primevideo/mytv
    Primevideo/mytv enter code
    amazon.ca/redeem
    primevideo.com/mytv
    Primevideo/mytv

    ReplyDelete
  60. We are not Amazon. This website is for information purposes only. For more help, visit
    Primevideo/mytv
    Primevideo/mytv
    Primevideo/mytv
    Primevideo/mytv
    Primevideo/mytv

    ReplyDelete
  61. www.amazon.com/mytv: Enter the amazon activation code/amazon myTV code shown on your smart TV screen at Amzaon.com/mytv to register your compatible device with Amazon Prime. Enjoy unlimited movies and other web shows.
    Primevideo/mytv
    amazon.co.uk/mytv
    amazon.co.uk/mytv
    amazon.co.uk/mytv
    amazon.co.uk/mytv

    ReplyDelete

  62. It is important to remember that Amazon Prime Video is not compatible with every streaming device. Perhaps this is due to the fact that Amazon Prime Video is still relatively new. The service is still available on many devices.
    amazon.co.uk/mytv
    amazon.co.uk/redeem
    amazon.com/mytv
    www.Amazon.com/mytv
    amazon.com/mytv
    amazon.com/mytv

    ReplyDelete
  63. emails Not receiving has become a common issue and wishes the intense attention of the specialists. However, a number of its users ar whiney concerning their account of gmail not receiving emails creating them wait till they get annoyed.

    ReplyDelete
  64. Pandit Ramdial Ji Famous Astrologer in Hamilton is specialized in all terms in astrology. His practice in astrology has reached many targeted issues to be resolved successfully. He advocates that many people pray to God to illuminate their life.

    Famous Astrologer in Hamilton

    ReplyDelete
  65. have a peek at this website you can try these out my review here replica wallets browse around this website read here

    ReplyDelete