-Reg: ZooKeeper Connection
indirapriyadharshini.than...@... 2013-01-28, 15:01
I am trying to register a set of data in zk registery.
I am using zookeeper3.4.5 with spring 3.0.
I am connecting to zookeeper server in my init method defined in spring context file.
While running a sample standalone program for registering I am getting the zk disconnected automatically.
I am trying to implement SASL in this. While debugging I have got SASLAuthentication exception.
Can I conclude that because of authentication failed my zk connection went to "Disconnected" state?
Please correct me if I am wrong.
Can anyone tell me how SASL authentication to be intergrated with zk and spring.
My Code snippet for SASL in spring context file is
<!-- System.getProperties() -->
<property name="targetClass" value="java.lang.System" />
<property name="targetMethod" value="getProperties" />
<property name="targetMethod" value="putAll" />
<!-- The new Properties -->
Thanks in advance for your replies.
Please do not print this email unless it is absolutely necessary.
The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments.
WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.