This OBE tutorial describes and shows you how to configure a domain template.
Approximately 1 hour
This OBE tutorial covers the following topics:
| Overview | ||
| Scenario | ||
| Verifying the Prerequisites | ||
| Creating a New Template | ||
| Creating a New WebLogic Domain | ||
| Summary | ||
| Related information | ||
Place
the cursor over this icon to load and view all the screenshots for this tutorial.
(Caution: Because this action loads all screenshots simultaneously, response
time may be slow depending on your Internet connection.)
Note: Alternatively, you can place the cursor over each individual icon in the following steps to load and view only the screenshot associated with that step.
The screenshots will not reflect the specific environment you are using. They are provided to give you an idea of where to locate specific functionality in Oracle WebLogic Server.
By using a customized domain template, you can create domains
for multiple development, test, and production environments. You need to use
the Domain Template Builder to create and use a customized domain template.
Dizzyworld system architect has decided to use customized domain template that can be used to create additional domains. To implement this, the domain template builder will be used.
Before you start the tasks, make sure that your system environment meets the following requirements:
Software Requirements
The system should have Oracle WebLogic Server 10.3 installed.
Setup Requirements
You should have completed the following OBEs:
To create a new template, perform the following steps:
|
1. |
Navigate to /u01/app/oracle/product/Middleware/wlserver_10.3/common/bin
and run the following file to start the domain template builder:
|
||||||||||||
|
2. |
Select the Create a Domain Template option and click Next.
|
||||||||||||
| 3. |
Click the Select a Template tab. Review and retain the default values.
|
||||||||||||
| 4. |
Click the Select a Domain tab. Under the Select a WebLogic domain directory section, click the "+" sign corresponding to wlserver_10.3 > samples and select medrec. Then, click Next.
|
||||||||||||
| 5. |
Enter the name as MyTemplate and the description as shown in the screen. Then, click Next.
|
||||||||||||
| 6. |
In the Add or Omit Applications step, retain the default values and click Next.
|
||||||||||||
| 7. |
In the Add Files step, click Next.
|
||||||||||||
| 8. |
In the Add SQL Scripts step, click Next.
|
||||||||||||
| 9. |
In the Configure the Administration Server step, provide the following values and then click Next.
Note: The Listen address will vary depending on your environment setup.
|
||||||||||||
| 10. |
In the Configure Administration Username and Password step, provide the following values and then click Next.
|
||||||||||||
| 11. |
In the Specify Start Menu Entries step, click Next.
|
||||||||||||
| 12. |
In the Prepare Scripts and Files with Replacement Variables step, click Next.
|
||||||||||||
| 13. |
In the Review WebLogic Domain Template step, click Next.
|
||||||||||||
| 14. |
In the Create a Template step, enter the Template jar name as Mymedrectemplate and then click Create.
Note: Retain the Template location value as default.
|
||||||||||||
| 15. |
Notice that the new template gets created. After it completes, click Done. You can navigate to the /u01/app/oracle/product/Middleware/user_templates location to view the newly created template.
|
To create a new WebLogic domain, perform the following steps:
|
1. |
Navigate to /u01/app/oracle/product/Middleware/wlserver_10.3/common/bin
and run the following file to start the Oracle WebLogic Configuration
Wizard:
|
||||||||
|
2. |
Select the Create a new WebLogic domain option and click Next.
|
||||||||
| 3. |
In the Select Domain Source step, select the Base this domain on an existing template option and click Browse.
|
||||||||
| 4. |
Select Mymedrectemplate.jar from the /u01/app/oracle/product/Middleware/user_templates location and click OK. Then, click Next.
|
||||||||
| 5. |
In the Configure Administration Username and Password step, provide the following values and then click Next.
Note: Retain the default values as is because based on the template selected, most of the values get prepopulated by default.
|
||||||||
| 6. |
In the Configure Server Start Mode and JDK step, select the Production Mode option and click Next.
|
||||||||
| 7. |
In the Customized Environment and Services Settings step, select the Yes option and click Next.
|
||||||||
| 8. |
In the Configure RDBMS Security Store Database step, retain the default value and click Next.
|
||||||||
| 9. |
In the Configure the Administration Server section, retain the default values and then click Next.
|
||||||||
| 10. |
In the Configure Managed Servers step, click Add to append the two managed servers with default values and click Next.
Note: The Listen port needs to be manually changed to 7031 and 7033.
|
||||||||
| 11. |
In the Configure Clusters step, click Next.
|
||||||||
| 12. |
In the Configure Machines step, click Next.
|
||||||||
| 13. |
In the Configure JDBC Data Sources step, retain the default values and click Next.
|
||||||||
| 14. |
In the Review WebLogic Domain step, click Next.
|
||||||||
| 15. |
In the Create WebLogic Domain step, enter the domain name as Mydomain and then click Create.
Note: Retain the other path information as default. |
||||||||
| 16. |
After it is completed, click Done.
|
||||||||
| 17. |
Navigate to /u01/app/oracle/product/Middleware/user_projects/applications/Mydomain
and view the content of the newly created domain.
|
In this lesson, you learned how to:
| Verify the prerequisites | ||
| Create a new template | ||
| Create a new WebLogic domain | ||
Place the cursor over this icon
to hide all screenshots.