BEA Logo BEA WebLogic Collaborate Release 1.0

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

 

   WebLogic Collaborate Doc Home   |   Installation Guide   |   Previous Topic   |   Next Topic   |   Contents   |   Index

WebLogic Collaborate Installation on UNIX Systems

 

The following sections describe WebLogic Collaborate installation procedures for a UNIX system:

 


Installation Prerequisites

Before you install the WebLogic Collaborate software, you must have the following software and hardware configuration for your machine:

Note: The Java 2 SDK software must be installed to run the WebLogic Collaborate sample applications, including the installation verification example. To avoid Java errors, modify PATH so that $JAVA_HOME/bin is first in your PATH:

prompt> PATH=$JAVA_HOME/bin:$PATH

 


Installing the BEA WebLogic Collaborate Software Package

The WebLogic Collaborate installation procedure installs the following components:

The following sections describe how you can install the WebLogic Collaborate software on UNIX systems.

On Solaris:

On all UNIX platforms:

Using the BEA Installation Program on Solaris Systems

You can install WebLogic Collaborate on Solaris systems using either a graphical installation program or a text-based installation program. To install WebLogic Collaborate using a text-based installation program, refer to Using the Console-Mode Installation on UNIX Systems.

To install WebLogic Collaborate on a Solaris system using the graphical installation program, complete the following procedure:

  1. Confirm that your system has all of the prerequisites as described in Installation Prerequisites.

  2. Log on to the system with administrative privileges.

  3. It is recommended that you create a UNIX user such as WLC to install WebLogic Collaborate. This allows you to control access to the distribution and to set permissions for your WebLogic Collaborate software. You may also want to create a group that has permissions to access the software.

  4. Log in as the WebLogic Collaborate user you created in step 3.

  5. Download the WebLogic Collaborate install.bin distribution from http://www.bea.com, or locate the install.bin program in the unix directory on your WebLogic Collaborate CD.

    Consult your UNIX documentation for information about mounting and unmounting CDs.

    Note: The Solaris Volume Management software automatically mounts CDs on /cdrom/cdrom0/. It is not necessary to unmount CDs on Solaris systems. However, to open the CD reader, you need to issue an eject command from the root directory.

  6. Invoke the install.bin command to start the installation procedure. The setup screen is displayed.

    Warning: The installation fails if $JAVA_HOME/bin is not in your PATH. If necessary, update your PATH as follows:
    prompt> PATH=$JAVA_HOME/bin:$PATH

  7. Click OK to continue the WebLogic Collaborate installation and display the WebLogic Collaborate Introduction screen.

  8. Click Next to display the Software License Agreement screen.

  9. Select Yes to accept the software license agreement. Then click Next to display a list of the installation prerequisites.

  10. Click Next to display a dialog box that prompts you to specify a BEA product directory. The BEA product directory serves as the root directory for all BEA products.

  11. Select your BEA home directory and click Next to display a dialog box that prompts you to specify a BEA product directory.

    Note: When the product is installed, the bea home directory is created under $HOME. A beahomelist file which contains a list of known BEA home directories for the current user is created in the bea directory.

  12. Specify the product installation directory and click Next to display a dialog box that prompts you to select a database.

  13. Select a database and click Next.

    The next screen displayed in the installation process depends on the database you selected.

  14. Click Done.

  15. Install the software license.

    Copy the license file into the following directory:

    $WLC_HOME/license

    Your license file is in the downloaded distribution if you downloaded the product from the BEA Web site, or is sent to you by email if you purchased the software on a CD.

Using the Console-Mode Installation on UNIX Systems

