BEA Logo BEA WebLogic Collaborate Release 1.0

  Corporate Info  |  News  |  Solutions  |  Products  |  Partners  |  Services  |  Events  |  Download  |  How To Buy

 

   WebLogic Collaborate Doc Home   |   Getting Started   |   Previous Topic   |   Next Topic   |   Contents   |   Index

Setting Up the WebLogic Collaborate Environment

 

The following sections explain how to set up the BEA WebLogic Collaborate environment:

Before beginning the following procedures, you should complete the installation of the WebLogic Collaborate software and run the installation verification application, as described in the WebLogic Collaborate Installation Guide.

 


Configuring WebLogic Collaborate for BEA WebLogic Process Integrator

To configure your WebLogic Collaborate environment so that it operates with BEA WebLogic Process Integrator, you need to verify WebLogic Process Integrator Studio and Weblogic Server runtime requirements as described in this section.

  1. Open a command window, and change to the following directory:

    Windows NT %WLC_HOME%\enabler

    UNIX $WLC_HOME/enabler

  2. Open the weblogic.properties file.

    The WebLogic Collaborate installation process edits the weblogic.properties file to match your environment. The proper repository pool should be uncommented and configured to the database you selected at install time. You only need to edit weblogic.properties if a problem exists in these configurations.

    This step describes how to check the weblogic.ejb.deploy property and the weblogic.jdbc.connectionPool.wlpiPool property configurations.

  1. Close the weblogic.properties file.

  2. Create the WebLogic Process Integrator repository database tables by executing one of the following commands:

Note: By default, the wlpi_database.ddl scripts do not drop tables. If you have existing tables that you wish to drop, edit the appropriate script (wlpi_oracle.ddl, wlpi_cloud.ddl or wlpi_mssql.ddl).

  1. Change directory to the directory where you installed WebLogic Collaborate:

    Windows NT %WLC_HOME%

    UNIX $WLC_HOME

  2. (UNIX only) Modify the setenv.sh script, if necessary, to define the following environment variables.

    Variable

    Definition

    JAVA_HOME

    The directory path where you installed the JDK software. For example:

    JAVA_HOME =/usr/local/JDK1.2.2

    WL_HOME

    The directory path where you installed the WebLogic Server software. For example:

    WL_HOME = /usr/local/weblogic

    WLC_HOME

    The directory path where you installed the WebLogic Collaborate software. For example:

    WLC_HOME = /usr/local/WLCollaborate

  3. Execute the following script to set the WebLogic Collaborate environment variables:

    Windows NT

    D:\WLCollaborate> setEnv.cmd

    UNIX

    prompt> setenv.sh

  4. Change directory to the enabler subdirectory:

    Windows NT

    D:\WLCollaborate> cd enabler

    UNIX

    prompt> cd enabler

  5. Execute the following script, which starts WebLogic Server with WebLogic Process Integrator:

    Windows NT

    D:\WLCollaborate\enabler> startweblogic.cmd

    UNIX

    prompt> ../startwebLogic.sh

Note: WebLogic Server must be running when you start WebLogic Process Integrator Studio (refer to "Starting WebLogic Process Integrator Studio" on page 2-7).

 


Troubleshooting Your WebLogic Process Integrator Configuration

If you observe binding errors on the listening port, make sure you do not have another instance of WebLogic Server running using the same port (that is, another command window with the startwebLogic script running).

If WebLogic Server is unable to create a connection pool, as indicated by exceptions displayed in the command window, check that the connection pool property, weblogic.jdbc.connectionPool.wlpiPool, is specified correctly.

If you continue to have a problem, make sure that the database server is running and accessible and that you have the appropriate permissions.

 


Starting WebLogic Process Integrator Studio

WebLogic Process Integrator Studio is the workflow editing component of the WebLogic Process Integrator software. You use WebLogic Process Integrator Studio to create the workflows for conversations and business processes. Running the WebLogic Process Integrator Verifier Example, includes an example that shows how you can use WebLogic Process Integrator Studio.

To successfully connect to WebLogic Process Integrator, WebLogic Server must still be running after you complete the steps described in Configuring WebLogic Collaborate for BEA WebLogic Process Integrator.

Before building and running the WebLogic Process Integrator example application, verify that you can start WebLogic Process Integrator Studio and connect to WebLogic Server.

Follow these steps to start WebLogic Process Integrator Studio and connect to WebLogic Server:

  1. Start a new command window, and change directory to the location where WebLogic Collaborate is installed:

    Windows NT %WLC_HOME%

    UNIX $WLC_HOME

  2. Execute the following script to set the WebLogic Collaborate environment variables:

    Windows NT

    D:\WLCollaborate> setEnv.cmd

    UNIX

    prompt> ../setenv.sh

  3. Change directory to the wlpi subdirectory of the WebLogic Collaborate root directory:

    Windows NT

    D:\WLCollaborate> cd wlpi

    UNIX

    prompt> cd wlpi

  4. Execute the following script to start WebLogic Process Integrator Studio, and display the WebLogic Process Integrator Studio login dialog box.

    Windows NT

    D:\WLCollaborate> Studio.cmd

    UNIX

    prompt> ../studio.sh

  5. Enter the BEA username (bea) and password (12345678) in the dialog box.

  6. In the Server text field, enter the following:

    t3://localhost:7501

    where localhost represents the name of your machine.

  7. Click OK.

If you are unable to log in: