Creating WebLogic Configurations Using the Configuration Wizard
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Before you can develop and run WebLogic Platform applications, you must first create a WebLogic Server domain. The Configuration Wizard guides you through the process of creating a new domain using configuration templates. A template is a Java Archive (JAR) file that contains the files and scripts required to create or update a domain.
A configuration template defines the full set of resources within a domain, including infrastructure components, applications, services, security options, and general environment and operating system options. BEA delivers a set of predefined configuration templates, which are described in the "Template Reference" at the following URL:
http://download.oracle.com/docs/cd/E13196_01/platform/docs81/confgwiz/tempref.html
The Configuration Wizard provides two options for creating new domains: express and custom. The express option allows you to create a domain quickly and easily by using the default settings defined in the configuration template you select. The custom option allows you to modify the settings in the configuration template to meet the requirements of your configuration.
Table 5-1 summarizes the steps in the procedure for creating a new domain using the express option provided by the Configuration Wizard.
Choose whether to create a new WebLogic domain configuration or add to an existing domain configuration. To create a new domain, choose Create a new WebLogic configuration. For details about adding to an existing domain configuration, see Extending Domains. |
|
Choose the configuration template with which you want to create and configure your domain. To determine whether the default settings for a configuration template meet your requirements, see "Template Reference" at the following URL: http://download.oracle.com/docs/cd/E13196_01/platform/docs81/confgwiz/tempref.html If necessary, you can update the domain later, as described in Extending Domains. |
|
Select the Express option to create a domain quickly, using the default template settings. |
|
Specify a username and password to be used for starting the Administration Server. |
|
Select the mode in which to launch your WebLogic domain configuration (development mode or production mode) and the Java Software Development Kit (SDK) that is enabled for the selected Startup mode. |
|
Review the domain details, specify the name and directory for the domain, and initiate the creation of the domain. |
The custom option allows you to modify configuration information to accommodate your requirements. Table 5-2 summarizes the procedure for creating a domain using the custom configuration option.
Choose whether to create a new WebLogic domain configuration or add to an existing domain configuration. To create a new domain, choose Create a new WebLogic configuration. For details about adding to an existing domain configuration, see Extending Domains. |
|
Choose the configuration template with which you want to create and configure your domain. |
|
Select the Custom option to create a domain with non-default template settings that meet the needs of your domain. |
|
Designate a server as the Administration Server. This window is displayed automatically only if the selected template includes multiple servers that are not assigned to clusters. |
|
Define parameters for the Administration Server, a designated server from which the domain is managed. |
|
Configuring Managed Servers, Clusters, and Machines When Creating a New Domain |
Optionally, define parameters for Managed Servers, clusters, and host machines. |
Optionally, define parameters for Java Database Connectivity (JDBC). |
|
Optionally, define parameters for the Java Message Service (JMS). |
|
Optionally, target the servers and clusters to which you want to deploy application components (such as Web applications and EJB modules), and application services (such as JDBC or JMS components, and startup/shutdown classes.) |
|
Specify an administrative username and password. Optionally, you can also configure additional security features by defining users and groups and assigning them to global security roles. |
|
Optionally, define domain-specific parameters for the Windows operating system. |
|
Select the mode in which to launch your WebLogic domain configuration (development mode or production mode) and the Java Software Development Kit (SDK) that is enabled for the selected Startup mode. |
|
Review the parameters defined for your domain configuration, specify its name and pathname, and initiate its creation. |
Creating and Extending Domains Using the Configuration Wizard
Tutorial: Creating Your First Domain
Tutorial: Creating a Custom Domain With Managed Servers, a Cluster, and Application Services
"Overview of WebLogic Server Domains" in Configuring and Managing WebLogic Server at http://download.oracle.com/docs/cd/E13222_01/wls/docs81/adminguide/overview_domain.html
The Create or Extend a Configuration window prompts you to choose whether you want to create a new domain configuration or extend an existing one by adding applications and services.
Create a new domain that is configured to meet your requirements. Begin by selecting the configuration template as the basis for your domain. Then modify settings as required. |
|
Add applications and services to an existing domain configuration. Begin by selecting the directory of the domain that you want to update and identifying the extension template you want to use for adding applications. You then have the option of configuring the database (JDBC) and messaging (JMS) services, too. To learn more, see Extending Domains. |
Overview of Creating a Domain Using the Configuration Wizard
A template is a Java Archive (JAR) file that contains the files and scripts required to create or update a domain. A configuration template defines the full set of resources within a domain, including infrastructure components, applications, services, security features, and general environment and operating system settings.
The Select a Configuration Template window prompts you to choose the configuration template you will use to create and configure your domain. It is important to use the configuration template that best meets the requirements of your domain. A set of predefined configuration templates is provided with your product installation. These templates are described in the "Template Reference" at the following URL:
http://download.oracle.com/docs/cd/E13196_01/platform/docs81/confgwiz/tempref.html
Review the descriptions of these templates to determine if one of them meets your needs. You can also define your own custom configuration templates. For more information, see Creating Configuration Templates Using the WebLogic Configuration Template Builder.
Note: Since the initial product release, there have been changes made to the Basic WebLogic Integration Domain, Basic WebLogic Platform Domain, and Basic WebLogic Portal Domain configuration templates. Because of these changes, when creating a domain using the Configuration Wizard, you should use a configuration template provided with your current installation or a custom template created from a domain or template in your current installation. You must upgrade the domains created using the configuration templates provided with an earlier service pack to the current service pack. For information about upgrading your domains, see the BEA WebLogic Platform Upgrade Planning Guide at http://download.oracle.com/docs/cd/E13196_01/platform/docs81/upgrade/index.html.
The Choose Express or Custom Configuration window prompts you to select between two types of configuration: express and custom.
Create a domain quickly, using the default settings from the configuration template that you selected. Keep in mind that in this mode you cannot modify template settings (for example, server port numbers). If you select this option, see the following sections for information about creating a username and password, specifying the configuration environment, and subsequently creating the domain: |
|
Create a domain that is customized for your target environment. In this mode you can modify the default settings of the selected configuration template as desired. An overview of the steps involved in creating a custom configuration are presented in Overview of Creating a Domain Using the Configuration Wizard. |
Using the Express Option to Create a New Domain
Using the Custom Option to Create a New Domain
Tutorial: Creating Your First Domain
The Choose the Administration Server window prompts you to designate a server as the Administration Server. This window is displayed automatically only if the selected template includes multiple servers that are not assigned to clusters.
The Configure the Administration Server and Configure Managed Server(s) windows are updated to reflect your changes.
In every domain, one server must be designated the Administration server: the central point from which the whole domain is managed. The Configure the Administration Server window prompts you to define configuration information for the Administration Server. (For details, see Brief Introduction to Domains.) This information is used to access the server in the domain.
Servers can be reached using the following URL: protocol://listen-address:listen-port
In this URL, protocol
can be any of the following:
listen-address
and listen-port
are defined in the Configure the Administration Server window.
Review the values displayed in the window and modify them as necessary, using the guidelines provided in the following table. (Fields marked with an asterisk are required.) When you finish updating your settings, click Next.
Enter a valid server name: a string of characters that can include spaces. Each server instance in your WebLogic Platform environment must have a unique name, regardless of the domain or cluster in which it resides, or whether it is an Administration Server or a Managed Server. In addition, the name of the Administration Server must be unique among all configuration component names within the domain. Note: This value is specified for identification purposes only; it is not used as part of the URL for applications that are deployed on the server. The server name is displayed in the WebLogic Server Administration Console. In addition, if you use WebLogic Server command-line utilities or APIs, you must specify this name to identify the server. |
|
From the drop-down list, select a value for the listen address. Valid values for the listen address are as follows:
If you identify the listen address for a server instance as To learn more about Listen Addresses, see Specifying Listen Addresses. |
|
Enter a valid value for the listen port to be used for regular, non-secure requests (via protocols such as HTTP and T3). The default value is 7001. If you leave this field blank, the default value is used. Any number between 1 and 65535 is a valid value. For more information, see Specifying Listen Ports. |
|
Enter a valid value to be used for secure requests (via protocols such as HTTPS and T3S). The default value is 7002. If you leave this field blank, the default value is used. Any number between 1 and 65535 is a valid value. Note: By default, a server instance uses demonstration certificates to authenticate requests from a secure port. In a production environment, you must configure SSL to use certificates from a certificate authority. For more information, see "Configuring SSL" in Managing WebLogic Security at http://download.oracle.com/docs/cd/E13222_01/wls/docs81/secmanage/ssl.html. For more information, see Specifying Listen Ports. |
|
Select the check box in this field to enable the SSL listen port. By default, the SSL is disabled for all new servers. |
If you want to limit the valid listen address for a server, use the guidelines for specifying listen addresses provided in the following table.
Refer to the following guidelines when specifying listen ports and secure listen ports:
http://
hostname
/myfile.html
instead of http://
hostname
:
portnumber
/myfile.html
.
The minimum requirement for your domain is a single Administration Server on a single machine. In addition, however, you have the option of configuring other resources to be managed by the Administration Server and distributing them across multiple machines. Specifically, you can:
The Managed Servers, Clusters, and Machines Options window prompts you to specify whether you want to distribute your WebLogic configuration across Managed Servers, clusters, and physical machines. For more information, see Configuring Managed Servers, Clusters, and Machines.
WebLogic JDBC enables Java programmers to interact with common database management systems (DBMS), such as Oracle, Microsoft SQL Server, and Sybase. The Configuration Wizard gives you the option of configuring a database service for your domain by defining several WebLogic JDBC components:
Because WebLogic Server applications usually require some database access, most templates created for use with the Configuration Wizard contain JDBC configuration information. When using the Configuration Wizard, you can accept these settings, modify them, or add JDBC configuration information, as described in Configuring a Database Service.
WebLogic JMS gives you access to enterprise messaging systems that enable applications to communicate with one another. To familiarize yourself with the features of WebLogic JMS, see Programming WebLogic JMS at the following URL:
http://download.oracle.com/docs/cd/E13222_01/wls/docs81/jms/index.html
The Configuration Wizard gives you the option of setting up JMS messaging services for a domain. To set up a messaging service, you define the following components:
Because JMS is often required by WebLogic Server applications, the templates created for use with the Configuration Wizard typically contain JMS configuration information. You can accept these settings when using the Configuration Wizard, or you can modify or add JMS configuration information as described in Configuring a Java Messaging Service.
If you have configured your domain to be distributed across servers or clusters, it is a good idea to target the servers and clusters onto which you want to deploy applications such as Web applications, or services such as JMS and JDBC component services. Typically, applications provided in templates are targeted to the appropriate server(s). You can accept these settings when using the Configuration Wizard, or you can modify or add targeting information as described in Configuring Targets.
To make sure that your domain is secure when you boot it for the first time, the Configuration Wizard provides basic security features. Whenever you create a domain, regardless of whether you do so using the express or custom option, you are prompted to define an administrative username and password. (See Configuring an Administrative Username and Password.)
If you are customizing a configuration, you can provide additional security by setting up two other security mechanisms:
For information about configuring basic security when creating a new domain, see Configuring Security.
The Windows Options window prompts you to define operating system configuration information for Windows platforms. This window is displayed only if you are running on a Windows platform.
Specify your options as defined in the following table. Then click Next.
"Setting Up a WebLogic Server Instance as a Windows Service" in Configuring and Managing WebLogic Server at http://download.oracle.com/docs/cd/E13222_01/wls/docs81/adminguide/winservice.html
The Build Start Menu Entries window prompts you to build entries for the Windows Start Menu. This window is displayed in the Configuration Wizard only if you:
Review the current list of Start Menu entries. Add, modify, or delete entries as required by your configuration, using the guidelines provided in the following table. To delete an entry, select the Start Menu entry tab and click Delete. When you finish updating your settings, click Next.
The Configure Server Start Mode and Java SDK window prompts you to specify the:
Specify the startup mode for your domain as shown in the following table.
Notes: The PointBase Server included in the WebLogic Platform distribution is provided solely for evaluation purposes. Non-evaluation development or other use of the PointBase Server requires that a separate PointBase Server license be obtained by the end user directly from DataMirror. For more information about contacting DataMirror, see http://www.pointbase.com/. For more information about databases supported on your platform and any associated restrictions or limitations, see "Supported Database Configurations" in Supported Configurations for WebLogic Platform 8.1 at http://download.oracle.com/docs/cd/E13196_01/platform/suppconfigs/configs81/81_over/supported_db.html.
When you deploy applications automatically, the server automatically adds an entry for each application or module to the config.xml
file for the domain. You do not need to edit the config.xml
file manually.
To learn more about choosing between development and production modes, see Differences Between Configuration Startup Modes.
The Java SDK Selection pane prompts you to select the Java SDK for the startup mode you selected in the WebLogic Configuration Startup Mode pane. The Configuration Wizard presents a list of the SDKs supplied by BEA and installed with the product, including:
You can choose one of the SDKs provided by BEA or another SDK that you have installed on your system. The Configuration Wizard will create server startup scripts that invoke the Java SDK you select.
Select only those Java SDKs that are supported on the platform you are using. For a list of the Java SDKs that are supported for a specific platform, see WebLogic Platform 8.1 Supported Configurations. The default selection reflects the Java SDK that best meets the requirements of your environment, based on the platform on which you are installing the domain.
Note: If you plan to use the WebLogic JRockit SDK in production mode, BEA recommends that you develop and test your applications using WebLogic JRockit early in your project cycle. For information about migrating your application to WebLogic JRockit, see "Migrating to WebLogic JRockit" in Developing Applications at http://download.oracle.com/docs/cd/E13188_01/jrockit/docs142/devapp/migrate.html.
The following table describes the differences between development and production modes in terms of key functions.
You can use the demonstration digital certificates provided by the WebLogic Server security services. With these certificates, you can design your application to work within environments secured by SSL. For more information about managing security, see "Configuring SSL" in Managing WebLogic Security at the following URL: http://download.oracle.com/docs/cd/E13222_01/wls/docs81/ |
A warning message is displayed if you use the demonstration digital certificates. |
|
WebLogic Server instances can automatically deploy and update applications that reside in the |
The auto-deployment feature is disabled, so you must use the WebLogic Server Administration Console or the http://download.oracle.com/docs/cd/E13222_01/wls/ |
|
When you start a server, the server automatically renames (rotates) its local server log file as |
A server rotates its local log file after the size of the file reaches 500 kilobytes. |
|
The default number of threads available to Execute Queues is 15. The thread count determines the number of simultaneous operations that can be performed by applications that use the specified execute queue. By default, all applications use the execute queue named default. You can create additional queues to exercise more control over the resources that your applications use. |
The default number of threads available to Execute Queues is 25. |
|
For information on changing the run-time mode after you have created a domain, see "Changing the Runtime Mode" in the WebLogic Server Administration Console Online Help at http://download.oracle.com/docs/cd/E13222_01/wls/docs81/ConsoleHelp/servers.html#ChangingRuntimeMode
The Create WebLogic Configuration window prompts you to review the details for your configuration, specify the name and pathname for the domain, and initiate its creation.
The configuration directory can be located anywhere on your system. By default, it resides in BEA_HOME
\user_projects\domains\
domain
, where BEA_HOME
is the directory that contains the product installation, and domain
is the name of the domain directory defined by the selected configuration template.
Note: Do not create a domain named weblogic
. This name is reserved for internal use by WebLogic Server.
"Domain Restrictions" in Configuring and Managing WebLogic Server at http://download.oracle.com/docs/cd/E13222_01/wls/docs81/adminguide/overview_domain.html#DomainRestrictions
The Creating Configuration window displays status messages during the domain creation process. When the process is complete, the new domain is ready for use.
![]() ![]() |
![]() |
![]() |