bea.com | products | dev2dev | support | askBEA
 Download Docs   Site Map   Glossary 
Search

Starting, Stopping, and Customizing

 Previous Next Contents Index View as PDF  

Getting Started

BEA WebLogic Integration extends the core infrastructure and features of WebLogic Server to provide a complete solution for developing, deploying, and integrating applications and business processes from within and across the enterprise.

This section provides the information you need to get started with WebLogic Integration. It explains how to configure a WebLogic Server domain to deploy WebLogic Integration resources. It also provides an overview of the components and passwords, and it describes how to start WebLogic Integration in a sample or custom domain.

This section includes the following topics:

 


WebLogic Server Domains

A WebLogic Server domain is a collection of WebLogic Server resources managed as a single unit. A domain includes one or more instances of WebLogic Server and may include WebLogic Server clusters.

WebLogic Integration is a collection of applications and resources—EJBs, Web applications, JDBC connection pools, and so on—that are deployed in a domain to provide a unified platform for developing comprehensive e-business solutions.

Every WebLogic Server domain includes one and only one administration server; any other WebLogic Server instances in the domain are managed servers. Managed servers can be organized into clusters to simplify the task of deploying resources on a set of servers. The configuration for an entire domain is maintained on the administration server. A managed server obtains its configuration at startup from the administration server.

The configuration for a domain is defined in Extensible Markup Language (XML) and stored in a file named config.xml. This file is located in the following directory:

domain/config.xml

The name of the directory (that is, the value of domain) is the name of the domain, which can be located anywhere on your system. For convenience, the scripts required to start and stop an administration server are often located in the same directory as the config.xml file.

The administration server is the central point of control for an entire domain. The WebLogic Server Administration Console is a convenient, graphical interface used to carry out administrative tasks. Resource parameters, server instances, and deployments are defined in the config.xml file maintained by the administration server, through the WebLogic Server Administration Console.

For general information about the administration of WebLogic Server domains, see Overview of WebLogic Server Management in the BEA WebLogic Server Administration Guide.

The following sections describe the WebLogic Integration samples domain and the WebLogic Integration configuration templates that can be used with the BEA Configuration Wizard to create custom domains. The samples domain can be used to explore the capabilities and features demonstrated in the sample applications.

As the starting point for developing and testing your own WebLogic Integration solutions, we recommend using a custom domain based on one of the configuration templates provided with WebLogic Integration.

 


WebLogic Integration Samples Domain

A samples domain is created in which you can run the WebLogic Integration sample applications if you performed one of the following sets of tasks during installation:

All WebLogic Integration functionality is supported in the samples domain. In addition, Web applications, custom JMS queues, and other resources required to run the samples are configured.

The WebLogic Integration samples domain is configured as follows:

The samples domain directory also contains several files used to control the deployment and configuration of WebLogic Integration resources and applications for the domain:

An example of each of these files is provided in WebLogic Integration Sample Configuration Files.

In addition to the commands described here, a number of others are used to set up the WebLogic Integration environment. These commands are described in WebLogic Integration Commands.

 


WebLogic Integration Configuration Templates

The BEA Configuration Wizard, which is described in Using the Configuration Wizard, is a tool that can be used to create new WebLogic Server domains. The servers included in a domain created with the Configuration Wizard, and the resources—EJBs, Web applications, JDBC connection pools, and so on—that are deployed on each server, depend on the Configuration Wizard template you select and your responses to the Configuration Wizard prompts.

When you install WebLogic Integration as part of BEA WebLogic Platform, the Configuration Wizard templates described in the following table are available for use with the Configuration Wizard.

Use the template for a . . .

To configure a domain in which you can develop solutions that use the following functionality provided by WebLogic Integration . . .

WebLogic Integration (WLI) Domain

Full range: application integration, data integration, business process management (BPM), and B2B integration

Enterprise Application Integration (EAI) Domain

BPM, application integration, and data integration

Business Process Management (BPM) Domain

BPM and data integration

These templates support the creation of the three most commonly used WebLogic Integration development environments. In most situations, you can expect a domain created with one of these templates to meet your evaluation, development, and testing needs.

Detailed information about each template is provided in Configuration Wizard Template Reference.

As described in Using the Configuration Wizard, when you use the Configuration Wizard to set up the domain configuration stored on the server, you are prompted to assign a domain name (domain) and to specify the location in which the domain directory will be installed. The files required by the server are installed in the specified location under the domain directory.

For example, if you accept the default location, BEA_HOME/user_projects, the files required by the administration server are installed in the following directory:

BEA_HOME/user_projects/domain

By convention, DOMAIN_HOME is used to indicate this complete path to the root of a domain.

Like the WebLogic Integration samples domain, the following files are required by the administration server in a domain created using one of the WebLogic Integration domain templates:

