Lab: Creating new domain using WLST templates
1. Select a domain template or create one.
2. To create a domain template, C:\Oracle\Middleware\wlserver_10.3\common\bin and
run the script
config_builder.cmd
3. Follow the wizard and complet it..
4. It will create a template with the name you specify under C:\bea\user_templates
location
5. Now create new domain with WLST command
Syntax
createDomain(domainTemplate, domainDir, user, password)
Ex
createDomain('C:/Oracle/Middleware/user_templates/[Link]','c:/Oracle/Middle
ware/user_projects/domains/newwlstdomain', 'weblogic', 'weblogic1')
Note: you can use your template jar file.
Once you complete the command, you can observer that a new domain created with the
name you specified.
Lab: Creating new domain using a script
Open command prompt
Set the weblogic environment
Now execute the script for domain generation, [Link]
java [Link] C:\examples\[Link]
This will prompt to enter details for your domain, give all the details.
Now you should have new domain created in the path specified.