Consultor Eletrônico



Kbase 20867: Progress 4GL SonicMQ Adapter: javax.jms.JMSSecurityException
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   11/12/2002
Status: Unverified

FACT(s) (Environment):

Progress 9.1B
SonicMQ 2000.1
SonicMQ 3.x

SYMPTOM(s):

The following error occurs when you run an application using the SonicMQ 4GL Adapter:
javax.jms.JMSSecurityException: Inauthentic Client.

The SonicMQ broker has security enabled. (ENABLE_SECURITY=TRUE)

SonicMQ configured for publish/subscribe.

CAUSE:

The client has not supplied a username and password

FIX:

In your SonicMQ 4GL Adapter client, you must code the following:

RUN setUser IN pubsubsession("Username").
RUN setPassword IN pubsubsession("Password").

where Username and Password have been set forth on the SonicMQ broker or server.