09.12.2012 Views

Advanced Queuing - Oracle

Advanced Queuing - Oracle

Advanced Queuing - Oracle

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Format: set CLASSPATH=<br />

The mgw.ora Initialization File<br />

Example: The following example indicates classes that must be included for<br />

Messaging Gateway propagation between <strong>Oracle</strong> AQ and MQSeries.<br />

set CLASSPATH =<br />

/my<strong>Oracle</strong>Home/jdbc/lib/classes12.zip:/my<strong>Oracle</strong>Home/jdk/jre/lib/i18n.jar:/myOracl<br />

eHome/jdk/jre/lib/rt.jar:/my<strong>Oracle</strong>Home/sqlj/lib/runtime12.zip/my<strong>Oracle</strong>Home/sqlj/<br />

lib/translator.zip:/my<strong>Oracle</strong>Home/jdbc/lib/nls_<br />

charset12.zip:/my<strong>Oracle</strong>Home/mgw/classes/mgw.jar:/opt/mqm/java/lib/com.ibm.mq.jar<br />

:/opt/mqm/java/lib<br />

LD_LIBRARY_PATH<br />

Usage: Used by the MGW process to find external libraries. Not needed for<br />

WINDOWS NT.<br />

Format: set LD_LIBRARY_PATH=<br />

Example: The following example indicates paths to libraries that may be needed by<br />

the Messaging Gateway for propagation between <strong>Oracle</strong> AQ and MQSeries<br />

set LD_LIBRARY_PATH =<br />

/my<strong>Oracle</strong>Home/jdk/jre/lib/sparc:/my<strong>Oracle</strong>Home/rdbms/ib:/my<strong>Oracle</strong>Home/lib:/opt/mq<br />

m/java/lib<br />

MGW_PRE_PATH<br />

Usage: Appended to the front of the path inherited by the Messaging Gateway<br />

process. For WINDOWS NT, this variable must be set to indicate where the library<br />

jvm.dll is found. It is not currently necessary for other operating systems.<br />

Format: set MGW_PRE_PATH=<br />

Example: The following example indicates where the library may be found.<br />

set MGW_PRE_PATH=\my<strong>Oracle</strong>Home\jdk\jre\bin\classic<br />

ORACLE_SID<br />

Usage: May be used when a service name is not specified when configuring the<br />

Messaging Gateway.<br />

Messaging Gateway 18-47

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!