An example of each of these files is provided in WebLogic Integration Sample Configuration Files.

Depending on the template you select to create the domain, additional commands may be included. For a complete description of the files and commands installed by each template, see Configuration Wizard Template Reference. For a description of the available WebLogic Integration commands, see WebLogic Integration Commands.

As you become more familiar with WebLogic Integration, you can customize a domain created with the Configuration Wizard, as described in Creating and Customizing a New Domain.

 


Administration and Design Tools

As described in Introducing BEA WebLogic Integration, WebLogic Integration includes the following design and administration tools:

Note: The Worklist client application is deprecated as of this release of WebLogic Integration. For information about the features that are replacing the Worklist, see the BEA WebLogic Integration Release Notes.

In WebLogic Integration Administration and Design Tools, you will find:

 


About the WebLogic Integration Repository

The WebLogic Integration repository is the database that maintains the information required by WebLogic Integration. The following tables make up the repository.

Table 1-1 WebLogic Integration Repository Tables

This set of tables . . .

Contains . . .

Common tables
(also known as the XML repository)

XML, DTDs, XLST style sheets, and other entities used by WebLogic Integration

Workflow tables

Static workflows and dynamic run-time information

JMS queue tables

Message state (dynamic)

B2B configuration tables

Static configuration information required to support B2B integration. For more information about the data stored in these tables, see Working with the Repository in Administering B2B Integration.

Persistence tables

Persistence state (dynamic)


 

For the information required to initialize the repository for a domain, see Domain Configuration Requirements.

 


WebLogic Integration Users and Passwords

Default users and passwords are configured in two domains:

Table  1-2 describes these users and passwords.

Table 1-2 Default User Names and Passwords

User Name

Password

Description

Update Considerations

For the samples domain: system

You are prompted to specify the server user name when you use the Configu- ration Wizard to create a domain.

For the samples domain: security

You are prompted to specify the server password when you use the Configu- ration Wizard to create a domain.

Login used to:

Update this password from the WebLogic Server Administration Console.

wlisystem

wlisystem

Internal login used by the B2B and process engines

Warning: This password must be updated using the B2B Console. Do not use the WebLogic Server Administration Console.

admin

security

Default BPM logins used to log on and connect to the process engine and XML repository from the WebLogic Integration Studio, Worklist, and Format Builder clients

Update (add or delete) user names from the Studio.

Update an existing user password from the WebLogic Server Administration Console.

mary

password

joe

password


 

To maximize system security, you can change the default passwords, as described in Updating Passwords.

When you create a domain based on one of the configuration templates, a default FileRealm security realm is configured. The fileRealm.properties file reflects the initial configuration of this security realm. In addition to the FileRealm (which always exists) a default RDBMSRealm is also available to support BPM security. For additional information about the BPM security model, and instructions for enabling the RDBMSRealm or setting up an alternate BPM security realm, see Understanding the BPM Security Model.

Security issues related to WebLogic Integration B2B functionality are discussed in Implementing Security with B2B Integration.

 


Domain Configuration Requirements

The following database configuration tasks must be performed in any WebLogic Integration domain:

The following tools are available to assist you in the database initialization process:

Configuring the Database for a Domain

The WebLogic Integration Database Wizard is a tool that automates database configuration tasks. When you use the Configuration Wizard to create a WebLogic Integration domain, a domain-specific version of the Database Wizard is installed in the new domain. If you have installed the samples domain, a domain-specific version of the Database Wizard is also included in that domain.

The Database Wizard provides the following options:

When you use the Configuration Wizard to create a new domain, you must use the Database Wizard to initialize the repository. For instructions, see Using the Database Wizard. After you have initialized the repository, you can start the administration server for the domain, as described in Starting WebLogic Integration.

The information you need to set up and start the samples domain is described in the following section.

 


Configuring and Starting the Samples Domain

When you execute the RunSamples.cmd (Windows) or RunSamples (UNIX) command for the first time after installing WebLogic Integration, or after you have used the Database Wizard to switch the samples domain to a new database, the command performs the following tasks:

Note: To successfully display the samples launcher page, your Web browser must meet the requirements described in Web Browser Configuration Requirements.

Execute the RunSamples command by performing the steps appropriate for your platform:

On both Windows and UNIX platforms, command progress and messages are displayed. Several minutes may be required for all tasks to complete. When the command has completed, the following actions occur:

The RunSamples command both configures the samples database as required, and starts WebLogic Integration in the samples domain (the server is booted in the background). After you execute the RunSamples command for the first time, and the database is properly configured, you can start WebLogic Integration in the samples domain in either of the following ways:

Note: If you quit the browser while the server is still running, you can display the samples launcher page as described in Starting the Samples Launcher.

 


