Creating WebLogic Configurations Using the Configuration Wizard
BEA WebLogic Platform consists of WebLogic Server, WebLogic JRockit, and several other component products: WebLogic Workshop, WebLogic Portal, and WebLogic Integration. These components, as well as the WebLogic Platform applications that use them, are implemented as applications that run on WebLogic Server. To run applications on WebLogic Server you must define and create a domain. A domain is the basic administration unit for WebLogic Server. To run WebLogic Platform applications, you must create a domain that includes the appropriate WebLogic Platform components. Domains are described in more detail in Brief Introduction to Domains.
Used together, these tools allow you to define and propagate a standard domain across a development project, or to distribute a domain with an application that has been developed to run on it. You use the Configuration Wizard and Configuration Template Builder in off-line mode only (that is, when there is no server running).
When using the Configuration Wizard, the term template refers to a Java Archive (JAR) file that contains the files and scripts required to create or update a domain. The types of templates that can be created by the Configuration Template Builder and used by the Configuration Wizard to create or update domains include:
Included are configuration templates that enable you to configure domains with various combinations of WebLogic Platform components, and extension templates that allow you to add WebLogic Platform components to your existing domains.
Before you can develop and run a WebLogic Platform application, you must first create a WebLogic Server domain. You can create a domain quickly and easily by using a configuration template that provides domain configuration information as input to the Configuration Wizard. The Configuration Wizard, shown in the following figure, is a stand-alone Java application that can be run independently of WebLogic Server to simplify the creation of domains.
config.xml, that describes the infrastructure and basic network parameters of all server instances
startWebLogic.sh) that are populated with the values that you enter using the Configuration Wizard
In some cases, it may be desirable or necessary to add a predefined application, a WebLogic Platform component product, or a set of services, such as JDBC or JMS, to an existing domain. For example, if you have an existing WebLogic Server application running in a domain and you need to develop a WebLogic Workshop application to run in the same domain, you must extend the functionality of the WebLogic Server domain by adding WebLogic Workshop.
To extend a domain using the Configuration Wizard, select the directory of the domain that you want to extend and identify the extension template to use to include additional applications. You then have the option of configuring the database (JDBC) and messaging (JMS) services, and targeting servers or clusters to which you want the applications or services deployed. BEA delivers a set of predefined extension templates, as described in "Template Reference" at the following URL:
BEA provides a number of configuration and extension templates, as part of the WebLogic Platform product, aimed at developers seeking to create new applications. However, BEA also provides the capability to create your own templates. The Configuration Template Builder, shown in the following figure, is a stand-alone Java application that allows you to create custom configuration and extension templates that can be used later for creating and updating domains using the Configuration Wizard.
Note: The Configuration Template Builder can be run in graphical mode only. Therefore, the console attached to the machine on which you are using the Configuration Template Builder must support a Java-based GUI. All consoles for Windows systems support Java-based GUIs; only a subset of UNIX-based consoles support Java-based GUIs.
Using an existing domain or template, the Configuration Template Builder guides you through the process of creating custom configuration and extension templates that can be used as input to the Configuration Wizard.
To create a custom configuration template using the Configuration Template Builder, select the domain or configuration template from which you want to create a new configuration template. You have the option of updating the following:
To create a custom extension template using the Configuration Template Builder, you select a domain or extension template to use as the basis for your extension template. You have the option of updating the following:
WebLogic Server provides a rich set of system administration tools that enable you to install, configure, monitor, and manage one or more domains. As described previously, you can use the Configuration Wizard to create and extend domains. It is designed to simplify and automate the process of initial domain configuration, and the addition of well-defined applications and services to existing domain configurations. The Configuration Wizard configures and extends domains by making a complete set of configuration changes in bulk (at one time), and in off-line mode (that is, when the WebLogic Server domain is not running), to obtain a valid configuration. It is not designed for sequential modification of individual configuration parameters, for use in online mode, or for use as a monitoring tool.
You can also use the tools defined in the following table to extend and manage the domain. Run-time configuration can also be accomplished using the consoles of the WebLogic Platform component products.
WebLogic Server Administration Console. For more information, see the WebLogic Server Administration Console Online Help, accessible by selecting the help icon from the Administration Console interface or at the following URL: http://download.oracle.com/docs/cd/E13222_01/wls/docs81/ConsoleHelp/index.html
A domain is the basic administration unit for WebLogic Server. It consists of one or more WebLogic Server instances, and logically related resources and services that are managed, collectively, as one unit.
As shown in the previous figure, the basic domain infrastructure consists of one Administration Server and optional Managed Servers and clusters. These components are described in the following table.
A domain always includes one WebLogic Server instance that is configured as an Administration Server. The Administration Server provides a central point for managing the domain and providing access to the WebLogic Server administration tools. These tools include, but are not limited to, the following:
All other WebLogic Server instances in a domain are called Managed Servers. Managed Servers host application components and resources, which are also deployed and managed as part of the domain. In a domain with only a single WebLogic Server instance, that one server functions as both the Administration Server and Managed Server.
A domain may also include WebLogic Server clusters, which are groups of WebLogic Server instances that work together to provide scalability and high availability for applications. Clusters can improve performance and provide failover should a server instance become unavailable. The servers within a cluster can run on the same machine, or they can reside on different machines. To the client, a cluster appears as a single WebLogic Server instance.
Note: All Managed Servers in a domain must run the same version of the WebLogic Server software. The Administration Server may run either the same version as the Managed Servers in the domain, or a later service pack.
In addition to infrastructure components, a domain defines the basic network configuration for the server instances it contains. Specifically, a domain defines application deployments, supported application services (such as database and messaging services), security options, and physical host machines.
You may find it useful to configure multiple domains based on specific criteria, such as system administrator responsibilities, the logical classification of applications, the geographical locations of servers, or size. The following table outlines the most common domain configurations.
In production environments that require increased performance, throughput, or availability for a Web application, several Managed Servers might be grouped in a cluster. In such a case, the domain consists of one or more clusters with the applications they host, additional Managed Servers, if necessary, and an Administration Server to perform management operations.
In development or test environments, a single application and server might be deployed independently from other Managed Servers. In such a case, you can deploy a domain consisting of a single Administration Server that also hosts the Web applications you want to test or develop. The WebLogic Server Examples Domain template is an example of a stand-alone server domain, as described in "Template Reference" at the following URL: http://download.oracle.com/docs/cd/E13196_01/platform/docs81/confgwiz/tempref.html