0% found this document useful (0 votes)
50 views

Lab - Creating A Domain

This document provides instructions for creating a new domain using WLST templates or a script: 1. Create a domain template or use an existing one, then run the config_builder script to generate a template JAR file. 2. Use the WLST createDomain command to create a new domain from the template, specifying the template JAR path, domain directory, and credentials. 3. Alternatively, a domain can be created from a DomainGen.py script by setting the WebLogic environment and running the script, providing any prompted details.

Uploaded by

vssprpvemuri
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
50 views

Lab - Creating A Domain

This document provides instructions for creating a new domain using WLST templates or a script: 1. Create a domain template or use an existing one, then run the config_builder script to generate a template JAR file. 2. Use the WLST createDomain command to create a new domain from the template, specifying the template JAR path, domain directory, and credentials. 3. Alternatively, a domain can be created from a DomainGen.py script by setting the WebLogic environment and running the script, providing any prompted details.

Uploaded by

vssprpvemuri
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

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/testdomain1.jar','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, DomainGen.py
java weblogic.WLST C:\examples\DomainGen.py
This will prompt to enter details for your domain, give all the details.
Now you should have new domain created in the path specified.

You might also like