Deploying WebLogic Integration Solutions

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

Deploying Resource Adapters

This section describes how to deploy resource adapters after you start the servers in your cluster. For information about how to set up and start your clustered deployment, and which adapters are deployed by default in your ProductName domains, see Configuring a Clustered Deployment.

After you start the servers in your cluster, you can deploy resource adapters by using one of the following methods:

 


Using the weblogic.Deployer Command-Line Utility

The weblogic.Deployer utility is a Java-based deployment tool that provides a command-line interface to the WebLogic Server deployment API. For information, see weblogic.Deployer Utility.

Deploying the Sample DBMS Adapter

The following example demonstrates how to deploy the sample DBMS adapter, which you received with your ProductName software, into a cluster named MyCluster. The cluster contains two managed servers: MyServer1 and MyServer2. The following table describes the cluster configuration.

Table 0-1 Cluster Configuration
Server Name
Server Type
Listen Address:Port
MyAdmin
Administration Server
127.0.0.5:7005
MyServer1
Managed Server
127.0.0.1:7001
MyServer2
Managed Server
127.0.0.1:7002

Use the following command to deploy the DBMS adapter in this example cluster.

Note: The following code listing represents a single command. It is shown here on multiple lines for the sake of readability. On your command line, however, it must be entered as one physical line.
Listing A-1 weblogic.Deployer Command Line to Deploy the DBMS Adapter
java -classpath WL_HOME\lib\weblogic.jar weblogic.Deployer
-adminurl t3://127.0.0.5:7005 -user username -password password
-upload -stage
-source WL_HOME\adapters\dbms\lib\BEA_WLS_DBMS_ADK.ear
-name BEA_WLS_DBMS_ADK
-targets BEA_WLS_DBMS_ADK.rar@MyCluster
-activate

In the preceding command line:

 


Using the WebLogic Server Administration Console

  1. Start the WebLogic Server Administration Console.
  2. For the procedure to start the WebLogic Server Administration Console (and the administration server, if necessary), see Overview of WebLogic Server System Administration.

  3. In the WebLogic Server Administration Console navigation tree, select (Domain_NameArrow symbolDeploymentsArrow symbolApplications) the Applications node in the domain in which you want to deploy an adapter.
  4. Click Configure a New Application.
  5. The WebLogic Server wizard is displayed in the main console window. It guides you through the process of configuring and deploying your adapter.

  6. Locate the EAR, WAR, JAR, or RAR file you would like to configure for use with WebLogic Server. For example, to deploy the sample DBMS adapter, which you received with your ProductName software, select the BEA_WLS_DBMS_ADK.ear file in the following directory:
  7.  WL_HOME\adapters\dbms\lib\BEA_WLS_DBMS_ADK.ear

    In the preceding line, WL_HOME represents the directory in which you installed ProductName, for example, C:\bea\weblogic81\integration.

    Note: When you configure an exploded application or component directory, WebLogic Server deploys all components it finds in and below the specified directory.
  8. Complete the configuration and deployment by responding to the prompts in the wizard. For example, you must specify the targets and the staging mode. For more information, see the -targets and -stage options in Using the weblogic.Deployer Command-Line Utility.

For information about using the WebLogic Server Administration Console to deploy applications, see Enterprise Applications in the Adminstration Console Online Help.


  Back to Top       Previous  Next