Skip Headers
Oracle® Process Manager and Notification Server Administrator's Guide
10g Release 2 (10.1.2)
B13996-02
  Go To Documentation Library
Home
Go To Product List
Solution Area
Go To Table Of Contents
Contents
Go To Index
Index

Previous
Previous
Next
Next
 

12 Configuring Log Loader

This chapter describes Log Loader configuration in the OPMN opmn.xml file.

It features the following topics:

12.1 Log Loader Process Module Configuration

The following lines load and identify the Log Loader process module. Management of Log Loader processes by the process module are identified by the module id.

<module path="$ORACLE_HOME/opmn/lib/liblogloader.so">
   <module-id id="LOGLDR"/>
</module>

12.2 Log Loader Minimum Configuration

The following lines represent the minimum configuration for Log Loader. Default values are assigned to all other configuration elements and attributes for Log Loader.

<ias-component id="LogLoader" status="enabled" id-matching="true">
   <process-type id="logloaderd" module-id="LOGLDR" working-dir="$ORACLE_HOME">
      <environment>
         <variable id="CLASSPATH" value="$ORACLE_HOME/diagnostics/lib/ojdl.jar" append="true"/>
         <variable id="CLASSPATH" value="$ORACLE_HOME/lib/xmlparserv2.jar" append="true"/>
         <variable id="CLASSPATH" value="$ORACLE_HOME/jdbc/lib/classes12.jar" append="true"/>
         <variable id="CLASSPATH" value="$ORACLE_HOME/jdbc/lib/nls_charset12.jar" append="true"/>
         <variable id="CLASSPATH" value="$ORACLE_HOME/opmn/lib/ons.jar" append="true"/>
         <variable id="CLASSPATH" value="$ORACLE_HOME/opmn/lib/optic.jar" append="true"/>
         <variable id="CLASSPATH" vaule="$ORACLE_HOME/jlib/oraclepki.jar" append="true"/>
      </environment>
   <process-set id="logloaderd" restart-on-death="true" numprocs="1">
      <module-data>
         <category id="start-parameters">
            <data id="java-parameters" value="-server -Doracle.home=$ORACLE_HOME
             -Djava.security.policy=$ORACLE_HOME/diagnostics/bin/java.policy"/>
         </category>
         <category id="stop-parameters">
            <data id="java-parameters" value=" -Doracle.home=$ORACLE_HOME -Djava.security.policy
             =$ORACLE_HOME/diagnostics/bin/java.policy"/>
         </category>
      </module-data>
   </process-set>
   </process-type>
</ias-component>

12.3 Log Loader Complete Configuration

The following lines show the complete configuration for Log Loader. It contains all possible configuration elements and attributes for Log Loader.

<ias-component id="LogLoader" status="enabled" id-matching="true">
   <process-type id="logloaderd" module-id="LOGLDR" working-dir="$ORACLE_HOME">
      <environment>
         <variable id="CLASSPATH" value="$ORACLE_HOME/diagnostics/lib/ojdl.jar" append="true"/>
         <variable id="CLASSPATH" value="$ORACLE_HOME/lib/xmlparserv2.jar" append="true"/>
         <variable id="CLASSPATH" value="$ORACLE_HOME/jdbc/lib/classes12.jar" append="true"/>
         <variable id="CLASSPATH" value="$ORACLE_HOME/jdbc/lib/nls_charset12.jar" append="true"/>
         <variable id="CLASSPATH" value="$ORACLE_HOME/opmn/lib/ons.jar" append="true"/>
         <variable id="CLASSPATH" value="$ORACLE_HOME/opmn/lib/optic.jar" append="true"/>
         <variable id="CLASSPATH" vaule="$ORACLE_HOME/jlib/oraclepki.jar" append="true"/>
      </environment>
   <process-set id="logloaderd" restart-on-death="true" numprocs="1">
      <module-data>
         <category id="start-parameters">
            <data id="java-bin" value="$ORACLE_HOME/jdk/bin/java"/>
            <data id="java-parameters" value="-server-Doracle.home= $ORACLE_HOME
             -Djava.security.policy=$ORACLE_HOME/diagnostics/bin/java.policy"/>
            <data id="class-name" value="oracle.core.ojdl.loader.LogLoaderDaemon"/>
            <data id="application-parameters" value="-start -config $ORACLE_HOME/diagnostics/
             config/logloader.xml"/>
         </category>
         <category id="stop-parameters">
            <data id="java-bin" value="$ORACLE_HOME/jdk/bin/java"/>
            <data id="java-parameters" value="-Doracle.home=$ORACLE_HOME
             -Djava.security.policy=$ORACLE_HOME/diagnostics/ bin/java.policy"/>
            <data id="class-name"value="oracle.core.ojdl.loader.LogLoaderDaemon"/>
            <data id="application-parameters" value="-stop"/>
         </category>
      </module-data>
   </process-set>
   </process-type>
</ias-component>

12.4 Log Loader Attribute Descriptions

This section describes the attributes that are specific for Log Loader. This section also provides attribute descriptions of the attributes.

The Log Loader attributes are described with the following format:

id="LogLoader"


Required: true
Default: none
Valid values: LogLoader
Path: ias-component

This id is required and cannot be changed.

id="logloaderd"


Required: true
Default: none
Valid values: logloaderd
Path: ias-component/process-type
Path: ias-component/process-type/process-set

This id is required and cannot be changed.

module-id="LOGLDR"


Required: true
Default: none
Path: ias-component/process-type

This name defines the type of process and associates this configuration with a process module.

numprocs="1"


Required: true
Default: none
Valid values: 1
Path: ias-component/process-type/process-set

This attribute gives the number of LogLoader server instances started for this process-set. The value should always be 1.

id="start-parameters"


Required: true
Default: none
Path: ias-component/process-type/process-set/module-data/
category

This indicates the configuration block for start-parameters category. This category specifies the Java-parameters data must be specified.

id="java-bin"


Required: false
Default: $ORACLE_HOME/jdk/bin/java
Valid values: Any full file path to a Java executable file
Path: ias-component/process-type/process-set/module-data/
category/data

You can specify alternate paths to the Java executable.

id="java-parameters"


Required: true
Default: None
Valid values: Any valid Java parameters
Path: ias-component/process-type/process-set/module-data/
category/data

The parameters -Doracle.home and -Djava.security.policy are required and must be defined in this section.

id="class-name"


Required: false
Default: oracle.core.ojdl.loader.LogLoaderDaemon
Valid values: a Java class name
Path: ias-component/process-type/process-set/module-data/
category/data

This field enables you to specify a Java class name other than the default to start or stop the LogLoader server process. This id is for internal use and must not be changed by the user.

id="application-parameters"


Required: false
Default: To start: -start -config $ORACLE_HOME/diagnostics/config/logloader.xml.
               To stop: -stop -config $ORACLE_HOME/diagnostics/config/logloader.xml
Valid values: any valid Java application parameters that are recognized by the class specified in "class-name".
Path: ias-component/process-type/process-set/module-data/
category/data

This field enables you to set application parameters. Any parameters defined here will replace the default values.

id="stop-parameters"


Required: false
Default: none
Path: ias-component/process-type/process-set/module-data/
category

This indicates the configuration block for stop-parameters category. In this category, some stop related module data can be specified.