How to Configure Connection and Control Settings for Oracle CEP Server

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 Oracle CEP IDE for Eclipse and Oracle CEP Servers 5-29 server runtime is on the local host the host on which you are executing the Oracle CEP IDE for Eclipse. For both local and remote Oracle CEP servers, when you configure domain runtime settings, you are modifying only the Oracle CEP server config.xml on the local host. You can also use the Oracle CEP IDE for Eclipse to configure all the important server connection and control settings that Oracle CEP IDE for Eclipse uses to communicate with the Oracle CEP server. Any changes you make to the Oracle CEP server config.xml file for a running Oracle CEP server are not read by the Oracle CEP server until you restart it. If you make changes to the Oracle CEP server config.xml file for a running Oracle CEP server using the Oracle CEP Visualizer, the changes apply to the running Oracle CEP server as soon as you save them. The Oracle CEP Visualizer updates the Oracle CEP server config.xml file and overwrites the current filesystem version of that file with the current, in-memory version. If you make changes to the Oracle CEP server config.xml file by manually editing this file, and you then make further changes using the Oracle CEP Visualizer, your manual edits will be overwritten by the Oracle CEP Visualizer. To avoid this, when you manually edit the Oracle CEP server config.xml file, always stop and start the Oracle CEP server to read those changes into the runtime configuration and then use the Oracle CEP Visualizer to make further changes. For more information, see: ■ Section 5.2.1, How to Create a Local Oracle CEP Server and Server Runtime ■ Section 5.2.2, How to Create a Remote Oracle CEP Server and Server Runtime ■ Section 5.3.7, How to Configure Connection and Control Settings for Oracle CEP Server ■ Section 5.3.9, How to Start the Oracle CEP Visualizer from Oracle CEP IDE for Eclipse ■ Understanding Oracle CEP Server Configuration in the Oracle Complex Event Processing Administrators Guide To configure domain runtime settings for Oracle CEP server: 1. Select Window Show Views Servers. 2. Right-click a server in the Servers view and select Open Domain Configuration File as shown in Figure 5–29 . 5-30 Oracle Complex Event Processing Developers Guide Figure 5–29 Editing the Domain Configuration File The Oracle CEP server domain configuration file config.xml opens as shown in Figure 5–30 . Figure 5–30 Oracle CEP Domain Configuration File config.xml

3. Edit the domain configuration file as required.

4. Select File Save.

5. Close the domain configuration file.

5.3.9 How to Start the Oracle CEP Visualizer from Oracle CEP IDE for Eclipse

After you create a server, you can start the Oracle CEP Visualizer from the Oracle CEP IDE for Eclipse.