Overview of Oracle CEP Server Administration 1-5
The following list describes the important files and directories of a server in a domain, relative to the server directory such as c:\oracle_cep\user_
projects\domains\my_domain\server1:
■
deployments.xml—XML file that contains the list of applications, packaged as OSGi bundles, that are currently deployed to the Oracle CEP instance of this
domain. You never update this file manually to deploy applications, but rather, use the deployer tool.
■
startwlevs.cmd—Command file used to start an instance of Oracle CEP. The UNIX equivalent is called startwlevs.sh.
■
stopwlevs.cmd—Command file used to stop an instance of Oracle CEP. The UNIX equivalent is called stopwlevs.sh.
■
configconfig.xml—XML file that describes the services that have been configured for the Oracle CEP instance. Services include logging, debugging, Jetty
Web Service, and JDBC data sources.
For more information, see Section 1.3.2, Configuring an Oracle CEP Server by
Manually Editing the config.xml File .
■
configsecurity—Files that configure security for the domain.
■
configatnstore.txt—File that lists the configured users and groups for this domain.
1.3.2 Configuring an Oracle CEP Server by Manually Editing the config.xml File
The most efficient, least error-prone way to configure an Oracle CEP server is to use one or more of the Oracle CEP administration tools as
Section 1.4, Understanding Oracle CEP Server Administration Tools
describes. Optionally, you can perform Oracle CEP server configuration by manually editing the
Oracle CEP server config.xml file. For more information on the location of the Oracle CEP server config.xml file, see
Section 1.3.1, Oracle CEP Server Configuration Files
.
You can configure the following server objects and features using the config.xml file the referenced sections describe the exact elements you must add or update:
■
How the servers in a multi-server domain are configured together. This includes the multicast address and port, the groups, and so on.
See:
– Chapter 3, Administrating Oracle CEP Standalone-Server Domains
– Chapter 6, Administrating Multi-Server Domains With Oracle Coherence
– Chapter 7, Administrating Multi-Server Domains With Oracle CEP Native
Clustering
■
Network IO. See
Chapter 9, Configuring Network IO for Oracle CEP.
■
Security.
Caution: If you update the config.xml file manually to change the
configuration of an Oracle CEP server, you must restart the server for the change to take effect.
1-6 Oracle Complex Event Processing Administrators Guide
See Chapter 10, Configuring Security for Oracle CEP.
■
Jetty, an open-source, standards-based, full-featured Java Web Server. See
Chapter 11, Configuring Jetty for Oracle CEP.
■
JMX, required to use the Oracle CEP Visualizer, wlevs.Admin utility, and Deployer utility
See Chapter 12, Configuring JMX for Oracle CEP.
■
JDBC data source, used to connect to a relational database. See
Chapter 13, Configuring JDBC for Oracle CEP.
■
HTTP publish-subscribe server. See
Chapter 14, Configuring HTTP Publish-Subscribe for Oracle CEP.
■
Logging and debugging properties of the server. By default, the log level is set to NOTICE.
See Chapter 15, Configuring Logging and Debugging for Oracle CEP.
Example 1–1 shows a sample config.xml, from the ORACLE_CEP_HOMEuser_
projectsdomainsocep_domaindefaultserver template domain, shows how to configure some of these services.
Example 1–1 Sample Oracle CEP Server config.xml File
?xml version=1.0 encoding=UTF-8? --Sample XML file generated by XMLSpy v2007 sp2 http:www.altova.com--
n1:config xsi:schemaLocation=http:www.bea.comnswlevsconfigserver wlevs_server_config.xsd
xmlns:n1=http:www.bea.comnswlevsconfigserver xmlns:xsi=http:www.w3.org2001XMLSchema-instance
netio nameNetIOname
port9002port netio
netio namesslNetIoname
ssl-config-bean-namesslConfigssl-config-bean-name port9003port
netio work-manager
nameJettyWorkManagername min-threads-constraint5min-threads-constraint
max-threads-constraint10max-threads-constraint work-manager
jetty nameJettyServername
network-io-nameNetIOnetwork-io-name work-manager-nameJettyWorkManagerwork-manager-name
secure-network-io-namesslNetIosecure-network-io-name jetty
rmi nameRMIname
http-service-nameJettyServerhttp-service-name rmi
jndi-context nameJNDIname
jndi-context exported-jndi-context
nameexportedJndiname rmi-service-nameRMIrmi-service-name
exported-jndi-context