0

私はactiveMQを実行している2つのサーバーを持っています。1つはマスター、もう1つはスレーブで、Zookeeperを介しています。

私は以下を実行します:

Downloads\apache-activemq-5.9.1-bin\apache-activemq-5.9.1\bin\win64>activemq.bat

ここでいくつかの警告:

jvm 1    |  WARN | SASL configuration failed: javax.security.auth.login.LoginException: No JAAS configuration section named 'Client' was found in specified JAAS configuration file: '../../conf/login.config'. Will continue connection to Zookeeper server without SASL authentication, if Zookeeper server allows it.
jvm 1    |  INFO | Opening socket connection to server "server1"
jvm 1    |  WARN | unprocessed event state: AuthFailed
jvm 1    |  INFO | Socket connection established to blabla.local/10.112.0.17:2181, initiating session
jvm 1    |  INFO | Session establishment complete on server blabla.local/10.112.0.17:2181, sessionid = 0x14651b3478a0005, negotiated timeout = 4000

私の「../../conf/login.config」は次のようになります。

activemq {
    org.apache.activemq.jaas.PropertiesLoginModule required
        org.apache.activemq.jaas.properties.user="users.properties"
        org.apache.activemq.jaas.properties.group="groups.properties";
};

私の「ユーザー名」と「パスワード」は、「../../conf/login.config」ではなく、「simpleAuthenticationPlugin」を介して「../../conf/activemq.xml」で構成されています

上記の警告について知っている人はいますか?

ありがとう

4

1 に答える 1

-1

クライアントzookeeperのバージョンをサーバーのバージョンと同じにしzookeeperます。

zookeeper client jar location:
[ActiveMQ]/lib/optional/zookeeper.jar 
于 2014-09-05T05:48:05.733 に答える