![]() ![]() ![]() ![]() ![]() ![]() |
This section contains information on the following subjects:
Before you install Oracle Complex Event Processing 3.0 (or Oracle CEP for short):
You can download the Oracle JRockit Real Time 3.0 distribution from the Oracle Web site at http://commerce.bea.com.
WARNING: | Be sure you install the version of Oracle JRockit Real Time that includes JRockit 5.0. The version that includes JRockit 1.4.2 is not compatible with Oracle CEP 3.0. |
You install Oracle CEP using a standard Oracle installation program. The program can be used in the following modes:
Graphical-mode installation is an interactive, GUI-based method for installing your software. It can be run on both Windows and UNIX systems. See Installing Oracle CEP in Graphical Mode: Main Steps.
WARNING: | If you want to run graphical-mode installation, the console attached to the machine on which you are installing the software must support a Java-based GUI. All consoles for Windows systems support Java-based GUIs, but not all consoles for UNIX systems do. If you attempt to start the installation program in graphical mode on a system that cannot support a graphical display, the installation program automatically starts console-mode installation. |
Console-mode installation is an interactive, text-based method for installing your software from the command line, on either a UNIX system or a Windows system. See Installing Oracle CEP in Console 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. You can run silent-mode installation in either of two ways: as part of a script or from the command line. Silent-mode installation is a way of setting installation configurations only once and then using those configurations to duplicate the installation on many machines. See Installing Oracle CEP in Silent Mode: Main Steps.
The Oracle CEP graphical installation program is self-explanatory, however, you can follow these steps for more information.
Be sure you log in to the computer as the user that will be the main administrator of the Oracle CEP installation.
You can download your software from the Oracle Web site at http://commerce.bea.com.
The BEA_HOME directory is the main installation directory for many Oracle 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 Oracle CEP. 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.
Note: | In this version of Oracle CEP, the only component you can install separately is the Event Server Samples. |
wlevs30
.
Although you can name this directory anything you want, Oracle recommends that you use the default name for clarity and standardization. For example, the documentation assumes that you install into the wlevs30
directory.
If you logged in as a user without Administrator privileges, the Start menu entries are created in your user's local Start menu folder.
The installer program installs Oracle CEP. The Installation Complete window indicates that the product was installed successfully.
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\wlevs30 . 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/wlevs30 . |
The following procedure steps you through the installation program.
Be sure you log in to the computer as the user that will be the main administrator of the Oracle CEP installation.
You can download your software from the Oracle Web site at http://commerce.bea.com.
next
(or n
for short) or press Enter to continue with the installation process.
The BEA_HOME directory is the main installation directory for many Oracle 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 Oracle CEP. 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.
C:\beahome2
. If you specify a directory that does not exist, the installation program creates it for you.Enter 1 for a complete install or 2 for a custom install.
Note: | In this version of Oracle CEP, the only component you can install separately is the Samples. |
Enter next
(or n
) when you have chosen the components.
wlevs30
, by entering a new value.
Although you can name this directory anything you want, Oracle recommends that you use the default name for clarity and standardization. For example, the documentation assumes that you install into the wlevs30
directory.
Enter next
(or n
) when you are done.
If you logged in as a user without Administrator privileges, the Start menu entries are created in your user's local Start menu folder.
The installer program installs Oracle CEP. The Installation Complete window indicates that the product was installed successfully.
exit
to exit the program.
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:
Be sure you log in to the computer as the user that will be the main administrator of the Oracle CEP installation.
You can download your software from the Oracle Web site at http://commerce.bea.com.
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.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. |
An Oracle Installer window is displayed, indicating that the files are being extracted. No other prompt or text is displayed.
The installation is complete when the Oracle Installer window disappears.
See Returning Exit Codes to the Command Window for getting information about the success or failure of the silent installation.
When you install Oracle CEP 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:
silent.xml
on the computer on which you want to install Oracle CEP in silent mode.silent.xml
file.silent.xml
file you just created, edit the values for the keywords shown in Table 4-1 to reflect your configuration.
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
" />
|
|
Specify the components and subcomponents of Oracle CEP you want to install on your system. Use the following values:
For additional information about entering these values, see Guidelines for Component Selection.
|
Use the following guidelines when you specify values for the COMPONENT_PATHS
data-value name:
<data-value name="COMPONENT_PATHS" value="WebLogic Event Server" />
<data-value name="COMPONENT_PATHS" value="WebLogic Event Server/Event Server|WebLogic Event Server/Event Server Samples" />
Note: | Because this release of Oracle CEP includes only the server itself and samples, the preceding example is equivalent to the example in the first bullet. |
<?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\wlevs30" />
<data-value name="INSTALL_SHORTCUT_IN_ALL_USERS_FOLDER" value="yes"/>
<data-value name="COMPONENT_PATHS" value="WebLogic Event Server" />
</input-fields>
</bea-installer>
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.
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.
rem Execute the installer in silent mode
@echo off
wlevs30_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.
![]() ![]() ![]() |