BEA Logo BEA WebLogic Collaborate Release 1.0.1

  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

 

This section provides the information needed to install and uninstall WebLogic Collaborate on a UNIX platform. Specifically, it includes the following topics:

 


Installation Prerequisites

Before installing the WebLogic Collaborate software, you must have the following software and hardware installed on your machine:

 


Installing the BEA WebLogic Collaborate Software Package

The WebLogic Collaborate installation procedure installs the following components:

The following sections describe how to install WebLogic Collaborate using either a graphical user interface (available on Solaris) or a command-line text mode (available on Solaris, HP-UX, and AIX).

Installing WebLogic Collaborate 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, see Installing WebLogic Collaborate 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 meets all the prerequisites described in Installation Prerequisites.

  2. Log on to the system with administrative privileges.

  3. Create a UNIX user (for example, WLC) to install WebLogic Collaborate. By installing WebLogic Collaborate through such a user, you can control access to the distribution and set permissions for your WebLogic Collaborate software. You may also want to create a group with 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. To open the CD reader, however, you need to issue an eject command from the root directory.

  6. Invoke the install.bin command to start the installation procedure. The splash window appears and then the WebLogic Collaborate Introduction window is displayed.

  7. Click Next to display the Software License Agreement window

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

  9. Click Next to display the Choose Install Set dialog box.

  10. Click Next to display a dialog box that prompts you to specify a BEA home directory. An existing BEA home directory containing WebLogic Server 6.0 is selected by default.

    Warning: You must install WebLogic Collaborate in an existing BEA home directory. This home directory can reside anywhere on the system. It must contain the registry.xml file, which holds descriptions of all BEA products that are installed in the BEA home directory.

  11. Specify the home installation directory. Click Next. A dialog box prompts you to select a database.

  12. Select a database and click Next.

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

  13. To configure the Oracle database, enter the Oracle Service name, user, and password in the appropriate fields and click Next.

    The Confirm Database Selection window appears.

  14. Click Install to begin the installation. A window showing the status of the installation process is displayed.

  15. Click Done.

  16. Install the software license.

    An evaluation license is included in the evaluation software and is installed automatically. If your installation is an upgrade to a previous version of WebLogic Collaborate, you will receive a new license file from BEA.

    To modify your existing license after you install WebLogic Collaborate:

    1. Copy the new license file into the BEA home directory on your machine.

    2. Set the environment by running the setenv script as follows:

      prompt> ksh
      prompt> .<WLC_HOME>/setenv.sh

    3. Change directories to the BEA home directory.

    4. Merge this new license file into your existing license by entering the following command, where new_license represents the name of the license file you received from BEA:

      prompt> UpdateLicense.sh new_license

Installing WebLogic Collaborate on UNIX Systems

You can use the console-mode to install WebLogic Collaborate on Solaris, HP-UX, and AIX operating systems. This is a text-based installation program that offers the same capabilities as the graphics-based installation program also available on Solaris.

To install WebLogic Collaborate in console mode, complete the following procedure:

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

  2. Log on to the system with administrative privileges.

  3. Create a UNIX user, such as WLC, to install WebLogic Collaborate. Using a new user allows you to control access to the software 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.

    For information about mounting and unmounting CDs, see your AIX, HP-UX, or Solaris documentation.

    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 must 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 defined in your PATH. If necessary, update your PATH as follows:
    prompt> PATH=$JAVA_HOME/bin:$PATH

  7. Respond to each prompt 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 the sections listed in the following table.

  8. Install the software license.

    An evaluation license is included in the evaluation software. If you purchased the software on a CD or from the BEA Web site, your permanent license is sent to you by email.

    To modify your existing license after you install WebLogic Collaborate:

    1. Copy the new license file into the BEA home directory on your machine.

    2. Set the environment by running the setenv script as follows:

      prompt> ksh
      prompt> .<WLC_HOME>/setenv.sh

    3. Change directories to the BEA home directory.

      prompt> cd <BEA_HOME>

    4. Merge this new license file into your existing license by entering the following command, where new_license represents the name of the license file you received from BEA:

      prompt> UpdateLicense.sh new_license

 


Customizing the Run-Time Environment

The installation procedure configures some components 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 configuration elements you should set or confirm:

Environment Variables

