Developing Servlets for Jetty

Configuring JMX for Oracle CEP 12-3 Where ORACLE_CEP_HOME refers to the directory in which you installed Oracle CEP such as d:\oracle_home. You must launch your JMX client such as jconsole using the following command line options and classpath split for readability; in practice, the command should be on one line: prompt java -Djmx.remote.protocol.provider.pkgs=com.bea.core.jmx.remote.provider -Dmx4j.remote.resolver.pkgs=com.bea.core.jmx.remote.resolver -Djava.naming.factory.initial=com.bea.core.jndi.context.ContextFactory -classpath JAVA_HOME\lib\jconsole.jar;MODULE_HOME\modules\com.bea.core.jmx_ 8.0.0.0.jar; MODULE_HOME \modules\com.bea.core.rmi_7.0.0.0.jar;MODULE_ HOME \modules\com.bea.core.jndi.context_7.0.0.0.jar; MODULE_HOME \modules\com.bea.core.logging_1.5.0.0.jar;MODULE_ HOME \modules\com.bea.core.bootbundle_8.0.0.0.jar sun.tools.jconsole.JConsole Where MODULE_HOME is the directory you copied the Oracle CEP server JAR files to. To connect to the Oracle CEP JMX server, you must use the JMX URL service:jmx:msarmi:HOST-NAME:portjndijmxconnector so that you are always using the MSA connector where HOST-NAME is either localhost or the name of the remote host and port is the Oracle CEP server JNDI port . For more information, see: ■ Section 12.3.1, How to Programmatically Connect to the Oracle CEP JMX Server From a Non-Oracle CEP Client ■ Section 12.3.6, How to Connect to a Local or Remote Oracle CEP JMX Server Using JConsole With Security Disabled

12.1.2.2 Accessing Configuration MBeans

You can also perform some configuration and application life cycle management of the server, domain, and deployed applications using MBeans, although this section predominantly describes configuring individual application components. However, because server, domain, and application configuration is also done using MBeans, much of the information in this section is applicable. Each component in a deployed application adapter, channel, or processor has a configuration MBean that manages the underlying configuration of the component. Each type of component has its own set of manageable artifacts. For example, you can dynamically configure the maximum number of threads for a channel or the Oracle CQL rules associated with a processor.

12.1.2.3 Accessing Oracle CEP Runtime MBeans

You can also gather monitoring information for each component in the EPN using runtime MBeans. Monitoring information includes throughput number of events passing through a component and latency how long it takes an event to pass through a component.

12.1.3 Understanding Oracle CEP MBeans

Oracle CEP exposes the following types of MBeans: ■ Configuration MBeans —Contain information about the configuration of components in an EPN, a deployed Oracle CEP application, the server and domain configurations. These MBeans have a fixed management interface and represent