If this is the first time you have created an Oracle CEP server, there will be no If this is not the first time you have created an Oracle CEP server, there will be Click Next.

5-6 Oracle Complex Event Processing Developers Guide

d. Proceed to step 6.

5. If this is not the first time you have created an Oracle CEP server, there will be one

or more installed server runtimes. In this case, the New Server: Define New Server dialog appears as Figure 5–4 shows. Figure 5–4 New Server: Define New Server Installed Runtimes Dialog Table 5–3 New Server: New Oracle CEP v11 Runtime Dialog Attributes Attribute Description Oracle Middleware Home Directory The fully qualified path to the Oracle CEP server installation directory. This is the same as the Middleware Home that was selected when installing the server. When selecting this directory, select the directory that contains the Oracle CEP installation rather than the Oracle CEP directory itself. For example, choose: C:\OracleCEP But do not choose: C:\OracleCEP\ocep_11.1 The runtime wizard will use the installation to find the appropriate Oracle CEP installation directory. For more information, see Oracle Fusion Middleware Directory Structure and Concepts in the Oracle Complex Event Processing Getting Started. JRE The type of JRE to use. Select the type of JRE to use from the pull-down menu or click the Installed JRE preferences link to create a new JRE. Be sure to choose a Java 6 JRE. NOTE: The Oracle CEP server JRE is ultimately set by the JAVA_HOME setting in setDomainEnv.cmd or setDomainEnv.sh script in the server domain directory. Oracle CEP IDE for Eclipse and Oracle CEP Servers 5-7 Configure the dialog as shown in Table 5–4 .

6. Click Next.

The New Server: New Oracle CEP v11.1 Server dialog appears as Figure 5–5 shows. Figure 5–5 New Server: New Oracle CEP v11.1 Server

7. Select Local Server.

8. Click Next.

The New Server: New Oracle CEP v11 Server dialog appears as Figure 5–6 shows. Table 5–4 New Server: Define New Server Installed Runtimes Dialog Attributes Attribute Description Server’s host name The host name of the computer on which you installed Oracle CEP server. For development, this will typically be localhost. Select the server type The type of Oracle CEP server. In this example, choose Oracle CEP v11. Server runtime Select the server runtime from the pull-down menu. To create or edit server runtimes, click Installed Runtimes. For more information, see Section 5.2.3, How to Create an Oracle CEP Server Runtime . 5-8 Oracle Complex Event Processing Developers Guide Figure 5–6 New Server: New Oracle CEP v11 Server Dialog for a Local Server

9. Click Advanced and configure the dialog as shown in

Table 5–5 . Table 5–5 New Server: New Oracle CEP v11 Server Dialog Attributes for a Local Server Attribute Description Domain Directory The fully qualified path to the directory that contains the domain for this server. Click Browse to choose the directory. Default: ORACLE-CEP-HOME\user_projects\domains\ocep_ domain\defaultserver. Start Script The script that Oracle CEP IDE for Eclipse uses to start the Oracle CEP server. Default on UNIX: ORACLE-CEP-HOMEuser_ projectsdomainsocep_ domaindefaultserverstartwlevs.sh Default on Windows: ORACLE-CEP-HOME\user_ projects\domains\ocep_ domain\defaultserver\startwlevs.cmd Stop Script The script that Oracle CEP IDE for Eclipse uses to stop the Oracle CEP server. Default on UNIX: ORACLE-CEP-HOMEuser_ projectsdomainsocep_ domaindefaultserverstopwlevs.sh Default on Windows: ORACLE-CEP-HOME\user_ projects\domains\ocep_ domain\defaultserver\stopwlevs.cmd