Consultor Eletrônico



Kbase P114119: Adapter for SonicMQ 10.1A: Javax.jms.jmsSecurityException: inauthentic client
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   5/21/2009
Status: Unverified

SYMPTOM(s):

Errors connecting to secure SonicMQ Broker.

Connection refused by Application Server. (5467)

Error Connecting to JMS AppServer service.

Adapter server log file reports error:

javax.jms.JMSSecurityException: Inauthentic Client

FACT(s) (Environment):

SonicMQ
OpenEdge 10.1A
All Supported Operating Systems

CAUSE:

Client attempted to connect to a Secure SonicMQ Broker without the setUser() and setPassword() 4GL-JMS cals

FIX:

Call setUser and setPassword before beginSession(). For example:
/* Creates a session object. */
RUN jms/ptpsession.p PERSISTENT SET ptpsession ("-H localhost -S 5162 ").
RUN setBrokerURL IN ptpsession ("localhost:2506").
RUN setuser IN ptpsession ("Administrator").
RUN setpassword IN ptpsession ("Administrator").
RUN beginSession IN ptpsession.