Consultor Eletrônico



Kbase 20652: SonicMQ: Server Start Fails - Inauthentic Client
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   3/5/2001
SUMMARY:

This solution discusses possible reasons for a security-enabled
SonicMQ 3.0 Server/Broker to fail with the following message:

progress.message.client.EInauthenticClient: Inauthentic Client

EXPLANATION:

Security is enabled by the (ENABLE_SECURITY = TRUE) setting in the broker.ini file. After it recreates the database tables, including the security table, a SonicMQ 3.0 broker server must authentic itself with a user name and a password. By default, there is no password entry for the broker server in the broker.ini and therefore no password is assigned for the server's user name.

But within the SonicMQ Explorer, it is still possible to create a user with the same name as the SonicMQ broker name and assign a password to it. Doing so prevents the broker server from starting and causes the following stack trace exception (the broker name is Sonicpc2 in this example):

Error publishing message to $SYS.broker.reject.Sonicpc2.Broker: java.lang.
NullPointerException
java.lang.NullPointerException
at progress.message.zclient.Envelope.SenderSerialize(Envelope.java:323)
at progress.message.zclient.ClientSender.bN_(ClientSender.java:745)
at progress.message.zclient.ClientSender.send(ClientSender.java:565)
at progress.message.zclient.Connection.xL_(Connection.java:2469)
at progress.message.zclient.Session.publishInternal(Session.java:2276)
at progress.message.broker.AgentListener.WAB_(AgentListener.java:879)
at progress.message.broker.AgentListener.TAB_(AgentListener.java:239)
at progress.message.broker.AgentListener.threadMain(AgentListener.java:1
60)
at progress.message.zclient.DebugThread.run(DebugThread.java:56)
[2101] progress.message.client.EInauthenticClient: Inauthentic Client
at progress.message.client.EGeneralException.<init>(EGeneralException.ja
va:44)
at progress.message.client.ESecurityGeneralException.<init>(ESecurityGen
eralException.java:23)
at progress.message.client.ESecurityPolicyViolation.<init>(ESecurityPoli
cyViolation.java:32)
at progress.message.client.EInauthenticClient.<init>(EInauthenticClient.
java:20)
at progress.message.zclient.Connection.connect(Connection.java:652)
at progress.message.broker.AgentRegistrar.startup(AgentRegistrar.java:58
5)
at progress.message.broker.Broker.<init>(Broker.java:328)
at progress.message.broker.Broker.main(Broker.java:240)
at source unknown
at source unknown
at source unknown
[146] progress.message.broker.EStartupFailure: Error starting admin client: [210
1] progress.message.client.EInauthenticClient: Inauthentic Client

SonicMQ Broker now exiting...
Press any key to continue . . .

SOLUTION:

Try to remember the password given to the user account with the same name as the SonicMQ server and add the following line to the broker.ini file:

BROKER_PASSWORD=<password>

where <password> needs to be the password assigned for that user account.


Reference to Written Documentation:

Progress Knowledge Base Solution 19683, "SonicMQ: Connect to Config Server With Security Enabled".