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

Configuring a Single-Server Deployment

This section describes the tasks that you must perform to configure WLI for deployment in a single Oracle WebLogic Server environment.

To set up and deploy WLI in a single-server configuration, complete the following steps:

 


Step 1. Configure a Database

Configure one of the following databases for your domain:

Notes: It is important to configure your database appropriately for production use. You must provide adequate space to store data and log messages, and follow best practices for administering your database.
Note: You can configure your database to use concurrent access.

For information about database tuning requirements associated with WLI applications, see Preparing Your Database and the database-specific notes in Maintaining Availability.

For the latest information about specific databases, see the Oracle WebLogic Integration 10g Release 3 (10.3) Release Notes.

 


Step 2. Prepare the WLI Domain

You begin the definition of a WLI deployment by creating a domain using the Configuration Wizard.

Note: The procedure described in this section for setting up your domain is based on the assumption that you are running the Configuration Wizard in GUI mode from the Windows Start menu. For information about using the Configuration Wizard in different modes, see Creating WebLogic Domains Using the Configuration Wizard.

To create a WLI domain using the Configuration Wizard, complete the following steps:

  1. From the Start Menu, choose ProgramsArrow symbolOracle WebLogic Arrow symbolWebLogic Server 10g R3 Arrow symbolTools Arrow symbolConfiguration Wizard.
  2. The Welcome page of the Configuration Wizard appears.

  3. Select Create a new WebLogic domain and click Next. The Select Domain Source page appears.
  4. As you proceed through the Configuration Wizard, several pages will appear in a sequence. You need to specify your settings on each page and click Next to proceed to the subsequent page.Table 2-1 lists the pages and the options that you need to select to create the domain successfully.

    Table 2-1 Configuring the Domain Using the Configuration Wizard
    Page in the Configuration Wizard Dialog Box
    Recommendation Action
    Select Domain Source
    Select Generate a domain configured automatically to support the following Products option for the following products:
    • WebLogic Server (Required)
    • WebLogic Integration
    Configure Administrator Username and Password
    Specify the following mandatory credentials:
    User name = weblogic
    User password = weblogic
    Confirm user password = weblogic
    Configure Server Start Node and JDK
    Select the appropriate mode (development or production) in the WebLogic Domain Startup Mode column.
    Select the appropriate JDK in the JDK Selection column.
    Customize Environment and Service Settings
    Select Yes, to configure the settings defined in the domain source.
    Configure RDBMS Security Store Database
    Choose to create, change or remove RDBMS support or retain the template settings. You can specify the database type, driver, class name, user credentials, and connection details.
    Create the RDBMS tables in your datastore prior to booting your domain. The scripts required by a Database Administrator are available in server/lib directory of Oracle WebLogic Server.
    Configure the Administration Server
    Accept all the default values.

    Note: When you configure the administration server, we recommend that you accept the default Server Name (AdminServer), as prompted by the Configuration Wizard.

    Configure Managed Servers
    If you want to distribute your WebLogic configuration across managed servers, click Add, enter a name and the required configuration details.
    Configure Clusters
    If you want to distribute your WebLogic configuration across managed clusters, click Add, enter a name and the required configuration details.
    Configure Machines
    If you want to distribute your WebLogic configuration across physical machines, click Add, enter a name and the required configuration details.
    Configure JDBC Data Sources
    Accept the defaults for cgDataSource and bpmArchDataSource. Add any application-specific data sources.

    Note: No more than one non-XA datasource can be used in the same transaction. Data sources cannot share an XA JDBC connection pool.

    Run Database Scripts
    Click on cgDataSource-nonXA in the Available JDBC Database Scripts, select all the SQL scripts from the Available SQL Files and Database Loading Options and click Run Scripts.
    Perform the above procedure for p13nDataSource in the Available JDBC Database Scripts.
    Note: When preparing a production environment (working in noniterativedev mode), you can create the WLI database tables. For the procedure to create these tables, see “Creating the Oracle WebLogic Integration Tables” in Configuring a Production Database.
    Configure JMS File Stores
    Accept the defaults and add any file stores needed by the application.
    Review WebLogic Domain
    Review the selections you made so far.
    Create WebLogic Domain
    On the Create WebLogic Domain page, specify the following values for each field and click Create:
    • Domain name: Give a domain name
    • Domain Location: <Base Directory>\user_projects\domains
    • Application Location: <Base Directory>\user_projects\applications
    After the domain is created successfully, the Creating Domain page is displayed
    Select the Start Admin Server check box and click Done to proceed.

When you complete the domain configuration using the Configuration Wizard, your new domain is created in the location you specified.

Your WLI domain includes two configuration files:

For more information about config.xml, see Understanding Domain Configuration.

For information about wli-config.properties, see wli-config.properties Configuration File.

 


Step 3. Configure WebLogic Integration Security

If you want to configure SSL for your domain, you can do so by using the Oracle WebLogic Server Administration Console. For information about the tasks you must complete, see:

For general information about configuring security for WebLogic applications, see Security.

 


Step 4. Start and Monitor the Server

This section describes how to start, monitor, and shut down the server in your WLI domain:

For information about starting servers for WebLogic applications, see Starting and Stopping Servers: Quick Reference.

Starting the Server

To start the server, complete the following procedure:

From the Start menu, choose All Programs > Oracle WebLogic > User Projects > Domain Name > Admin Server Console.

For more information about starting the server, see Starting and Stopping Servers: Quick Reference.

Monitoring and Shutting Down Your Server

Once startup is complete, you can use the Oracle WebLogic Server Administration Console to verify deployments and status. For information about using Oracle WebLogic Server Administration Console to monitor your server, see Monitor Servers.

If you need to shut down your WLI application, use the Oracle WebLogic Server Administration Console.

Note: It is recommended that you do not close the command window or press Ctrl+c to stop WLI.

For the procedure to shut down your application gracefully, see Control graceful shutdowns.

 


Step 5. Deploy a WLI Application

Once you have configured and secured your WLI domain and added the queues and database tables for your application to that domain, you can use the Oracle WebLogic Server Administration Console to deploy the EAR file that contains your WLI application.

If you did not configure all the queues necessary for your application while configuring your WLI domain, you can configure them now using the Oracle WebLogic Server Administration Console.

Note: Async request and async request error queues, as well as conversational state database tables, are created automatically for applications in the development environment.
Note: In the production environment, however, you must create the queues and tables manually.
Note: If your WLI solution uses the RDBMS Event Generator, be sure to configure the Redelivery Delay Override setting appropriately for wli.internal.egrdbms.queue. For the procedure to configure the Redelivery Delay Override, see RDBMS Event Generator.

For the procedure to deploy an EAR file, see Enterprise Applications in the Oracle WebLogic Server Administration Console Online Help.

For information about deploying through the command line, see weblogic.Deployer Command-Line Reference.

For examples of automation scripts that build, configure, and deploy WLI applications outside of an interactive console environment, see WebLogic Integration Sample Code.

Note: Code samples and utilities are posted on OTN for your convenience. They are not products supported by Oracle.
Note: As your business requirements change, you may need to develop and deploy new versions of your WLI application. For more information see, Deploying Applications to Oracle WebLogic Server.

  Back to Top       Previous  Next