Console-mode installation provides a method to install WebLogic Collaborate using a text-based installation program that offers the same capabilities as the graphics-based installation program. You can install WebLogic Collaborate on Solaris, HP-UX, and AIX operating systems using the console mode.

  1. Confirm that your system has all the prerequisites as described in Installation Prerequisites.

  2. Log on to the system with administrative privileges.

  3. It is recommended that you create a UNIX user, such as WLC, to install WebLogic Collaborate. This allows you to control access to the distribution and to set permissions for your WebLogic Collaborate software. You may also want to create a group that has permissions to access the software.

  4. Log in as the WebLogic Collaborate user you created in step 3.

  5. Download the WebLogic Collaborate install.bin distribution from http://www.bea.com, or locate the install.bin program in the unix directory on your WebLogic Collaborate CD.

    Consult your AIX, HP-UX, or Solaris documentation for information on mounting and unmounting CDs.

    Note: The Solaris Volume Management software automatically mounts CDs on /cdrom/cdrom0/. It is not necessary to unmount CDs on Solaris systems. However, to open the CD reader, you need to issue an eject command from the root directory.

  6. Invoke the installation procedure:

    prompt> sh install.bin -i console

    A series of prompts is displayed.

    Warning: The installation fails if $JAVA_HOME/bin is not in your PATH. If necessary, update your PATH as follows:
    prompt> PATH=$JAVA_HOME/bin:$PATH

  7. Respond to the prompts by entering the number associated with your choice, or by pressing Enter to accept the default. To exit the installation process, enter quit in response to any prompt. The console-based installation process is divided into sections outlined in the following table.

    Section

    Action to perform

    Choose Locale

    Specify the language in which you want the text of the installation program to be displayed by entering the number associated with that language.

    Introduction

    Press Enter to continue.

    License Agreement


    Read the BEA Software License Agreement and indicate your acceptance or rejection of the terms of the agreement by entering Y or N, respectively, at the prompt. To review the entire agreement, you must press Enter several times. To proceed with the installation, you must agree with the terms of the license. If you enter N, the installation process terminates.

    Choose BEA Home Directory

    Enter 1 to create a new BEA home directory, or 2 to use an existing home directory. Use the full pathname when specifying the name of the BEA Home directory. The BEA Home directory is the root directory in which you want to install all BEA products.

    Choose Product Directory

    Enter 1 to modify or 2 to use a default selection.

    Select a Database

    Enter 1 to choose Oracle, or 2 to choose Cloudscape.

    Enter Database Configurations

    If you use an Oracle database, enter the Oracle Service Name, User ID, and Password. The Oracle Service Name is defined in the Oracle client tnsnames.ora file and is usually the Oracle system ID.

    Install Complete

    Press Enter to exit the installation program.

  8. Copy the file license.bea into the following directory:

    $WLC_HOME/license

    Your license file is in the downloaded distribution if you downloaded the product from the BEA Web site, or is sent to you by email if you purchased the software on a CD.

 


Customizing the Run-Time Environment

The installation procedure configures some of your WebLogic Collaborate system. You should confirm the system configuration before you run the Installation Verifier example (see Verifying the Software Installation). The following sections describe the system configurations you should set or confirm:

Environment Variables

You must set the environment variables in the setenv.sh and createDB.sh files by completing the following procedure:

  1. Change to the root directory in which the BEA WebLogic Collaborate software was installed; for example, /usr/local/bea/wlcollaborate1.0.

  2. Open the setenv.sh file in a text editor and set the following variables to match your environment:

  3. If you are using an Oracle database, change directory to the $WLC_HOME/bin directory and open the createDB.sh file in a text editor.

    If necessary, substitute the environment variables at the beginning of the file (<ORACLE_USER>, <ORACLE_PASSWORD>, and <ORACLE_SERVICENAME>) with the user ID, password, and ORACLE_SERVICENAME values for your system. ORACLE_SERVICENAME is defined in the Oracle client tnsnames.ora file and is usually the Oracle system ID.

Repository Data Files

XML files are used to configure the repository and load it with the data for the example verifier application. If you are using an Oracle database, confirm that the BulkloadOracleConfig.xml file is configured as follows:

  1. Change directory to the $WLC_HOME/examples directory.

  2. Open the BulkloadOracleConfig.xml file in a text editor and confirm that the <ORACLE_USER>, <ORACLE_PASSWORD>, and <ORACLE_SERVICENAME> values are set to the user ID, password, and ORACLE_SERVICENAME values for your system. ORACLE_SERVICENAME is defined in the Oracle client tnsnames.ora file and is usually the Oracle system ID.

WebLogic Properties File Settings

Confirm that the weblogic.properties file in the $WLC_HOME/hub directory matches your environment, as described in this section.

  1. Change directory to the $WLC_HOME/hub directory.

  2. Open the weblogic.properties file with a text editor.

  3. Ensure that the appropriate weblogic.jdbc.connectionPool.wlcPool property for your system is uncommented, and the others are commented.

    The following is an example extract from the file showing the weblogic.jdbc.connectionPool.wlcPool property settings for the supported databases. This example shows that the file is configured for the Cloudscape database (that is, the Oracle property is commented and the equivalent Cloudscape property is uncommented).

    ##Oracle##weblogic.jdbc.connectionPool.wlcPool=\
    ##Oracle## url=jdbc:weblogic:oracle,\
    ##Oracle## driver=weblogic.jdbc.oci.Driver,\
    ##Oracle## loginDelaySecs=1,\
    ##Oracle## initialCapacity=1,\
    ##Oracle## maxCapacity=5,\
    ##Oracle## capacityIncrement=1,\
    ##Oracle## allowShrinking=true,\
    ##Oracle## shrinkPeriodMins=15,\
    ##Oracle## refreshTestMinutes=10,\
    ##Oracle##props=user=<ORACLE_USER>; \
    ##Oracle##password=<ORACLE_PASSWORD>; \
    ##Oracle##server=<ORACLE_SERVICENAME>
    #
    # Cloudscape
    #
    weblogic.jdbc.connectionPool.wlcPool=\

    	url=jdbc:cloudscape:wlcdb,\
    driver=COM.cloudscape.core.JDBCDriver,\
    loginDelaySecs=1,\
    initialCapacity=1,\
    maxCapacity=10,\
    capacityIncrement=1,\
    allowShrinking=true,\
    shrinkPeriodMins=15,\
    refreshTestMinutes=10

  4. If you are using an Oracle database, ensure that the weblogic.jdbc.connectionPool.wlcPool property is configured as follows: <ORACLE_USER>, <ORACLE_PASSWORD>, and <ORACLE_SERVICENAME> (shown in bold in the extract above) should be replaced with the user ID, password, and ORACLE_SERVICENAME values for your system. ORACLE_SERVICENAME is defined in the Oracle client tnsnames.ora file and is usually the Oracle system ID.

 


