vaseems / xmemcached

Automatically exported from code.google.com/p/xmemcached
Apache License 2.0
0 stars 0 forks source link

touch 和 getAndTouch 出现异常 #236

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
环境是windows虚拟机上面装的linux操作系统,然后装的memcached是v
1.4.15版本
xmemcached使用的是v1.3.8
我想咨询一下我是不是还有配置不对的地方,或者windows虚拟机
上的linux不行

异常信息如下:
32 [main] WARN net.rubyeye.xmemcached.XMemcachedClient - XMemcachedClient use 
Binary protocol
110 [main] WARN net.rubyeye.xmemcached.XMemcachedClient - XMemcachedClient in 
failure mode.
125 [main] INFO com.google.code.yanf4j.nio.impl.SelectorManager - Creating 4 
reactors...
203 [main] WARN com.google.code.yanf4j.core.impl.AbstractController - The 
Controller started at localhost/127.0.0.1:0 ...
203 [main] WARN net.rubyeye.xmemcached.impl.Optimizer - Disable merge buffers
--------------
235 [Xmemcached-Reactor-0] WARN 
com.google.code.yanf4j.core.impl.AbstractController - Add a session: 
192.168.0.189:11211
250 [Xmemcached-Reactor-0] WARN 
com.google.code.yanf4j.core.impl.AbstractController - Add a session: 
192.168.0.189:11211
--------------
266 [Xmemcached-Reactor-0] WARN 
com.google.code.yanf4j.core.impl.AbstractController - Add a session: 
192.168.0.189:11211
--------------
--------------
282 [Xmemcached-Reactor-0] WARN 
com.google.code.yanf4j.core.impl.AbstractController - Add a session: 
192.168.0.189:11211
--------------
297 [Xmemcached-Reactor-0] WARN 
com.google.code.yanf4j.core.impl.AbstractController - Add a session: 
192.168.0.189:11211
DDDD
Exception in thread "main" net.rubyeye.xmemcached.exception.MemcachedException: 
net.rubyeye.xmemcached.exception.UnknownCommandException
    at net.rubyeye.xmemcached.XMemcachedClient.checkException(XMemcachedClient.java:1884)
    at net.rubyeye.xmemcached.XMemcachedClient.getAndTouch(XMemcachedClient.java:2018)
    at net.rubyeye.xmemcached.XMemcachedClient.getAndTouch(XMemcachedClient.java:2029)
    at com.utils.XMemcachedUtil.update(XMemcachedUtil.java:115)
    at com.utils.XMemcachedUtil.main(XMemcachedUtil.java:150)
Caused by: net.rubyeye.xmemcached.exception.UnknownCommandException
    at net.rubyeye.xmemcached.command.binary.BaseBinaryCommand.readStatus(BaseBinaryCommand.java:251)
    at net.rubyeye.xmemcached.command.binary.BaseBinaryCommand.readHeader(BaseBinaryCommand.java:195)
    at net.rubyeye.xmemcached.command.binary.BinaryGetCommand.readHeader(BinaryGetCommand.java:75)
    at net.rubyeye.xmemcached.command.binary.BaseBinaryCommand.decode(BaseBinaryCommand.java:121)

Original issue reported on code.google.com by cwenchao...@163.com on 28 Nov 2012 at 8:16

GoogleCodeExporter commented 9 years ago
不好意思,我搞错了~~~memcached版本不对!

Original comment by cwenchao...@163.com on 28 Nov 2012 at 9:07

GoogleCodeExporter commented 9 years ago

Original comment by killme2...@gmail.com on 8 Jan 2013 at 12:02