BEA Logo BEA Collaborate Release 2.0

  BEA Home  |  Events  |  Solutions  |  Partners  |  Products  |  Services  |  Download  |  Developer Center  |  WebSUPPORT

 

   Collaborate Documentation   |   Samples Guide   |   Previous Topic   |   Next Topic   |   Contents

Getting Started

 

The WebLogic Collaborate samples demonstrate implementations of WebLogic Collaborate features. In addition, successful installation and setup of the Hello Partner sample provides verification for installation and basic configuration.

This section includes the following topics:

 


Samples Overview

The WebLogic Collaborate samples have the following attributes in common:

With the exception of the Hello Partner sample, which verifies basic communication protocols, the samples demonstrate WebLogic Collaborate solutions to plausible business problems. The following samples are described in this guide:

Use the WebLogic Collaborate Administration Console to export the sample workflow templates, and then use the WebLogic Process Integrator Studio to change the templates as appropriate. For details, see Administering BEA WebLogic Collaborate and Using the BEA WebLogic Process Integrator Studio, respectively.

 


Installing the Samples

Before you can run some samples, you must make unique configuration changes or populate a database. For specific installation and configuration instructions, see the documentation for the appropriate sample. Instructions are provided for both Windows and UNIX systems:

Note: The samples installation is configured with a single WebLogic Collaborate instance. However, in an actual peer-to-peer type of installation, each trading partner (with the exception of the lightweight clients) has a WebLogic Collaborate installation, configured for the appropriate delivery channels.

This section describes two types of installations:

Installing Using the Default Database

  1. Install and configure WebLogic Process Integrator.

    For instructions, see Installing and Configuring BEA WebLogic Process Integrator.

  2. Install and configure WebLogic Collaborate.

    The samples, including all associated files, schemas, and scripts, are loaded when you install WebLogic Collaborate. For full installation and configuration instructions, see Installing BEA WebLogic Collaborate.

  3. Bulkload the sample data file into the repository, using the procedure appropriate for your platform.

  4. Start WebLogic Collaborate, using the procedure appropriate for your platform:

  5. Start the WebLogic Process Integrator Studio, using the procedure appropriate for your platform:

  6. Using the WebLogic Process Integrator Studio, import the JAR files that contain the workflows and business operations used by the samples.

    Windows:

  7. Run a sample by completing the appropriate procedure.

Installing Using Other Supported Databases

The WebLogic Collaborate samples are configured to use Cloudscape as the default database. In addition to Cloudscape, WebLogic Collaborate supports the Oracle and Microsoft SQL databases. For more information about the databases supported by WebLogic Collaborate, see Administering BEA WebLogic Collaborate.

If you prefer to use a database other than Cloudscape when running the samples, you must execute the following steps:

  1. Specify an alternate database during product installation. See Installing BEA WebLogic Collaborate.

  2. Switch the sample database configuration, specifying one of the following as the value of db_name: Cloudscape, Oracle, or MSSQL7.

    Windows: From the Start menu, choose WebLogic Integration 2.0—>Collaborate—>Samples—>Switch DB Config—>Change Database, DBname—>Use db_name

    UNIX: Run the following shell script:

    cd $WLC_HOME/config/samples/shortcuts
    sh SwitchDBTo
    db_name.sh.

  3. Create the schemas for the database you are using.

    1. Run the following script:
      cd %WLPI_HOME%\ddl
      sqlplus ORACLE_USER/ORACLE_PASSWORD@ORACLE_SERVICENAME@wlpi_oracle.ddl

    2. Create the common repository by running the following script:
      cd %WLINT_HOME\repository\oracle
      createDD oracle

    3. Create the WebLogic Collaborate repository by running the following script:

      cd %WLC_HOME%\bin
      createDB oracle


    1. Run the following script:
      cd %WLPI_HOME%\ddl
      osql -e -n -S MSSQL_HOSTNAME -U MSSQL_USER -P MSSQL_PASSWORD -i wlpi_mssql.ddl

    2. Create the common repository:
      cd %WLINT_HOME%\repository\mssql
      createDB mssql

    3. Create the WebLogic Collaborate repository by running the following script:
      cd %WLC_HOME%\bin
      createDB mssql

    1. Run the following script:
      cd $WLPI_HOME/ddl
      sqlplus ORACLE_USER/ORACLE_PASSWORD@ORACLE_SERVICENAME@wlpi_oracle.ddl

    2. Run the next script:
      cd $WLINT_HOME/repository/oracle
      sh createDB.sh oracle

    3. Run the final script:
      cd $WLC_HOME/bin:
      sh createDB.sh oracle

Note: To recreate the Cloudscape database, you must perform the following steps appropriate for your operating system.

Windows: Navigate to the appropriate directories and execute the following commands:

cd %WLINT_HOME%\repository\cloudscape
rmdir db
cd %WLPI_HOME%\bin
createCloudscape.cmd
cd %WLC_HOME%\bin
createDB cloudscape

UNIX: Navigate to the appropriate directories and execute the following scripts:

cd $WLINT_HOME/repository/cloudscape
rm -rf db
cd $WLPI_HOME/bin
sh createCloudscape.sh
cd $WLC_HOME/bin
sh createDBsh cloudscape

  1. Bulkload the sample data file into the repository, using the procedure appropriate for your platform.

  2. Start WebLogic Collaborate, using the procedure appropriate for your platform:

  3. Start the WebLogic Process Integrator Studio, using the procedure appropriate for your platform:

  4. When using the WebLogic Process Integrator Studio, import the JAR files that contain the workflows used by the samples.

    Windows:

  5. Run a sample by completing the appropriate procedure.

 

back to top previous page next page