Consultor Eletrônico



Kbase 20754: Running SonicMQ Adapter Samples in UNIX
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   26/07/2007
SUMMARY:

When you try to run the samples provided by Progress to run the
SonicMQ Adapter in UNIX, the following errors might occur:

java.lang.Exception:progress/message/jclient/
TopicConnectionFactory
Error connecting to the JMS AppServer service

SOLUTION:

To work around the problem, you must be able to locate the client.jar
and the jndi.jar (as explained in Progress KBase 20029) in this case
for UNIX.

Another approach involves modifying the java_env file that sets the
Java environment for the Progress executables.

The java_env file contains the setting of the PROGRESSCP
(Progress Classpath) that lets Progress find some of the java
classes it needs.

To be able to find the additional jar files, change this variable
by adding a new line with the following syntax at the end of the
file (assuming Progress created a /SonicMQ/lib directory under
$DLC/java):

PROGRESSCP=$PROGRESSCP:$DLC/java/SonicMQ/lib/client.jar:$DLC/
java/SonicMQ/lib/jndi.jar ; export PROGRESSCP

This overwrites the PROGRESSCP variable with the new settings.
Now it is necessary only to restart the AdminService and the
SonicMQ Adapter instances and the errors disappear.


Reference to Written Documentation:

Progress Knowledge Base Solution 19938, "SonicMQ: Steps for Getting
the Progress 4GL Adapter Running".

Progress Knowledge Base Solution 20029," Necessary Steps Before
Running 4GL Adapter Examples".