![]() |
![]() |
|
|
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
For instructions, see Installing and Configuring BEA WebLogic Process Integrator.
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.
cd $WLC_HOME/config/samples/shortcuts/
sh BulkloadHelloPartner.sh
For the Messaging API sample:
cd $WLC_HOME/config/samples/shortcuts/
sh BulkloadMessagingAPI.sh
The data, schemas, and logic plug-ins required to run the samples are loaded. Wait for the bulkloading process to complete.
Note: See also "Working With the Bulk Loader" and "Working with the Repository" in Administering BEA WebLogic Collaborate.
cd $WLC_HOME/config/samples/
sh startWeblogic.sh
When WebLogic Collaborate is started,WebLogic Process Integrator is started, too.
For the Messaging API sample, skip to Step 7.
cd $WLC_HOME/config/samples/shortcuts
sh studio.sh
To log in, use the following information:
Make sure that ORG1 is selected in the Studio organization list.
Windows:
Windows: %WLC_HOME%\config\samples\workflows
UNIX: $WLC_HOME/config/samples/workflows
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:
Windows: From the Start menu, choose WebLogic Integration 2.0
UNIX: Run the following shell script:
cd $WLC_HOME/config/samples/shortcuts
sh SwitchDBTodb_name.sh.
cd %WLPI_HOME%\ddl
sqlplus ORACLE_USER/ORACLE_PASSWORD@ORACLE_SERVICENAME@wlpi_oracle.ddl
cd %WLINT_HOME\repository\oracle
createDD oracle
cd %WLC_HOME%\bin
createDB oracle
cd %WLPI_HOME%\ddl
osql -e -n -S MSSQL_HOSTNAME -U MSSQL_USER -P MSSQL_PASSWORD -i wlpi_mssql.ddl
cd %WLINT_HOME%\repository\mssql
createDB mssql
cd %WLC_HOME%\bin
createDB mssql
cd $WLPI_HOME/ddl
sqlplus ORACLE_USER/ORACLE_PASSWORD@ORACLE_SERVICENAME@wlpi_oracle.ddl
cd $WLINT_HOME/repository/oracle
sh createDB.sh oracle
cd $WLC_HOME/bin:
sh createDB.sh oracle
To change to SQL Server on a UNIX system, manually edit the SQL database-specific information in the following files, and bulkload the repository before switching databases.
$WLC_HOME/config/samples/config.MSSQL7
$WLC_HOME/config/samples/samplesDBManagement/bulkloading/mssql7/HelloPartnerBulkloadWrapper.xml
$WLC_HOME/config/samples/samplesDBManagement/bulkloading/mssql7/MessagingAPIBulkloadWrapper.xml
$WLC_HOME/config/samples/samplesDBManagement/mssql7/setDBVars.sh
For more information about creating the database schemas required, see "Step 7: Creating the WebLogic Collaborate Tables" in Installing BEA WebLogic Collaborate in Installing BEA WebLogic Collaborate.
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
cd $WLC_HOME/config/samples/shortcuts/
sh BulkloadHelloPartner.sh
For the Messaging API sample:
cd $WLC_HOME/config/samples/shortcuts/
sh BulkloadMessagingAPI.sh
The data, schemas, and logic plug-ins required to run the samples are loaded. Wait for the bulkloading process to complete.
Note: See also "Working With the Bulk Loader" and "Working with the Repository" in Administering BEA WebLogic Collaborate.
cd $WLC_HOME/config/samples/
sh startWeblogic.sh
When WebLogic Collaborate is started, WebLogic Process Integrator is started, too.
For the Messaging API sample, skip to Step 7.
cd $WLC_HOME/config/samples/shortcuts/
sh studio.sh
The default username and password are joe (lowercase) and password (lowercase), respectively.
Make sure that ORG1 is selected in the Studio organization list.
Windows:
Windows: %WLC_HOME%\config\samples\workflows
UNIX: $WLC_HOME/config/samples/workflows
![]() |
![]() |
![]() |
|
Copyright © 2001 BEA Systems, Inc. All rights reserved.
|