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 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.
1]. Go to $WL_HOME/common/bin & run config_builder.cmd ( Win ) , config_builder.sh ( Unix/Linux )
2]. Click on "Create a Domain Template"
Select template name & location and click on next
Select "Select a template" , select "Basic Weblogic Server Domain" option and next
Select default and next
Enter username and password for your domain
Add the resources from your existing domain to the new domain you are going to create, next
Select your database, next
Enter you Admin Server name , listen address and port, next
Select Next
Select Next
Select Next
Click on Create Domain
Now, Run the domain creation wizard and during prompt select domain source, select your above created template.
The new domain that we create using the template doesnt show up in the start menu of user_projects . Do you know why? Also, when i created the new domain using the template it also depoloyed the war files for my existing custom apps ? I want to restrict that so that the new domain which is created doesn't bring in war files of my custom apps
ReplyDeleteSorry I did not get you. Can you please explain in more detail. Sorry, I am new to this hence the question
ReplyDeleteI feel WLST is much faster and easy to use than Wizard. Check this post I had experimented with domain template:
ReplyDeletehttp://wlstbyexamples.blogspot.com/2010/11/weblogic-domain-migration-made-simple.html
I have to create multiple domains on different weblogic envionments, how could i do so?
ReplyDelete