lab - creating a domain

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.

Upload: vssprpvemuri

Post on 06-Nov-2015

217 views

Category:

Documents


4 download

DESCRIPTION

Creating Domain

TRANSCRIPT

  • 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/Middleware/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.