Managing Data Sources 13-9
Figure 13–8 New Datasource: Global Tx Protocol Tab
7.
Configure the Global Tx Protocol tab as Table 13–5
describes.
8. Click the Connection Pool tab.
The Connection Pool tab appears as Figure 13–9
shows.
Table 13–5 New Datasource: Global Tx Protocol Parameters
Parameter Description
Database Type Select the type of JDBC driver to use:
■
Derby
■
Oracle
■
SQL Server 2005
■
Other URL
Specify the database connection URL appropriate for your database. This URL includes the name of the database, the host and port of the computer on
which the database server is running, and so on. Oracle CEP populates a default URL for database types it provides.
Driver Name Specify the name of the driver for the selected database type. Oracle CEP
automatically populates the driver name for types it provides. User Name
Specify database user account name that you want to use for each connection in the data source.
Password Specify database user password that you want to use for each connection in
the data source Use XA
Specify whether or not to use distributed transactions:
■
true : enable distributed transactions.
■
false : disable distributed transactions.
13-10 Oracle Complex Event Processing Visualizer Users Guide
Figure 13–9 New Datasource: Connection Pool Tab
9. Configure the Connection Pool tab as
Table 13–6 describes.
10. Click Save.
The new datasource is added to the Oracle CEP server configuration.
Table 13–6 New Datasource: Connection Pool Parameters
Parameter Description
Initial Capacity Specify the number of physical connections to create when creating the
connection pool. Max Capacity
Specify the maximum number of physical connections that this connection pool can contain.
Capacity Increment Specify how many connections to add when all the connections in the
connection pool are in use and the connection pool receives a new connection request.
Test Enter the name of a small table to use in a query if you want to test the
database connection before handing it to the requesting application. The standard query is select 1 from table_name. If you prefer to use a
different query as a connection test, enter SQL followed by a space and the SQL code you want to use to test database connections.
14
Managing HTTP Publish-Subscribe Servers 14-1
14
Managing HTTP Publish-Subscribe Servers
This section contains the typical HTTP publish-subscribe server tasks you can perform with Oracle CEP Visualizer, including:
■
Section 14.1, Viewing HTTP Publish-Subscribe Servers
■
Section 14.2, Adding or Deleting an HTTP Publish-Subscribe Server For more information, see:
■
Section 9.5, HTTP Publish-Subscribe Server Management
■
Section 15.1, Configuring the Event Inspector Service HTTP Pub-Sub Server
■
Chapter 24, Managing HTTP Publish-Subscribe Server Security
14.1 Viewing HTTP Publish-Subscribe Servers
You can view an existing HTTP publish-subscribe server using the Oracle CEP Visualizer.
14.1.1 How to View HTTP Publish-Subscribe Server Channels
Using the Oracle CEP Visualizer, you can view the HTTP publish-subscribe server channels currently open on the Oracle CEP server, including:
■
Static: those channels configured in the Oracle CEP server config.xml and used
by Oracle CEP Visualizer itself.
■
Dynamic: those channels that are not configured in the Oracle CEP server
config.xml but created dynamically when the Oracle CEP sever is running. You
can view statistics for dynamic channels, including the number of messages sent to this channel and the number of subscribers. Dynamic channel configuration is
read-only.
■
User-defined: those channels that you create in your own Oracle CEP
applications. These channels may be either static or dynamic.
Note: When one application application-1 advertises a channel that
a second application application-2 subscribes to and uses as a foreign stage, you cannot view the details of the advertised channel from
application-2. To view the details of this channel, you must do so from application-1.
14-2 Oracle Complex Event Processing Visualizer Users Guide
To view HTTP publish-subscribe server channels: 1.
Be sure you log on to Oracle CEP Visualizer using an administration user. For more information, see:
■
Configuring Security for Oracle CEP in the Oracle Complex Event Processing Administrators Guide.
■
Section 2.1, Starting the Oracle CEP Visualizer
2. In the left pane, click the Domain Server Services Http PubSub Server node,
where Domain refers to the name of your Oracle CEP domain and Server refers to the name of the server instance.
A table appears in the right pane with the list of HTTP pub-sub servers configured for Oracle CEP.
3.
In the right pane, double-click the name of the HTTP pub-sub server in the table. The default server is called pubsub.
The HTTP publish-subscribe server properties dialog appears as Figure 14–1
shows.
Figure 14–1 HTTP Publish-Subscribe Server Channel List
All active channels are shown in the Channels table. The Status column indicates the type of channel: static, dynamic, or user-defined.
14.2 Adding or Deleting an HTTP Publish-Subscribe Server
This section describes:
■
Section 14.1.1, How to View HTTP Publish-Subscribe Server Channels
■
Section 14.2.2, How to Delete an HTTP Publish-Subscribe Server Channel
Managing HTTP Publish-Subscribe Servers 14-3
14.2.1 How to Add an HTTP Publish-Subscribe Server Channel
Using the Oracle CEP Visualizer, you can add an HTTP publish-subscribe server channel.
To add an HTTP publish-subscribe server channel: 1.
Be sure you log on to Oracle CEP Visualizer using an administration user. For more information, see:
■
Configuring Security for Oracle CEP in the Oracle Complex Event Processing Administrators Guide.
■
Section 2.1, Starting the Oracle CEP Visualizer
2. In the left pane, click the Domain Server Services Http PubSub Server node,
where Domain refers to the name of your Oracle CEP domain and Server refers to the name of the server instance.
A table appears in the right pane with the list of HTTP pub-sub servers configured for Oracle CEP.
3.
In the right pane, double-click the name of the HTTP pub-sub server in the table. The default server is called pubsub.
4. Click Add Channel.
5.
In the working area towards the bottom of the right pane, enter the name of the new channel in the Channel Pattern text box.
The channel must start with a , such as mychannel.
6.
If you have security enabled, select the security roles that are allowed to publish and subscribe to the channel.
Select more than one by holding down the Ctrl key. 7.
Click Save.
The new channel appears in the Channels table at the top right of the pane.
14.2.2 How to Delete an HTTP Publish-Subscribe Server Channel
Using the Oracle CEP Visualizer, you can add an HTTP publish-subscribe server channel.
To delete an HTTP publish-subscribe server channel: 1.
Be sure you log on to Oracle CEP Visualizer using an administration user. For more information, see:
■
Configuring Security for Oracle CEP in the Oracle Complex Event Processing Administrators Guide.
■
Section 2.1, Starting the Oracle CEP Visualizer
2. In the left pane, click the Domain Server Services Http PubSub server node,
where Domain refers to the name of your Oracle CEP domain and Server refers to the name of the server instance.
A table appears in the right pane with the list of HTTP pub-sub servers configured for Oracle CEP.
3.
In the right pane, click the name of the HTTP pub-sub server in the table. The default server is called pubsub.
14-4 Oracle Complex Event Processing Visualizer Users Guide
4.
In the Channels table, click the name of the channel you want to delete.
5. Click Delete Channel at the bottom of the pane.