How to Add or Delete an Application How to Add or Delete an Application Library

11 Managing Jetty 11-1 11 Managing Jetty This section contains the typical Jetty tasks you can perform with Oracle CEP Visualizer, including: ■ Section 11.1, Managing Jetty Web Server Configuration ■ Section 11.2, Managing Work Manager Configuration For more information, see Section 9.2, Jetty Management .

11.1 Managing Jetty Web Server Configuration

This section describes: ■ Section 11.1.1, How to View Jetty Web Server Configuration ■ Section 11.1.2, How to Edit Jetty Web Server Configuration

11.1.1 How to View Jetty Web Server Configuration

Using the Oracle CEP Visualizer, you can view the Jetty Web server configuration for a selected Oracle CEP server. To view Jetty web server configuration: 1. In the left pane, click the Domain Server node, where Domain refers to the name of your Oracle CEP domain and Server refers to the name of the server instance.

2. In the right pane, click the HTTP Server tab.

3. In the right pane, the properties of the Jetty server are displayed: ■ The name of the Jetty server. ■ The network IO object to which the Jetty server is bound. ■ The work manager name to which the Jetty server is bound. ■ The list of Web applications that are deployed to this Jetty server, along with the path of the application and its context path.

11.1.2 How to Edit Jetty Web Server Configuration

You can only view the configuration of the Jetty servers configured in your Oracle CEP server using Oracle CEP Visualizer. To change the configuration, you must manually update the servers config.xml file. For details, see Configuring Jetty for Oracle CEP in the Oracle Complex Event Processing Administrators Guide. 11-2 Oracle Complex Event Processing Visualizer Users Guide

11.2 Managing Work Manager Configuration

This section describes: ■ Section 11.2.1, How to View and Edit Work Manager Configuration ■ Section 11.2.2, How to Create a Work Manager ■ Section 11.2.3, How to Delete a Work Manager

11.2.1 How to View and Edit Work Manager Configuration

Using the Oracle CEP Visualizer, you can view the work manager configuration for a selected Oracle CEP server. To view the work manager configuration: 1. In the left pane, click the Domain Server node, where Domain refers to the name of your Oracle CEP domain and Server refers to the name of the server instance.

2. In the right pane, click the Work Manager tab.

The Work Manager tab appears as shown in Figure 11–1 . Figure 11–1 Work Manager Tab 3. In the Work Manager table, select the work manager you want to configure by clicking on its name.

4. Click the Change button at the bottom of the page.

5. Update the work manager configuration properties: Managing Jetty 11-3 ■ Min threads —The minimum number of threads that the server allocates so as to reduce the initial time it takes to perform a task. ■ Max threads —The maximum number of concurrent threads that execute requests from the constrained work set. ■ Fair Share —The average thread-use time required to process requests.

6. Click Save to save your changes or Cancel to cancel the update.

11.2.2 How to Create a Work Manager

You cannot delete existing work managers or create new ones using Oracle CEP Visualizer; rather, you must manually update the servers config.xml file. For details, see Jetty Work Managers in the Oracle Complex Event Processing Administrators Guide.

11.2.3 How to Delete a Work Manager

You cannot delete existing work managers or create new ones using Oracle CEP Visualizer; rather, you must manually update the servers config.xml file. For details, see Jetty Work Managers in the Oracle Complex Event Processing Administrators Guide. 11-4 Oracle Complex Event Processing Visualizer Users Guide