Kbase 19938: Steps for Getting the Progress SonicMQ Adapter Running
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  08/02/2005 |
|
Status: Verified
GOAL:
How to get the Progress SonicMQ Adapter running against SonicMQ 4.x
FACT(s) (Environment):
Progress 9.1B
FACT(s) (Environment):
Progress 9.1C
FACT(s) (Environment):
SonicMQ
FIX:
The SonicMQ Adapter communicates between clients and the Progress SonicMQ message broker. The Adapter is part of the Progress Explorer administration framework.
Installation of the SonicMQ Adapter product (a separate license) and the Progress core product from the installation CD includes default instances of the product.
When the installation is complete, an example of the SonicMQ Adapter broker exists with the name "SonicMQ1".
It is already configured to work with the example of the NameServer called "NS1". In addition, the PROPATH for the Procedure Editor is set to allow communication to a SonicMQ Broker by running the samples from the directory:
<Progress installdir>\src\samples\sonicMQ
With Version 9.1B, two steps are necessary to successfully start the SonicMQ Adapter:
1) You must set the PROGRESSCP environment variable to
point to the directories:
<SonicMQ 2000.1 installdir>\lib\client.jar
and
<SonicMQ 2000.1 installdir>\lib\jndi.jar
instead of to:
<Progress 9.1B installdir>\lib\client.jar
and
<Progress 9.1B installdir>\lib\jndi.jar
(This is explained in the Release Notes
at <Progress installdir>\Readme.pro.
PROGRESSCP is the environment variable as synonym for the Progress classpath to allow Java to find the required SonicMQ classes for the Progress SonicMQ Adapter.
On the Windows NT platform, the Progress 9.1B applications pick up the PROGRESSCP environment variable from the Registry Key:
[HKEY_LOCAL_MACHINE\SOFTWARE\PSC\PROGRESS\9.1B\JAVA]
The following is an example of an exported Registry Key entry with REGEDIT4:
[HKEY_LOCAL_MACHINE\SOFTWARE\PSC\PROGRESS\9.1B\JAVA]
"JDKHOME"="e:\\PRO91B\\jdk"
"JREHOME"="e:\\PRO91B\\jre"
"JRECP"="e:\\PRO91B\\jre\\lib\\rt.jar;e:\\PRO91B\\jre\\lib\\i18n.jar"
"JDKCP"="e:\\PRO91B\\jdk\\lib\\classes.zip"
"PROGRESSCP"="e:\\PRO91B\\java\\progress.zip;e:\\Sonic\\lib\\client.jar;e:\\Sonic\\lib\\jndi.jar"
"JVMEXE"="jre"
"JVMARGS"="-ms1m"
Within the above example the Progress installation directory is e:\PRO91B and the SonicMQ installation directory is e:\Sonic.
That entries may vary for installations on different directories.