Starting WebLogic Integration

As described in WebLogic Integration Samples Domain, when you execute the startWeblogic.cmd (Windows) or startWeblogic (UNIX) command for a domain, WebLogic Server is started, and the WebLogic Integration applications and resources specified in the config.xml file for the domain are deployed on the server.

The following sections provide instructions for executing the start command on a Windows or UNIX system.

Starting WebLogic Integration on Windows

On a Windows system, you can start WebLogic Integration through menus or from the command line.

Note: If you are already running an instance of WebLogic Server that uses the same listen port as the one to be used by the server you are starting, you must stop the first server before executing the start command.

Starting WebLogic Integration Through Menus

To start WebLogic Integration using menus, do one of the following:

A command window is launched, and startup messages are displayed. When the messages described in Startup Complete Messages are displayed, startup has completed successfully.

Starting WebLogic Integration from the Command Line

To start WebLogic Integration from the command line:

  1. Choose Start—>Run.

  2. Enter cmd in the Open text box and click OK.

  3. Do one of the following:

  4. Start the server by entering:
    startWeblogic

When the messages described in Startup Complete Messages are displayed, startup has completed successfully.

Starting WebLogic Integration on UNIX

Note: If you are already running an instance of WebLogic Server that uses the same listen port as the one to be used by the server you are starting, you must stop the first server before executing the start command.

To start WebLogic Integration on a UNIX system:

  1. Do one of the following:

  2. Start the server by entering:
    . ./startWeblogic

    Note: If you want to run the server as a background task, use the nohup command to ensure that the startWeblogic command executes without exiting (or hanging up). For example: nohup startWebLogic &

When the messages described in the following section are displayed, startup has completed successfully.

Startup Complete Messages

When the following messages are displayed, WebLogic Integration has started successfully:

<Month DD, YYYY hh:mm:ss meridianAbbreviation Timezone>  <Notice>
<BPM> <000000> <Started WebLogic Integration - BPM Server version 7.0>

<Month DD, YYYY hh:mm:ss meridianAbbreviation Timezone> <Notice>
<Management> <141052> <Application Poller started for development server.>

<Month DD, YYYY hh:mm:ss meridianAbbreviation Timezone> <Notice>
<WebLogicServer> <000354> <Thread "ListenThread.Default" listening on port 7001>

<Month DD, YYYY hh:mm:ss meridianAbbreviation Timezone> <Notice>
<WebLogicServer> <000331> <Started WebLogic Admin Server
"myserver" for domain "samples" running in Development Mode>

<Month DD, YYYY hh:mm:ss meridianAbbreviation Timezone> <Notice>
<WebLogicServer> <000365> <Server state changed to RUNNING>

<Month DD, YYYY hh:mm:ss meridianAbbreviation Timezone> <Notice>
<WebLogicServer> <000360> <Server started in RUNNING mode>

Depending on the configuration of the domain, additional messages may be displayed.

To shut down WebLogic Integration gracefully, run the stopWebLogic command, as described in Stopping WebLogic Integration on Windows. Do not stop the server by closing the command window or by pressing Ctrl+c.

 


Stopping WebLogic Integration

You can stop your entire WebLogic Integration system—WebLogic Server and all the WebLogic Integration applications and resources deployed in a preconfigured domain—by executing the stopWeblogic.cmd (Windows) or stopWeblogic (UNIX) command located in the domain directory. The following sections provide instructions for executing the stop command on a Windows or UNIX system.

Stopping WebLogic Integration on Windows

To stop WebLogic Integration, complete the following procedure:

  1. Choose Start—>Run.

  2. Enter cmd in the Open text box, and then click OK.

  3. Do one of the following:

  4. Stop WebLogic Integration by entering:
    stopWeblogic

    Shutdown messages are displayed, as shown in Figure  1-1.

    Figure 1-1 Shutdown Sequence Messages


     

Stopping WebLogic Integration on UNIX

To stop WebLogic Integration on a UNIX system:

  1. Do one of the following:

  2. Stop WebLogic Integration by entering:
    . ./stopWeblogic

    Shutdown messages are displayed, as shown in Figure  1-1.

 


Next Steps

To learn how to start each of the WebLogic Integration administration and design tools, see WebLogic Integration Administration and Design Tools.

We highly recommend that you explore the sample applications. This is one of the best ways to learn how you can use WebLogic Integration to connect Web applications, databases, enterprise information systems, processes, and business partners.

If you have not already done so, we recommend that you:

The WebLogic Integration sample (listed as "WLI Sample" on the samples launcher page), showcases how you can use many of the features of WebLogic Integration to integrate existing systems, streamline complex business processes, and connect business partners. Learning to Use BEA WebLogic Integration guides you through this example.

 

Back to Top Previous Next