从Java 1.6切换到Java 1.7后出现memcached错误

时间:2012-12-14 19:35:09

标签: java caching memcached distributed-caching

MemcacheD工作正常,直到我们最近从Java 6切换到Java 7.现在我们不断获得如下例外:

java.lang.RuntimeException: Exception waiting for value
    at net.spy.memcached.MemcachedClient.get(MemcachedClient.java:1025)
    at net.spy.memcached.MemcachedClient.get(MemcachedClient.java:1042)
...
...
Caused by: java.util.concurrent.ExecutionException: java.lang.RuntimeException: Cancelled
    at net.spy.memcached.internal.OperationFuture.get(OperationFuture.java:169)
    at net.spy.memcached.internal.GetFuture.get(GetFuture.java:62)
    at net.spy.memcached.MemcachedClient.get(MemcachedClient.java:1021)

和这个

java.lang.RuntimeException: Failed waiting for store
    at net.spy.memcached.MemcachedClient.mutateWithDefault(MemcachedClient.java:1696)
    at net.spy.memcached.MemcachedClient.incr(MemcachedClient.java:1806)
...
...
Caused by: java.util.concurrent.ExecutionException: java.lang.RuntimeException: Cancelled
    at net.spy.memcached.internal.OperationFuture.get(OperationFuture.java:169)
    at net.spy.memcached.MemcachedClient.mutateWithDefault(MemcachedClient.java:1687)
    ... 75 more

谢谢你的帮助!

0 个答案:

没有答案