Based on the needs of your application, you might need to configure the WebLogic services before you can deploy the application components as described in Deploying WebLogic Applications. To configure the services, you might need to rely on the following component types.
Data Source component type – Use this component type to capture database data sources.
Multi Data Source component type – Use this component type to capture database data sources and associated connection pools.
Java Messaging Service (JMS) Server component type – Use this component type to capture a server to store and serve JMS information.
JMS Module component type – Use this component type to create a configuration module for JMS Queues, Topics, Connection Factories, and Destination Keys.
JMS Queue component type – Use this component type to install a messaging queue for point-to-point messaging.
JMS Topic component type – Use this component type to capture a messaging topic for publish-and-subscribe messaging.
JMS File Store component type – Use this component type to capture a JMS backing store.
JMS JDBC Store component type – Use this component type to capture a JMS JDBC backing store.
JMS Connection Factory component type – Use this component type to capture a connection factory to create JMS connections to the data source.
JMS Destination Key component type – Use this component type to capture destination keys to specify the order in which messages are delivered.
Mail Session component type – Use this component type to capture a mail service to use for communication between the Administration Server and Managed Servers.
These configuration component types are only necessary if your application requires them. For example, if your web application uses a database to retrieve and store information, you will need to configure a data source or multi data source.
To use these configuration component types, select the task that you want to perform and run the associated component procedure. If you need to create and check-in a new component based on an existing component elsewhere on your file system, click Create. After checking in the new component, you can run the appropriate component procedure to configure the WebLogic environment according to your application's needs.
You usually configure and deploy these configuration component types before deploying your application. However, you can configure the WebLogic environment after the application components have been deployed by restarting the application after configuration is complete. Redeploy the application to restart it.
This section describes how to create, install, and uninstall these configuration objects. For instructions, see the following procedures.
For more information about configuring these configuration objects, see BEA's Administration Console Online Help.
To use the configuration objects in your WebLogic environment, you must first capture the service as a configuration component. This section provides the following procedures that describe how to capture these objects.
How to Create a Configuration Service describes how to capture configuration objects as components.
How to Configure a JMS Module describes how to create a JMS Module to configure JMS Queues and Topics during deployment.
This procedure describes how to create configuration components. If you plan to use JMS Queues, Topics, Connection Factories, or Destination Keys, you must also create a JMS Module. For more information, see How to Configure a JMS Module.
In the Common Tasks section of the browser interface, click WebLogic 9.
In the Configuration Tasks section of the WebLogic 9 page, click the Create link for the configuration object that you want to capture.
Click the Create link for one of the following configuration components.
Data Source
Multi Data Source
JMS Server
JMS Queues
JMS Topics
JMS File Store
JMS JDBC Store
JMS Connection Factory
JMS Destination Key
Mail Session
The Components Details Edit page is displayed.
Specify the name of the component.
(Optional) Specify a label for the component.
(Optional) Specify a description for the component.
In the WebLogic Admin Server field, select the Managed Server or cluster from which you want to capture the configuration service.
Navigate through the server file system to find the configuration service to capture.
Click Check-in Selected Item.
Confirm the information on the check-in page, then click Continue to Check-in.
To deploy the configuration service in your WebLogic environment, see Installing Configuration Services.
If you plan to deploy JMS Queues, Topics, Connection Factories, or Destination Keys, you must configure a JMS Module. See How to Configure a JMS Module for more information.
If you plan to use JMS Queues, Topics, Connection Factories, or Destination Keys, in your WebLogic environment, you must create a JMS Module container to configure these objects during deployment.
In the Common Tasks section of the browser interface, click WebLogic 9.
In the Configuration Tasks section of the WebLogic 9 page, click the JMS Module: Configure link.
The Plans Details Run page is displayed.
In the Plan Parameters area, select the variable settings for the JMS Module component that you plan to configure.
If the variable settings have been established for this component, select the appropriate settings from the menu.
If the settings are not available from the menu, click Select From List.
The Select Variable Settings From List window displays.
To create a new set of variable settings, select Create Set.
The following list provides commonly updated variables for the JMS Module component.
Required. A name for the new variable set you create
Required. Specifies the name of the JMS Module that you want to deploy.
Required. Specifies the name of the JMS Module descriptor file.
Optional. Specifies any additional information or notes about the JMS Module.
Required. Specifies the name to use to deploy the JMS Module
Required. Specifies the location to install the JMS Module.
Optional. Specifies the path to the WebLogic 9 Plug-In execJava classes.
If you want to use another component's variable settings, click Import Set From Component.
The Import Variable Settings window displays.
If necessary, navigate to the Folder that contains the component with the variable settings you want to import.
Select the component version.
Variable settings can vary between component versions. Ensure that the current components and the component from which you want to import variable settings share common variables. If the component from which you want to import variable settings does not share common variables with the component you want to use in your plan, the variable settings are not imported.
Click Import Variable Settings.
The variables settings are imported, and are displayed in the table.
On the Plan Details Run page, select the variable settings that you imported from the Variable Settings drop-down list, then click Select.
If you want to use component variable settings that are stored in a file, follow these steps.
In the Import Sets from File text field, enter the path to the variable settings file that you want to use.
To browse through the file system to find the appropriate file, click the Browse button.
Click Import.
The variables settings are imported, and are displayed in the table.
If the file from which you want to import variable settings does not share common variables with the component you want to use in your plan, the variable set is not imported.
On the Plan Details Run page, select the variable settings that you imported from the Variable Settings drop-down list, then click Select.
Select the target host or target host set.
Target either a Managed Server or WebLogic Cluster.
The target host must be a member of the com.sun.weblogic#DeploymentTargetHS host set.
Click Run Plan (includes preflight).
After you create your configuration components, you can deploy these services to your Administration Server.
When you install a configuration component, the file or directory is copied to the file system based on the install path. Once that copy finishes, the file or directory is registered with the WebLogic Administration Server.
You can install the component by navigating to the component Details page and running the Install component procedure. Many components require that you edit certain component variables. See WebLogic Configuration Component Types and Variablesfor variables that require custom values.
This procedure describes how to install the following components.
Data Source
Multi Data Source
JMS Server
JMS Queues
JMS Topics
JMS File Store
JMS JDBC Store
JMS Connection Factory
JMS Destination Key
Mail Session
If you want to install JMS Queues, Topics, Connection Factories, or Destination Keys, you must first configure a JMS Module to hold the configuration information for these components. See How to Configure a JMS Module for more information.
In the Common Tasks section of the browser interface, click WebLogic 9.
Click the Components link.
The Components page is displayed.
Navigate to the location of the configuration component that you want to deploy.
Click the Change Folder link to browse through the file system to select the location of the configuration component.
In the Component column, click the configuration component that you want to deploy.
The Components Details page is displayed.
In the Component Procedures table, click the Run link in the Install: Default row.
The Plans Details Run page is displayed.
In the Plan Parameters area, select the variable settings for the configuration component that you plan to deploy.
For information about the required variables for each configuration component, see WebLogic Configuration Component Types and Variables.
If the variable settings have been established for this component, select the appropriate settings from the menu.
If the settings are not available from the menu, click Select From List.
For
The Select Variable Settings From List window displays.
To create a new set of variable settings, select Create Set.
Specify the variable values that are appropriate for your installation.
If you want to use another component's variable settings, click Import Set From Component.
The Import Variable Settings window displays.
If necessary, navigate to the Folder that contains the component with the variable settings you want to import.
Select the component version.
Variable settings can vary between component versions. Ensure that the current components and the component from which you want to import variable settings share common variables. If the component from which you want to import variable settings does not share common variables with the component you want to use in your plan, the variable settings are not imported.
Click Import Variable Settings.
The variables settings are imported, and are displayed in the table.
On the Plan Details Run page, select the variable settings that you imported from the Variable Settings drop-down list, then click Select.
If you want to use component variable settings that are stored in a file, follow these steps.
In the Import Sets from File text field, enter the path to the variable settings file that you want to use.
To browse through the file system to find the appropriate file, click the Browse button.
Click Import.
The variables settings are imported, and are displayed in the table.
If the file from which you want to import variable settings does not share common variables with the component you want to use in your plan, the variable set is not imported.
On the Plan Details Run page, select the variable settings that you imported from the Variable Settings drop-down list, then click Select.
Select the target host or target host set.
In the Plan Parameters section, specify any options that you want to use with the install plan.
Click Run Plan (includes preflight).
If necessary, you can uninstall configuration services from your Administration Server.
When you uninstall a configuration component, the file or directory is removed from the Master Server.
You can uninstall the configuration component by navigating to the component Details page and running the Uninstall component procedure.
This procedure describes how to uninstall the following configuration services.
Data Source
Multi Data Source
JMS Server
JMS Queue
JMS Topic
JMS File Store
JMS JDBC Store
JMS Connection Factory
JMS Destination Key
Mail Session
In the Common Tasks section of the browser interface, click WebLogic 9.
Click the Components link.
The Components page is displayed.
Navigate to the location of the configuration component that you want to uninstall.
Click the Change Folder link to browse through the file system to select the location of the configuration component.
In the Component column, click the configuration component that you want to uninstall.
The Components Details page is displayed.
In the Component Procedures table, click the Run link in the Uninstall: Default row.
The Plans Details Run page is displayed.
Select the target host or target host set.
In the Plan Parameters section, specify any options that you want to use with the uninstall plan.
Click Run Plan (includes preflight).
The following sections contain the WebLogic configuration objects that have been modeled as a component type. These sections also provide the default component names and the component variables that require custom values.
The WebLogic 9 Plug-In provides the Data Source and Multi Data Source component types for capturing database data sources and connection pools. The following table lists the required component variables for these component types.
Table 5–2 Data Source and Multi Data Source Component Information and Variables
For information about how to create and deploy these component types, see Configuring Services for WebLogic Applications.
The WebLogic 9 Plug-In provides several Java Messaging Service (JMS) component types for capturing JMS configuration components. The following table lists the required component variables for these components or component types.
Table 5–3 JMS Component Information and Variables
For information about how to create and deploy these component types, see Configuring Services for WebLogic Applications.
With the WebLogic 9 Plug-In you can capture mail sessions as N1 SPS components, and then deploy these components. The following table lists the required component variables for these components.
Table 5–4 Mail Service Component Information and Variables
For information about how to create and deploy this component type, see Configuring Services for WebLogic Applications.