Edit D:\app\Administrator\product\11.2.0\dbhome_1\mgw\admin\sample_mgw.ora
# Sample Message Gateway configuration file # # Note: Most of the examples in this file use a UNIX type file system syntax. # For a system with a different syntax (e.g. Windows) the examples must be # adjusted accordingly. # # The Messaging Gateway initialization file contains lines for setting # initialization parameters, environment variables, and Java properties. # Each entity must be specified on one line; it is not possible, for example, # for an initialization parameter specification to span multiple lines. # Leading whitespace is trimmed in all cases. ############################################################################### # The initialization parameters are typically specified by lines having # a "<name>=<value><NL>" format where <name> represents the parameter name, # <value> represents its value and <NL> represents a new line. # # Initialization parameters include log_directory and log_level. # # log_directory The directory in which to create the log file # DEFAULT $ORACLE_HOME/mgw/log # # log level Indicates the level of logging detail recorded by # the Message Gateway Agent. # VALUES: 0 Logging only (default) # 1 trace lite # 2 trace high # 3 trace debug # DEFAULT logging only. # If a value is not specified, the default will be used # log_directory= # Set logging level to logging only. # log_level = 0 ############################################################################### # Environment variables such as CLASSPATH and MGW_PREPATH are set so the # Messaging Gateway agent can find the required Java classes, libraries, etc. # Environment variables are specified by lines having a # "set <env var>= <value><NL>" or "setenv <env var>=<value><NL>" format # where <env var> represents the name of the environment variable to set, # <value> represents the value of the environment variable, and <NL> # represents a new line. # # CLASSPATH: used by the Java Virtual Machine to find Java classes needed # by the MGW agent. # CLASSPATH: Two separate classpaths are set below. The first applies to # WebSphere MQ propagation, the second to Tibco/Rendezvous. # # Note that the JRE references in the CLASSPATHs below may be in different # locations depending on installation options and the platform used. These # examples assume that the JRE to be used is located at: ORACLE_HOME/jdk/jre # # Set the CLASSPATH we need for the MGW Agent. # The following are examples of CLASSPATH settings for use with WebSphere MQ # (both Base Java and JMS) and Tibco/Rendezvous respectively. In these # examples "myOracleHome" should be replaced by the path of your ORACLE_HOME. # # This classpath includes classes needed for both WebSphere MQ Base Java # and WebSphere MQ JMS propagation. # set CLASSPATH=/myOracleHome/jdbc/lib/ojdbc5.jar:/myOracleHome/jdk/jre/lib/i18n.jar:/myOracleHome/jdk/jre/lib/rt.jar:/myOracleHome/sqlj/lib/runtime12.jar:/myOracleHome/jlib/orai18n.jar:/myOracleHome/jlib/jta.jar:/myOracleHome/rdbms/jlib/jmscommon.jar:/myOracleHome/rdbms/jlib/aqapi.jar:/opt/mqm/java/lib/com.ibm.mqjms.jar:/opt/mqm/java/lib/com.ibm.mq.jar:/opt/mqm/java/lib:/opt/mqm/java/lib/connector.jar: # Set the CLASSPATH we need for the MGW Agent. This classpath includes classes # needed for Tibco/Rendezvous propagation. # In this example "TibRvHome" should be replaced by the home directory of your # Tibco/Rendezvous installation. # set CLASSPATH=/myOracleHome/jdbc/lib/ojdbc5.jar:/myOracleHome/jdk/jre/lib/i18n.jar:/myOracleHome/jdk/jre/lib/rt.jar:/myOracleHome/sqlj/lib/runtime12.jar:/myOracleHome/jlib/orai18n.jar:/myOracleHome/jlib/jta.jar:/myOracleHome/rdbms/jlib/jmscommon.jar:/myOracleHome/rdbms/jlib/aqapi.jar:/opt/mqm/java/lib/com.ibm.mqjms.jar:/TibRvHome/lib/tibrvj.jar # MGW_PRE_PATH: will be appended to the front of the PATH inherited by the # Messaging Gateway process. For WINDOWS NT, this variable must be set to # indicate where the library jvm.dll may be found. For example: # set MGW_PRE_PATH=\myOracleHome\jdk\jre\bin\client # When propagating to/from the Tibco/Rendezvous messaging system the bin # directory of the installation should be included. For example: # set MGW_PRE_PATH=/TibRvHome/bin ############################################################################### # Java properties. Java properties can be set when creating the JVM of the # Messaging Gateway agent. Java properties are specified by lines having a # "setJavaProp <prop name>=<value><NL>" format where <prop name> represents # the name of the Java property to set, <value> represents the value of the # Java property, and <NL> represents a new line character. # Example: # setJavaProp oracle.mgw.batch_size = 10 ############################################################################### # The following is a full example of an mgw.ora configuration that uses the # default log directory, and lowest logging level. Oracle is installed in # the directory /myOracleHome and the intention is to to use Messaging Gateway # for propagation to/from WebSphere MQ. log_directory= log_level = 0 set CLASSPATH=/myOracleHome/jdbc/lib/ojdbc5.jar:/myOracleHome/jdk/jre/lib/i18n.jar:/myOracleHome/jdk/jre/lib/rt.jar:/myOracleHome/sqlj/lib/runtime12.jar:/myOracleHome/jlib/orai18n.jar:/myOracleHome/jlib/jta.jar:/myOracleHome/rdbms/jlib/jmscommon.jar:/myOracleHome/rdbms/jlib/aqapi.jar:/opt/mqm/java/lib/com.ibm.mqjms.jar:/opt/mqm/java/lib/com.ibm.mq.jar:/opt/mqm/java/lib:/opt/mqm/java/lib/connector.jar
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de