Verifying the Software Installation

An installation verification example is provided to ensure that the installation of WebLogic Collaborate is successful. This section explains what the installation verification example does and how you run it.

How the Installation Verification Example Works

Run this example immediately after the installation procedure to verify that WebLogic Collaborate was installed successfully on your system. The verification example does the following:

Running the Installation Verification Example

After you complete the installation, as described in Installing the BEA WebLogic Collaborate Software Package, and customize your environment, as described in Customizing the Run-Time Environment, verify that the installation is successful as follows:

  1. Open a terminal window on your machine.

  2. Change to the WebLogic Collaborate directory:

    prompt> cd $WLC_HOME

  3. Prepare the environment by running the setenv script (refer to Customizing the Run-Time Environment for more information):

    prompt> . ./setenv.sh

    Note: You must run the setenv.sh script in a Bourne or Korn shell. If you use a csh, change to the Korn shell by typing ksh at your UNIX prompt.

  4. Create the database schema:

    prompt> createDB.sh [oracle|cloudscape]

    where the database name you use corresponds to your database.

  5. Load the repository with the example data:

    prompt> cd examples/verifier

    prompt> bulkloader.sh \
    ../[BulkloadOracleConfig.xml|BulkloadCloudscapeConfig.xml]

    where the XML filename you use corresponds to your database.

  6. Build the verifier example to populate the compiled classes and required scripts:

    prompt> build.sh

  7. Start WebLogic Server and one c-hub:

    prompt> cd $WLC_HOME/hub

    prompt> ./startweblogic.sh

  8. Start a Web browser and enter the following URL:

    http://localhost:7001/Verifier.html

    where localhost represents the name of the machine where you are running WebLogic Server.

  9. Click the Start WLC Verification button displayed in the Web browser.

    The verification example starts. During verification, the Partner1 c-enabler sends a message to the Partner2 c-enabler. The message sent by Partner1 is the string ABCDEFGHI, and the message returned by Partner2 is abcdefghi.

    If the verification sample executes successfully, a report containing a "verification SUCCESS" message is displayed in the browser. The report identifies the process flow and the status of the verifier application.

    The following is an extract from a typical report:

    WLC Verifier

    Partner 2 enabler started
    Waiting for request...

    Partner 1 process flow.
    Starting enabler... done.
    Creating conversation... done.
    Sending message: conversation id=verifierConv ...
    string=ABCDEFGHI
    Status=success
    Waiting for response... done.
    Processing reply:
    Received string=abcdefghi
    Verification SUCCESS
    Termination conversation:verifierConversation:1.0requ...
    success

  10. If errors occur, check the WebLogic Server log for more information.

 


Troubleshooting Your Installation

The following information can help you to troubleshoot the WebLogic Collaborate software installation.

Starting the Installer

If the graphical installer fails to start, it might be because the necessary operating system patches for the JDK are not installed. In particular, you must install the Solaris OpenWindows Motif patches. Refer to the BEA WebLogic Collaborate Release Notes for a list of OS patches required for this release of WebLogic Collaborate. Refer to the following URL for more details about Solaris patches for the JDK:

 http://www.java.sun.com/products/jdk/1.2/install-solaris-patches.html 

Starting the C-Hub

If the c-hub fails to start, the license may not be installed. Check for error messages in the window in which WebLogic Server was started.

Running the Verification Example

If you have problems running the installation verification example:

Accessing Verifier.html

If your Web browser is unable to connect to the URL, it could indicate that your browser is using a proxy server and is preventing you from connecting to your local WebLogic server.

To bypass the proxy server, change your browser's proxy settings so the browser does not use the proxy server to access the servlet. For example, in Netscape:

  1. Choose Edit—>Preferences—>Advanced—>Proxies, and select Manual proxy configuration view.

  2. In the Exceptions text field, specify a value for the local host and the listening port using the following syntax:

    localhost:listening_port

    In the preceding syntax, listening_port is the listening port number specified in the weblogic.properties file. The default listening port number is 7001.

Also check for error messages in the terminal window in which WebLogic Server was started.

 


Uninstalling the BEA WebLogic Collaborate Software Package

You can remove the WebLogic Collaborate software from your system by deleting the directory where you installed it.

Alternatively, you can invoke the Uninstall script as follows:

prompt> $WLC_HOME/UninstallerData/uninstall

A screen prompting you to confirm the removal of the software is displayed. Click Uninstall to continue and WebLogic Collaborate is uninstalled from your system.