Getting Started With WebLogic Event Server

     Previous  Next    Open TOC in new window    View as PDF - New Window  Get Adobe Reader - New Window
Content starts here

Installing WebLogic Event Server

This section contains information on the following subjects:

 


Before You Begin

Before you install WebLogic Event Server 2.0:

 


Installation Overview

You install WebLogic Event Server using a standard BEA installation program. The program can be used in the following modes:

 


Installing WebLogic Event Server in Graphical Mode: Main Steps

The WebLogic Event Server graphical installation program is self-explanatory, however, you can follow these steps for more information.

  1. Log in to the Windows or UNIX computer on which you want to install WebLogic Event Server.
  2. Be sure you log in to the computer as the user that will be the main administrator of the WebLogic Event Server installation.

  3. Download the product distribution file for the platform on which you want to install WebLogic Event Server.
  4. You can download your software from the BEA Web site at http://commerce.bea.com.

  5. Launch the installation program in graphical mode using the commands listed in the following table appropriate for your platform.
  6. Platform
    Instructions
    Windows
    Using Windows Explorer, double-click the wlevs20_win32.exe file from its download directory.
    UNIX
    Open a command window, change to the download directory, and enter these commands:

    prompt> chmod a+x filename.bin

    prompt> ./filename.bin

    In these commands, filename.bin is the name of the installation program specific to your platform, for example, wlevs20_linux32.bin and wlevs20_solaris64.bin.
    If you want to create an installation log, use the -log=full_path_to_log_file option; for example:

    prompt> ./filename.bin -log=C:\logs\server_install.log

  7. After the installation program has finished loading, you will see the standard BEA Welcome window.
  8. Click Next.

  9. In the Choose BEA Home Directory window, you can specify either an existing BEA Home directory or create a new one. BEA recommends that you use the same BEA Home directory into which you installed WebLogic Real Time, if applicable.
  10. The BEA Home directory is the main installation directory for all BEA products, such as c:\beahome. You can have one or many BEA Home directories on your computer, whichever suits your development and production environments best.

    If you decide to install into an existing BEA Home directory, the installer program checks if the directory includes the version of JRockit required by this release of WebLogic Event Server. If it finds the required JRockit installation, it does not install a new one. If, however, the installer program does not find an appropriate JRockit installation, then the program installs its own version in the BEA Home directory.

    Use the Browse button to browse your computer for an existing or new BEA Home directory.

    Click Next.

  11. In the Choose Install Type window, you can choose whether to install the complete version of WebLogic Event Server (recommended) or whether you want to pick the individual components of the product that you want to install.
  12. Click Next.

  13. If you chose Custom in the preceding step, you will see the Choose Products and Components window. Check the components you want to install.
  14. Note: In this version of WebLogic Event Server, the only component you can install separately is the Event Server Samples.

    Click Next.

  15. In the Choose Product Installation Directories, you can change the default name of the home directory of WebLogic Event Server, wlevs20.
  16. Although you can name this directory anything you want, BEA recommends that you use the default name for clarity and standardization. For example, the documentation assumes that you install into the wlevs20 directory.

    Click Next.

  17. If you are installing on Windows, and you logged in as a user with Administrator privileges, then you will see the Choose Shortcut Location window where you can choose where you want the Start Menu folder to appear. The following table describes the options available:
  18. If you select . . .
    The following occurs . . .
    All Users
    Recommended. All users registered on the machine are provided with access to the installed software. Subsequently, if users without Administrator privileges use the Configuration Wizard from this installation to create domains, Start menu shortcuts to the domains are not created. In this case, users can manually create shortcuts in their local Start menu folders, if desired.
    Local user
    Other users registered on this machine will not have access to the Start menu entries for this installation.

    If you logged in as a user without Administrator privileges, the Start menu entries are created in your user's local Start menu folder.

    Click Next.

    The installer program installs WebLogic Event Server. The Installation Complete window indicates that the product was installed successfully.

  19. Click Done to exit the program.

 


Installing WebLogic Event Server in Console Mode: Main Steps

Console-mode installation is an interactive, text-based method for installing your software from the command line, on either a UNIX or Windows system.

When installing in console-mode, respond to the prompts in each section by entering the number associated with your choice or by pressing Enter to accept the default. To exit the installation process, enter exit (or x, for short) in response to any prompt. To review or change your selection, enter previous (or p, for short) at the prompt. To proceed to the following window, enter next (or n, for short).

Note: In the following procedure, Windows conventions (such as back-slashes in pathnames) are used, for example, C:\bea\wlevs20. When entering pathnames on a UNIX system, be sure to use UNIX conventions, instead. For example, use forward slashes in pathnames, such as /home/bea/wlevs20.

