How to Access a Database Driver Using bootclasspath

14-4 Oracle Complex Event Processing Administrators Guide Set the name element to the internal name of the HTTP pub-sub server. Set the path element to the string that you want to appear in the URL for connecting to the HTTP pub-sub server. The next step describes the pub-sub-bean element. 4. Add server-config and channels child elements of the pub-sub-bean element: http-pubsub namemyPubSubServername pathmyPathpath pub-sub-bean server-config ... server-config channels ... channels pub-sub-bean http-pubsub 5. Update the server-config child element of the pub-sub-bean element with HTTP pub-sub server configuration as required. For the full list of possible elements, see Server Configuration XSD Schema: wlevs_server_config.xsd in the Oracle Complex Event Processing Developers Guide for Eclipse. The following are the most common configuration options: ■ Add a supported-transport element to specify the transport. The format of this element is as follows: server-config supported-transport types elementlong-pollingelement types supported-transport ... server-config Oracle CEP server supports the following transports: – long-polling: Using this transport, the client requests information from Oracle CEP server and if Oracle CEP server does not have information available, it does not reply until it has. When the Oracle CEP server replies, the client typically sends another request immediately. – callback-polling: Use this transport for HTTP publish-subscribe applications using a cross domain configuration in which the browser downloads the page from one Web server including the Javascript code and connects to another server as an HTTP publish-subscribe client. This is required by the Bayeaux protocol. For more information on the Bayeaux protocol, see http:svn.xantus.orgshortbustrunkbayeuxbayeux.html . Configuring HTTP Publish-Subscribe for Oracle CEP 14-5 ■ Add a publish-without-connect-allowed element to specify whether clients can publish messages without having explicitly connected to the HTTP pub-sub server; valid values are true or false: server-config ... publish-without-connect-allowedtruepublish-without-connect-allowed server-config ■ Add a work-manager element to specify the name of the work manager that delivers messages to clients. The value of this element corresponds to the value of the name child element of the work-manager you want to assign. server-config ... work-managermyWorkManagerwork-manager server-config For more information, see work-manager in the Oracle Complex Event Processing Developers Guide for Eclipse. ■ Add a client-timeout-secs element to specify the number of seconds after which the HTTP pub-sub server disconnects a client if the client does has not sent back a connectreconnect message. server-config ... client-timeout-secs600client-timeout-secs server-config 6. Update the channels child element with at least one channel pattern. Channel patterns always begin with a forward slash . Clients subscribe to these channels to either publish or receive messages. Add a channel pattern as shown: channels element channel-patternmychannelchannel-pattern element channels 7. Save the config.xml file. 8. Start the Oracle CEP server. See Section 1.5.4, Starting and Stopping Oracle CEP Servers . 9. Use Oracle CEP Visualizer to configure or add channels. See: ■ Configuring HTTP Publish-Subscribe Server Channels in the Oracle Complex Event Processing Visualizer Users Guide 10. Use Oracle CEP Visualizer to configure security for the channels. See: ■ Configuring Security for the HTTP Publish-Subscribe Channels in the Oracle Complex Event Processing Visualizer Users Guide ■ Section 10.8.4, Configuring HTTP Publish-Subscribe Server Channel Security