To set the environment variables in the setenv.sh and createDB.sh files, complete the following procedure:

  1. Change to the root directory in which the BEA WebLogic Collaborate software was installed, such as, /usr/local/bea/wlcollaborate1.0.1.

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

    Environment Variable

    Setting

    Example

    JAVA_HOME

    Location of the Java 2 SDK V1.3 software on your machine.

    set JAVA_HOME=/usr/local/jdk1.3

    WL_HOME

    Location of the WebLogic Server 6 software on your machine.

    set WL_HOME=/usr/local/weblogic6

    WLC_HOME

    Location of the WebLogic Collaborate software on your machine.

    set WLC_HOME=/usr/local/bea/wlcollaborate1.0.1

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

    If necessary, replace the environment variables at the beginning of the file (<ORACLE_USER>, <ORACLE_PASSWORD>, and <ORACLE_SERVICENAME>) with the appropriate values for your system. ORACLE_SERVICENAME is defined in the Oracle client tnsnames.ora file; its value 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.

Configuration File Settings

Confirm that the run-time environment is correctly configured, as described in this section. To configure the run-time environment, use the WebLogic Server Administration Console.

  1. Open the WebLogic Server Administration Console.

  2. Select the appropriate Connection Pool for your database environment.

  3. Change the Connection Pool properties as required based on the database you are using.

  4. When you complete the changes, your code in <WLC_HOME>/hub/config/mydomain/config.xml, will look like the following example (if Oracle is used):

            <!-- Oracle settings -->
    <JDBCConnectionPool
    CapacityIncrement="1"
    DriverName="oracle.jdbc.driver.OracleDriver"
    InitialCapacity="1"
    LoginDelaySeconds="1"
    MaxCapacity="10"
    Name="wlcPool"
    Properties="user=<ORACLE_USER>;password=<ORACLE_PASSWORD>"
    RefreshMinutes="0"
    ShrinkPeriodMinutes="15"
    ShrinkingEnabled="true"
    Targets="myserver"
    URL="jdbc:oracle:thin:@<ORACLE_HOSTNAME>:1521:<ORACLE_SERVICENAME>"
    />

For more information about configuring JDBC pools, see "Managing JDBC Connectivity" in the BEA WebLogic Server Administration Guide at http://download.oracle.com/docs/cd/E13222_01/wls/docs60/adminguide/jdbc.html.

 


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 starts a c-hub and two c-enablers colocated on a single WebLogic Server instance. Then it allows you to access, from your browser, a servlet that sends messages from one c-enabler to another c-enabler.

When your run the verification example, the following actions are performed:

  1. One c-enabler, identified as Partner1, sends an upper-case string to the second c-enabler, Partner2.

  2. The Partner2 c-enabler converts the string to lower-case and returns it to the Partner1 c-enabler.

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 by completing the following procedure:

  1. Open a terminal window on your machine.

  2. Change to the WebLogic Collaborate directory:

    prompt> cd $WLC_HOME/hub/config/mydomain

  3. Verify that you are running a Bourne or Korn shell. If you are using a C shell, change to the Korn shell by typing ksh at your UNIX prompt.

  4. Prepare the environment by running the setenv script as follows:

    prompt> . ./setenv.sh

    For more information, see Customizing the Run-Time Environment.

  5. Create the database schema:

    prompt> createDB.sh [oracle|cloudscape]

    Specify the database name that corresponds to your database.

  6. Load the repository with the example data:

    prompt> cd examples/verifier

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

    Be sure to specify the XML filename that corresponds to your database.

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

    prompt> build.sh

  8. Start WebLogic Server and one c-hub:

    prompt> cd $WLC_HOME/hub/config/mydomain

    prompt> ./startWeblogic.sh

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

    http://localhost:7001/Verifier.html

    Here localhost represents the name of the machine on which you are running WebLogic Server.

  10. 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

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

 


Troubleshooting Your Installation

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

Starting the Installer

If the graphical installer fails to start, the reason may be that the necessary operating system patches for the JDK are not installed. For example, the graphical installer will not work if the Solaris OpenWindows Motif patches are not installed. For a list of OS patches required for this release of WebLogic Collaborate, see the BEA WebLogic Collaborate Release Notes. For more details about Solaris patches for the JDK, see Solaris Patches at the following location:

 http://www.java.sun.com/products/jdk/1.3/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 Verifier web page, the reason may be 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 as follows:

    localhost:listening_port

    In the preceding line, listening_port is the listening port number specified in the config.xml 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 in which you installed it.

Alternatively, you can invoke the Uninstall script as follows:

prompt> $WLC_HOME/uninstaller/uninstall

A window prompts you to confirm the removal of the software. Click Uninstall to continue, and WebLogic Collaborate is then uninstalled from your system.