How to Deploy an Application to an Oracle CEP Server

Oracle CEP IDE for Eclipse and Oracle CEP Servers 5-25

6. Click Finish.

Once an application is added, it will show as a child of the server in the Servers view as shown in Figure 5–25 . Figure 5–25 Server View After Adding a Project 7. To deploy publish the application to the Oracle CEP server, right-click the added application and select Force Publish. a. If the Oracle CEP server is part of a standalone-server, domain the application is deployed. b. If the Oracle CEP server is part of a multi-server domain, the Select Cluster Deployment Group Name dialog appears as Figure 5–26 shows. Figure 5–26 Select Cluster Deployment Group Name Dialog Select the cluster deployment group you want to deploy the application to and click OK. For more information on clustering, see Introduction to Multi-Server Domains in the Oracle Complex Event Processing Administrators Guide. Configured Select one or more projects from this list and click Remove or Remove All to move them into the Available list. If server is started, publish changes immediately. Check this option to immediately publish projects that you modify. Applicable only if the server is already running. Table 5–12 Cont. Add and Remove Dialog Attributes Attribute Description 5-26 Oracle Complex Event Processing Developers Guide Once an application is deployed published, it will show as a child of the server in the Servers view as shown in Figure 5–27 . Figure 5–27 Server View After Deploying Publishing a Project

5.3.7 How to Configure Connection and Control Settings for Oracle CEP Server

After you create a server, you can use the Server Overview editor to configure all the important server connection and control settings that Oracle CEP IDE for Eclipse uses to communicate with the Oracle CEP server. For more information, see: ■ Section 5.2.1, How to Create a Local Oracle CEP Server and Server Runtime ■ Section 5.3.8, How to Configure Domain Runtime Settings for Oracle CEP Server To configure connection and control settings for Oracle CEP server: 1. Select Window Show Views Servers. 2. Double-click a server in the Servers view. The Server Overview editor opens as shown in Figure 5–28 . Figure 5–28 Server Overview Editor 3. Configure the Server Overview editor as shown in Table 5–13 . Oracle CEP IDE for Eclipse and Oracle CEP Servers 5-27 Table 5–13 Server Overview Editor Attributes Attribute Description Server Name The name of this server. Only used within the Oracle CEP IDE for Eclipse as a useful identifier. For more information, see Section 5.2.1, How to Create a Local Oracle CEP Server and Server Runtime . Host Name The name of the host on which this server is installed. For more information, see Section 5.2.1, How to Create a Local Oracle CEP Server and Server Runtime . Runtime Enviroment The current installed runtime selected for this server. Select a new runtime from the pull down menu or click the Edit link to modify the configuration of the selected runtime. For more information, see Section 5.2.1, How to Create a Local Oracle CEP Server and Server Runtime . Domain Directory 1 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 1 The script that Oracle CEP IDE for Eclipse uses to start the Oracle CEP server. Click Browse to choose the start script. Default on UNIX: ORACLE-CEP-HOME\user_ projects\domains\ocep_ domain\defaultserver\stopwlevs.sh Default on Windows: ORACLE-CEP-HOME\user_ projects\domains\ocep_ domain\defaultserver\stopwlevs.cmd Stop Script 1 The script that Oracle CEP IDE for Eclipse uses to stop the Oracle CEP server. Click Browse to choose the stop script. Default on UNIX: ORACLE-CEP-HOME\user_ projects\domains\ocep_ domain\defaultserver\startwlevs.sh Default on Windows: ORACLE-CEP-HOME\user_ projects\domains\ocep_ domain\defaultserver\startwlevs.cmd Debug Port 1 The Oracle CEP server port that Oracle CEP IDE for Eclipse connects to when debugging the Oracle CEP server. Default: 8453. Remote Server IP Address 2 The IP address of the remote Oracle CEP server. Default: IP address of localhost. 5-28 Oracle Complex Event Processing Developers Guide

4. Select File Save.

5. Close the Server Overview editor.

5.3.8 How to Configure Domain Runtime Settings for Oracle CEP Server

After you create a server, you can use the Oracle CEP IDE for Eclipse to configure Oracle CEP server domain runtime settings in the Oracle CEP server config.xml file. Recall that a local Oracle CEP server is one in which both the server and server runtime are on the same host and a remote Oracle CEP server is one in which the server and server runtime are on different hosts: the server is on a remote host and the Remote Server Port 2 The port you specified in the remote Oracle CEP server DOMAIN_DIR configconfig.xml file that describes your Oracle CEP domain, where DOMAIN_DIR refers to your domain directory. The port number is the value of the Port child element of the Netio element: Netio NameNetIOName Port9002Port Netio Default: 9002 User Name 2 The user name that the Oracle CEP IDE for Eclipse uses to log into the remote server. Default: wlevs User Password 2 The password that the Oracle CEP IDE for Eclipse uses to log into the remote server. Default: wlevs Publishing By default, when you change an application, you must manually publish the changes to the Oracle CEP server. Select Never publish automatically to disable automatic publishing. Select Override default settings to override the default automatic publishing interval. Enter a new publishing interval in seconds. Default: Never publish automatically. Timeouts Enter a positive, integer number of seconds in the Start in seconds field to specify the time in which the Oracle CEP server must start. Default: 150 seconds. Enter a positive, integer number of seconds in the Stop in seconds field to specify the time in which the Oracle CEP server must start. Default: 60 seconds. 1 Click Local Server to modify. Applies to both a local server and the runtime of a remote server. 2 Click Remote Server to modify. Applies only to a remote server. Table 5–13 Cont. Server Overview Editor Attributes Attribute Description