Creating Templates By Using the Domain Template Builder

     Previous  Next    Open TOC in new window    View as PDF - New Window  Get Adobe Reader - New Window
Content starts here

Creating Extension Templates by Using the Domain Template Builder

The process for creating an extension template is similar to the process for creating a domain template, except that you are not prompted to configure the administration server, assign an administrator username and password, or specify Start menu entries, because these domain settings are already defined in the domain to be extended.

The following topics describe the steps for creating an extension template:

 


Create a New Template

The Create a New Template window is displayed when you start the Domain Template Builder as described in Starting the Domain Template Builder.

Select Create an Extension Template and click Next.

The Select a Template Domain Source window is displayed.

 


Select a Template Domain Source

The Select a Template Domain Source window prompts you to choose the application template or domain directory from which you want to create an extension template.

To select an extension template as the source for the new extension template:

  1. Select the Select a Template tab.
  2. From the list of templates displayed in the Templates pane, select a template.
  3. The templates are grouped by category.

    The extension templates displayed for selection are located in the directory specified in the Locate Additional Templates pane. If you want to change the directory, click Browse, and then navigate to the appropriate directory or enter the path manually.

  4. Click Next.
  5. The Describe the Template window is displayed.

To select a domain as the source for the new extension template:

  1. Select the Select a Domain tab.
  2. Navigate to the domain directory from which you want to create an extension template and select the desired domain.
  3. Valid domain directories are indicated by a Domain directory folder icon icon.

  4. Click Next.
  5. The Describe the Template window is displayed.

 


Describe the Template

The Describe the Template window prompts you to provide a description for the template.

Note: The description that you provide here will be displayed in the Select a Template pane of the Select a Template Domain Source window.

For information about the fields in the Describe the Template window, see Table 3-2.

The Add or Omit Applications window is displayed.

 


Add or Omit Applications

In this window, you can do the following:

For more information, see Add or Omit Applications.

After performing the required steps, click Next. The Add Files window is displayed.

 


Add Files

By default, the Domain Template Builder includes files from the domain or extension template that you specified as the source for the new extension template. In the Add Files window, you can review, add, and remove files in the template.

For more information, see Add Files.

After performing the required steps, click Next. The Add SQL Scripts window is displayed.

 


Add SQL Scripts

In the Add SQL Scripts window, you can add SQL scripts for each database that you expect to be used with the domains that you extend using this template. You can also specify the order in which the scripts should be executed. For more information, see Add SQL Scripts.

After performing the required steps, click Next. The Security Configuration Options window is displayed.

 


Configuring Security Options

Optionally, you can configure security parameters for the application resources within the domain. You can provide security for an application resource by using the following security features:

In the Security Configuration Options window, you can set security options for your application.

 


Prepare Scripts and Files

The Domain Template Builder automatically updates any standard scripts included in a template, such as start scripts, by replacing hard-coded values for various domain environment settings with variables. The Configuration Wizard can later replace these variables with new hard-coded values during the configuration of a new domain.

If you want to, you can prepare additional files to be included with your template by manually inserting replacement variables. For more information, see Prepare Scripts and Files with Replacement Variables.

After performing the required steps, click Next. The Review WebLogic Domain Template window is displayed.

 


Review the Extension Template Settings

In the Review WebLogic Domain Template window, you can review the settings for the new extension template before it is created.

  1. Select an item in the Template Summary pane on the left and review the associated details in the Details pane on the right. If you need to change any settings that you defined in previous windows, select Previous to return to the required configuration window.
  2. Note: You can limit the type of information displayed in the Template Summary window by using the View drop-down list.
  3. Click Next.
  4. The Create an Extension Template window is displayed.

 


Create Your Extension Template

The Create an Extension Template window prompts you to specify the name and directory for the extension template, and launch the process that creates it.

  1. Specify a name for the template JAR file in the Template jar name field.
  2. Make sure that the Template location field contains the name of the directory in which you want the template to reside.
  3. You can change the location either by clicking Browse and navigating to the appropriate directory or by entering the path manually.

    The template directory can be located anywhere in your system. By default, it resides in BEA_HOME\user_templates, where BEA_HOME is the directory that contains the product installation (by default, on Windows, this directory is c:\bea).

  4. After verifying the information displayed in the window, click Create.
  5. The Creating Template window displays status messages during the template creation process. The Domain Template Builder generates a JAR file that contains only the applications and services specified in the extension template.

  6. Click Done in the Creating Template window.

  Back to Top       Previous  Next