当前位置:   article > 正文

zookeeper异常排查_no jaas configuration section named 'client' was f

no jaas configuration section named 'client' was found in specified jaas con

 java.nex.ConnectException:Connection refused
    at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
    at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:731)
    at org.apache.zookeeper.ClinetCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361)
    at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:114)
[2/13/19 16:14:51:516 CST] 000010cb SystemOut O 2019-02-13 16:14:51.516 WARN [server.startup : 2-SendThread(103.160.125.185:2181)]o.a.z.ClientCnxn[1017]-SASL configuration failed: javax.security.auth.login.LoginException: No JAAS configuration section named 'Client' was found in specified JAAS configuration file: '/was/IBM/WebSphere/AppServer/profiles/AppSrv01/properties/wsjaas.conf'. Will continue connection to Zookeeper server without SASL authentication, if Zookeeper server allows it.
[2/13/19 16:14:51:519 CST] 000010cb SystemOut O 2019-02-13 16:14:51.519 INFO [server.startup : 2-SendThread(103.160.125.185:2181)]o.a.z.ClientCnxn[1035]-Opening socket connection to server 103.160.125.185/103.160.125.185:2181
[2/13/19 16:14:51:519 CST] 000010cb SystemOut O 2019-02-13 16:14:51.519 ERROR [server.startup : 2-EventThread]o.a.c.ConnectionState[304]-Authentication failed
[2/13/19 16:14:51:523 CST] 000010cb SystemOut O 2019-02-13 16:14:51.523 WARN [server.startup : 2-SendThread(103.160.125.185:2181)] o.a.z.ClientCnxn[1165]-Session 0x0 for server null,unexpected error, closing socket connection and attempting reconnect

程序调dubbo接口的时候如果碰到如上类似的异常,可以检查zookeeper是否挂了

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/喵喵爱编程/article/detail/763521
推荐阅读
相关标签
  

闽ICP备14008679号