The following procedure steps you through the installation program.

  1. Log in to the Windows or UNIX computer on which you want to install WebLogic Event Server.
  2. Be sure you log in to the computer as the user that will be the main administrator of the WebLogic Event Server installation.

  3. Download the product distribution file for the platform on which you want to install WebLogic Event Server.
  4. You can download your software from the BEA Web site at http://commerce.bea.com.

  5. Launch the installation program in console mode using the commands listed in the following table appropriate for your platform.
  6. Platform
    Instructions
    Windows
    Open a command window, change to the download directory, and enter the following command:

    prompt> wlevs20_win32.exe -mode=console

    If you want to create an installation log, use the -log=full_path_to_log_file option; for example:

    prompt> wlevs20_win32.exe -mode=console -log=C:\logs\server_install.log

    UNIX
    Open a command window, change to the download directory, and enter these commands:

    prompt> chmod a+x filename.bin

    prompt> ./filename.bin -mode=console

    In these commands, filename.bin is the name of the installation program specific to your platform, for example, wlevs20_linux32.bin and wlevs20_solaris64.bin.
    If you want to create an installation log, use the -log=full_path_to_log_file option; for example:

    prompt> ./filename.bin -mode=console -log=C:\logs\server_install.log

  7. At the Welcome prompt, type next (or n for short) or press Enter to continue with the installation process.
  8. In the Choose BEA Home Directory window, the list of known BEA home directories (if any) appear, as well as an option to create a new one. BEA recommends that you use the same BEA Home directory into which you installed WebLogic Real Time, if applicable.
  9. The BEA Home directory is the main installation directory for all BEA products, such as c:\beahome. You can have one or many BEA Home directories on your computer, whichever suits your development and production environments best.

    If you decide to install into an existing BEA Home directory, the installer program checks if the directory includes the version of JRockit required by this release of WebLogic Event Server. If it finds the required JRockit installation, it does not install a new one. If, however, the installer program does not find an appropriate JRockit installation, then the program installs its own version in the BEA Home directory.

    Type 1 to create a new BEA home directory, or type the number of the existing BEA Home directory.

  10. If you chose 1 to create a new BEA Home directory, the installation program guides you through the required steps to create the new BEA Home. Be sure to enter the full path of the BEA Home directory, for example C:\beahome2. If you specify a directory that does not exist, the installation program creates it for you.
  11. In the Choose Install Type window, you can choose whether to install the complete version of WebLogic Event Server (recommended) or whether you want to pick the individual components of the product that you want to install.
  12. Enter 1 for a complete install or 2 for a custom install.

  13. If you chose Custom in the preceding step, you will see the Choose Components to Install window. Enter the numbers in brackets to toggle the components you want to install.
  14. Note: In this version of WebLogic Event Server, the only component you can install separately is the Samples.

    Enter next (or n) when you have chosen the components.

  15. In the Choose Product Installation Directories, you can change the default name of the home directory of WebLogic Event Server, wlevs20, by entering a new value.
  16. Although you can name this directory anything you want, BEA recommends that you use the default name for clarity and standardization. For example, the documentation assumes that you install into the wlevs20 directory.

    Enter next (or n) when you are done.

  17. If you are installing on Windows, and you logged in as a user with Administrator privileges, then you will see the Choose Shortcut Location window where you can choose where you want the Start Menu folder to appear. The following table describes the options available:
  18. If you select . . .
    The following occurs . . .
    1 "All Users"
    Recommended. All users registered on the machine are provided with access to the installed software. Subsequently, if users without Administrator privileges use the Configuration Wizard from this installation to create domains, Start menu shortcuts to the domains are not created. In this case, users can manually create shortcuts in their local Start menu folders, if desired.
    2 "Local user"
    Other users registered on this machine will not have access to the Start menu entries for this installation.

    If you logged in as a user without Administrator privileges, the Start menu entries are created in your user's local Start menu folder.

    Enter the appropriate number.

    The installer program installs WebLogic Event Server. The Installation Complete window indicates that the product was installed successfully.

  19. Type exit to exit the program.

 


Installing WebLogic Event Server in Silent Mode: Main Steps

