Kbase P11405: How to configure the Progress 9.1C Sonic Adapter for use with SonicMQ 4.0
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  5/6/2005 |
|
Status: Verified
GOAL:
How to get the Progress SonicMQ Adapter running against SonicMQ 4.x
GOAL:
How to configure the SonicMQ 4GL Adapter
GOAL:
How to configure the Progress 9.1C Sonic Adapter for use with SonicMQ 4.0
FACT(s) (Environment):
Progress 9.1C
Progress 9.1B
SonicMQ
SonicMQ 4.0
FIX:
The SonicMQ Adapter communicates between 4GL clients and the Progress SonicMQ message broker. The Adapter is part of the Progress Explorer administration framework and installation of the SonicMQ Adapter product is a separate license. When the installation is complete, an example of the SonicMQ Adapter broker exists with the name "SonicMQ1" that is configured to work with 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.1x, perform the following to start the SonicMQ Adapter:
1. Create the folders /sonicMQ/lib under the <Progress Install>/java directory to have a directory tree of <progress install>/java/sonicMQ/lib .
2. Copy the client.jar and jndi.jar from <Sonic Install>/lib to the<progress install>/java/sonicMQ/lib directory.
3. Set the PROGRESSCP environment variable to include the client.jar and jndi.jar files added to the <progress install>java/sonicMQ/lib directory.
On the Windows NT platform the Progress 9.1x applications pick up the PROGRESSCP environment variable from the Registry Key: [HKEY_LOCAL_MACHINE\SOFTWARE\PSC\PROGRESS\9.1x\JAVA]
The following is an example of an exported Registry Key entry with REGEDIT4:
[HKEY_LOCAL_MACHINE\SOFTWARE\PSC\PROGRESS\9.1x\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:\\PRO91B\\java\\sonicMQ\\lib\\client.jar;e:\\PRO91B\\java\\sonicMQ\\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.
On UNIX: Modify the $DLC/bin/java_env to reflects the correct path to the added files. (\DLC\java\sonicMQ\lib\client.jar;\DLC\java\sonicMQ\lib\jndi.jar)
The 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.