Consultor Eletrônico



Kbase 19864: SonicMQ - LDAP Server Connection Error "Working"
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   08/06/2001
SUMMARY:

This solution discusses what to check if a connection is failing
from Progress SonicMQ Explorer or Admin to an Lightweight Directory
Access Protocol (LDAP) server with the message:

Working

flashing in the bottom left-hand corner of the Admin tool or in the JNDI Naming Service Properties box of the Explorer tool.

EXPLANATION:

Usually a constant (Working) message means that a java exception has been generated in the course of connecting to the JNDI server.
The usual cause is a mismatch between the JNDI.jar file and the
LDAP .jar files. Different jar files are used for LDAP Version 1.2.2 and Version 1.1.8.
If you start SonicMQ Explorer or Admin with the default settings,
you use the 1.1.8 version of the LDAP. If you are using the 1.2.2 version of the Java Development Kit (JDK), most likely there is a version conflict between the JVM of the SonicMQ Explorer and the JVM of the jar files for this LDAP.

SOLUTION:

When you use the JDK Version 1.2.2, make sure you have the
Version 1.2 jar files. Next, go into the Explorer or the Admin and change the pointer to the correct JVM. You must include the classpath to the LDAP jar files.
Here is a typical configuration for LDAP using 1.1.8 JRE. For the Explorer, explorer.bat and for the Admin admin.bat (assuming the root directory is D:\):

cd "D:\SonicMQ"
set SONICMQ_JREW=D:\SonicMQ\Java\bin\jrew.exe
set SONICMQ_LIB=D:\SonicMQ\lib
set SONICMQ_SSL_LIB=D:\SonicMQ\lib\jsafeSSLNetscape.jar
set JRE_CLASSPATH=D:\SonicMQ\Java\lib\rt.jar
set

SONICMQ_CLASSPATH=%SONICMQ_LIB%\broker.jar;%SONICMQ_LIB%\jetty.jar;
%SONICMQ_LIB%\webclient.jar;%SONICMQ_LIB%\swingall.jar;
%SONICMQ_LIB%\jndi.jar;%SONICMQ_LIB%\xml4j.jar;
%SONICMQ_LIB%\gnu-regexp-1.0.6.jar;%SONICMQ_LIB%\ldap.jar;
%SONICMQ_LIB%\providerutil.jar;%SONICMQ_SSL_LIB%

set SONICMQ_SSL_CLIENT=-DSSL_CA_CERTIFICATES=certs\ssleayPCACert.der

"%SONICMQ_JREW%" %SONICMQ_SSL_CLIENT% -nojit -cp "%JRE_CLASSPATH%;
%SONICMQ_CLASSPATH%;"
progress.message.tools.Explorer

/************************************************************/

Follow these steps if you are using 1.2.2 version of the JDK:

1) Change the SONICMQ_JREW to point to the 1.2.2 bin\java.exe for
either the JRE or JDK since 1.2.2 only used the java.exe file.

2) change the JRE_CLASSPATH to point to the correct rt.jar or the
dt.jar file, if using JDK.

Reference to Written Documentation:
SonicMQ Installation and Administration Guide

SonicMQ Programming Guide 2000.1

http://www.sonicsoftware.com/white_papers/