From: Avinash L. <avi...@gm...> - 2008-06-17 14:43:45
|
How do prevent my session from timing out? I get this exception: Priming connection to java.nio.channels.SocketChannel[connected local=/ 10.16.138.101:8352 remote=fool.xyz.com/10.18.39.211:5001] WARN - Closing: java.io.IOException: Session Expired at com.yahoo.zookeeper.ClientCnxn$SendThread.readConnectResult(ClientCnxn.java:406) at com.yahoo.zookeeper.ClientCnxn$SendThread.doIO(ClientCnxn.java:492) at com.yahoo.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:705) ERROR - from SendThread java.lang.NoSuchMethodError: org.apache.log4j.Logger.isTraceEnabled()Z at com.yahoo.zookeeper.server.ZooTrace.isTraceEnabled(ZooTrace.java:63) at com.yahoo.zookeeper.server.ZooTrace.logTraceMessage(ZooTrace.java:67) at com.yahoo.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:732) I have set my session timeout to 5000ms in the ctor of the Zookeeper instance. I have my Zookeeper instance running in colo A while the clients that are using Zookeeper are located in colo B and C. Is this ok? Why would this happen and how can I prevent this from happening? How should the software react to this situation? Thanks in advance Avinash |