Silent-mode installation is a non-interactive method of installing your software that requires the use of an XML properties file for selecting installation options. To install using silent mode:

  1. Log in to the Windows or UNIX computer on which you want to install WebLogic Event Server.
  2. Be sure you log in to the computer as the user that will be the main administrator of the WebLogic Event Server installation.

  3. Download the product distribution file for the platform on which you want to install WebLogic Event Server.
  4. You can download your software from the BEA Web site at http://commerce.bea.com.

  5. Create a silent.xml file that defines the configuration settings normally entered by a user during an interactive installation process. See Creating a silent.xml File for Silent-Mode Installation.
  6. Note: Incorrect entries in the silent.xml file can cause installation failures. To help you determine the cause of a failure, we recommend that you create a log file when you launch the installation program.
  7. Launch the installation program in silent mode using the commands in the following table appropriate for your platform.
  8. Platform
    Instructions
    Windows
    Open a command window, change to the download directory, and enter the following command:

    prompt> wlevs20_win32.exe -mode=silent -silent_xml=path_to_xml_file

    In the preceding command, path_to_xml_file is the full pathname of the silent.xml template file you created in the preceding step.
    If you want to create an installation log, use the -log=full_path_to_log_file option; for example:

    prompt> wlevs20_win32.exe -mode=silent -silent_xml=path_to_xml_file -log=C:\logs\server_install.log

    UNIX
    Open a command window, change to the download directory, and enter these commands:

    prompt> chmod a+x filename.bin

    prompt> ./filename.bin -mode=silent -silent_xml=path_to_xml_file

    In these commands, filename.bin is the name of the installation program specific to your platform, for example, wlevs20_linux32.bin and wlevs20_solaris64.bin, and path_to_xml_file is the full pathname of the silent.xml template file you created in the preceding step.
    If you want to create an installation log, use the -log=full_path_to_log_file option; for example:

    prompt> ./filename.bin -mode=silent -silent_xml=path_to_xml_file -log=C:\logs\server_install.log

    A BEA Installer window is displayed, indicating that the files are being extracted. No other prompt or text is displayed.

    The installation is complete when the BEA Installer window disappears.

    See Returning Exit Codes to the Command Window for getting information about the success or failure of the silent installation.

Creating a silent.xml File for Silent-Mode Installation

When you install WebLogic Event Server in silent mode, the installation program uses an XML file (silent.xml) to determine which installation options should be implemented.

To create a silent.xml file, follow these steps:

  1. Using your favorite text edit, create an empty file called silent.xml on the computer on which you want to install WebLogic Event Server in silent mode.
  2. Copy the contents of the sample XML file, shown in Sample silent.xml File for Silent-Mode Installation, into your own silent.xml file.
  3. In the silent.xml file you just created, edit the values for the keywords shown in Table 4-1 to reflect your configuration.
  4. For example, if you want to install into the BEA Home directory e:\beahome, update the corresponding <data-value> element as follows

    <data-value name="BEAHOME" value="e:\beahome" />
  5. Save the file in the directory of your choice.
  6. Table 4-1 Values for the silent.xml File
    For this data-value name...
    Enter the following value...
    BEAHOME
    The full pathname for the BEA Home directory of your choice.
    USER_INSTALL_DIR
    The full pathname for the directory where you want to install your WebLogic Event Server software.
    INSTALL_SHORTCUT_IN_ALL_USERS_FOLDER
    Windows only. Specify:
    • true, or yes, to create the shortcuts in the All Users folder.
    • false, or no, to create the shortcuts in the local users folder.
    The user performing the installation must have Administrator privileges to install the Start menu shortcuts in the All Users folder.
    The default value for this parameter, if you do not specify it, is true.
    COMPONENT_PATHS
    Specify the components and subcomponents of WebLogic Event Server you want to install on your system. Use the following values:

    WebLogic Event Server

    WebLogic Event Server/Event Server

    WebLogic Event Server/Event Server Samples

    For additional information about entering these values, see Guidelines for Component Selection.
    If you do not include the COMPONENT_PATHS data-value name in the silent.xml file, the complete WebLogic Event Server product is installed.

Guidelines for Component Selection

Use the following guidelines when you specify values for the COMPONENT_PATHS data-value name:

Sample silent.xml File for Silent-Mode Installation

<?xml version="1.0" encoding="UTF-8"?>
<!-- Silent installer option: -mode=silent -silent_xml=C:\bea\silent.xml -->
<bea-installer> 
<input-fields>
<data-value name="BEAHOME" value="C:\bea" />
<data-value name="USER_INSTALL_DIR" value="C:\bea\wlevs20" />
<data-value name="INSTALL_SHORTCUT_IN_ALL_USERS_FOLDER" value="yes"/>
<data-value name="COMPONENT_PATHS" value="WebLogic Event Server" />
</input-fields>
</bea-installer>

Returning Exit Codes to the Command Window

When run in silent mode, the installation program generates exit codes that indicate the success or failure of the installation. These exit codes are shown in the following table.

Table 4-2 Exit Codes
Code
Description
0
Installation completed successfully
-1
Installation failed due to a fatal error
-2
Installation failed due to an internal XML parsing error

Listing 4-1 provides a sample Windows command file that invokes the installation program in silent mode and echoes the exit codes to the command window from which the script is executed.

Listing 4-1 Sample Windows Command File Displaying Silent-Mode Exit Codes
rem Execute the installer in silent mode
@echo off
wlevs20_win32.exe -mode=silent -silent_xml=C:\downloads\silent.xml -log=C:\logs\products_silent.log

@rem Return an exit code to indicate success or failure of installation
set exit_code=%ERRORLEVEL%

@echo.
@echo Exitcode=%exit_code%
@echo.
@echo Exit Code Key
@echo ---------------
@echo 0=Installation completed successfully
@echo -1=Installation failed due to a fatal error
@echo -2=Installation failed due to an internal XML parsing error
@echo.

 


Post-Installation Steps

After installing WebLogic Event Server:


  Back to Top       Previous  Next