Oracle® Process Manager and Notification Server Administrator's Guide
10g (9.0.4) Part Number B12057-01 |
|
This chapter describes OracleAS Web Cache configuration in the OPMN opmn.xml
file.
It features the following topics:
The following lines load and identify the OracleAS Web Cache process module. Management of OracleAS Web Cache processes by the process module are identified by the module
id
.
<module path="ORACLE_HOME
/opmn/lib/libopmnwc.so">
<module-id id="WebCache" />
<module-id id="WebCacheAdmin" />
</module>
The following lines represent the minimum configuration for OracleAS Web Cache. Default values are assigned to all other configuration elements and attributes for OracleAS Web Cache.
<ias-component id="WebCache"> <environment> <variable id="LD_LIBRARY_PATH" value="$ORACLE_HOME
/lib:$ORACLE_HOME
/opmn/lib" append="true"/> </environment> <process-type id="WebCache" module-id="WebCache"> <process-set id="WebCache" numprocs="1"/> </process-type> <process-type id="WebCacheAdmin" module-id="WebCache-admin"> <process-set id="WebCacheAdmin" restart-on-death="false" numprocs="1"/> </process-type> </ias-component>
The following example represents the complete configuration for OracleAS Web Cache. It contains all possible configuration elements and attributes that can be used with OracleAS Web Cache.
<ias-component id="WebCache"> module-id="WebCache" <variable id="LD_LIBRARY_PATH" value="$ORACLE_HOME
/lib:$ORACLE_HOME
/opmn/lib" append="true"/> </environment> <process-type id="WebCache" module-id="WebCache"> <process-set id="WebCache" restart-on-death="true" numprocs="1"/> </process-type> <process-type id="WebCacheAdmin" module-id="WebCache"-admin"> <process-set id="WebCacheAdmin" restart-on-death="false" numprocs="1"/> </process-type> </ias-component>
This section describes the attributes that are specific for OracleAS Web Cache.
The OracleAS Web Cache attributes are described with the following format:
opmn.xml
file or is assigned internally if the attribute is not present.
WebCache
.
ias-component.
WebCache
ias-component
ias-component/process-type
ias-component/process-type/process-set
This id
is required and cannot be changed. The id
must match the targets.xml
entry or Application Server Control will not work.
ias-component/process-type
ias-component/process-type/process-set
The id
name is required and cannot be changed. The id
must match the targets.xml
entry or elements and attributes will not work.
WebCache
, WebCache-admin
ias-component/process-type
The module id
defines whether the child process-set
element defines a WebCache
server process or a WebCache
administrative process. At least one WebCache
server process must be defined in the WebCache
component.
true
or false
ias-component/process-type/process-set
The restart-on-death
attribute defines whether the process will be restarted if it exits unexpectedly. By default after Oracle Application Server installation, this attribute is set to true
for the OracleAS Web Cache server, and false
for the OracleAS Web Cache administrative process.
This attribute gives the number of OracleAS Web Cache processes started for the process-set
. The value must be set to 1.
|
Copyright © 2003 Oracle Corporation. All Rights Reserved. |
|