WebLogic Event Server Administration and Configuration Guide

     Previous  Next    Open TOC in new window    View as PDF - New Window  Get Adobe Reader - New Window
Content starts here

Configuring WebLogic Event Server

This section contains information on the following subjects:

 


Overview of Configuring WebLogic Event Server

After you have created a WebLogic Event Server domain, you start a server instance so you can then deploy applications and begin running them. See Stopping and Starting the Server for details.

There are a variety of ways to configure a particular server instance, as follows:

 


Configuring the Server by Manually Editing the config.xml File

The WebLogic Event Server configuration file, config.xml, is located in the DOMAIN_DIR/config directory, where DOMAIN_DIR refers to the main domain directory. To change the configuration of WebLogic Event Server, you can update this file manually and add or remove server configuration elements.

In this release of WebLogic Event Server, the config.xml file configures:

The following sample config.xml, from the BEA_HOME/user_projects/domains/wlevs20_domain template domain, shows how to configure some of these services:

<n1:config xsi:schemaLocation="http://www.bea.com/wlevs/xml/ns/config/server wlevs_server_config.xsd" 
xmlns:n1="http://www.bea.com/wlevs/xml/ns/config/server"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <netio>
<name>JettyNetIO</name>
<port>9002</port>
</netio>
  <work-manager>
<name>JettyWorkManager</name>
<min-threads-constraint>5</min-threads-constraint>
<max-threads-constraint>10</max-threads-constraint>
</work-manager>
  <jetty>
<name>JettyServer</name>
<network-io-name>JettyNetIO</network-io-name>
<work-manager-name>JettyWorkManager</work-manager-name>
</jetty>
  <rmi>
<name>RMI</name>
<http-service-name>JettyServer</http-service-name>
</rmi>
  <jndi-context>
<name>JNDI</name>
</jndi-context>
  <exported-jndi-context>
<name>exportedJNDI</name>
<rmi-service-name>RMI</rmi-service-name>
</exported-jndi-context>
  <jmx>
<jndi-service-name>JNDI</jndi-service-name>
<rmi-service-name>RMI</rmi-service-name>
<rmi-registry-port>1099</rmi-registry-port>
<rmi-jrmp-port>9999</rmi-jrmp-port>
</jmx>
</n1:config>
WARNING: If you update the config.xml file manually to change the configuration of WebLogic Event Server, you must restart the server for the change to take effect.


  Back to Top       Previous  Next