工具-移动设备调用Web应用使用RedisSession机制报错ERR DISCARD without MULTI

问题描述

移动设备调用Web应用使用RedisSession机制报错ERR DISCARD without MULTI

1.应用web服务是提供给手机访问的,所以网络为无线网络
2.使用的Session机制是redis工具包,多个节点Session配置为共享
import com.ovea.jetty.session.redis.RedisSessionIdManager;
import com.ovea.jetty.session.redis.RedisSessionManager;
3.目前发现移动设备调用该应用,报以下错误后会不断增加报错频率直至无法访问

感谢兄弟姐妹们提供解决方案及宝贵经验,及等回复哦

2014-11-20 13:06:59,919 11365654 [qtp599675908-87] WARN com.ovea.jetty.session (RedisSessionManager.java:326) - [RedisSessionManager] complete - Problem persisting changed session data id=
site1inixlbw1nwgp1p74pactwwc30
redis.clients.jedis.exceptions.JedisDataException: ERR DISCARD without MULTI
at redis.clients.jedis.Protocol.processError(Protocol.java:54)
at redis.clients.jedis.Protocol.process(Protocol.java:61)
at redis.clients.jedis.Protocol.read(Protocol.java:122)
at redis.clients.jedis.Connection.getAll(Connection.java:207)
at redis.clients.jedis.BinaryTransaction.discard(BinaryTransaction.java:38)
at redis.clients.jedis.BinaryJedis.multi(BinaryJedis.java:1644)
at com.ovea.jetty.session.redis.RedisSessionManager$3.execute(RedisSessionManager.java:184)
at com.ovea.jetty.session.redis.PooledJedisExecutor.execute(PooledJedisExecutor.java:36)
at com.ovea.jetty.session.redis.RedisSessionManager.storeSession(RedisSessionManager.java:179)
at com.ovea.jetty.session.redis.RedisSessionManager$RedisSession.complete(RedisSessionManager.java:323)
at org.eclipse.jetty.server.session.AbstractSessionManager.complete(AbstractSessionManager.java:186)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:203)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:999)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:111)
at org.eclipse.jetty.server.Server.handle(Server.java:350)
at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:454)
at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:890)
at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:944)
at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:630)
at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:230)
at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:77)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:606)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:46)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:603)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:538)
at java.lang.Thread.run(Thread.java:744)

时间: 2024-05-19 04:03:55

工具-移动设备调用Web应用使用RedisSession机制报错ERR DISCARD without MULTI的相关文章

web service-jboss5环境下,cxf和axis调用webservice客户端都是不报错,不返回结果

问题描述 jboss5环境下,cxf和axis调用webservice客户端都是不报错,不返回结果 有谁碰到过这种问题,cxf和axis调用webservice没问题,部署到jboss5里面就有问题, 不报错,不返回结果 解决方案 http://blog.csdn.net/shiqi472807092/article/details/8254494

ArcGIS API for Silverlight 调用WebService出现跨域访问报错的解决方法

原文:ArcGIS API for Silverlight 调用WebService出现跨域访问报错的解决方法       群里好几个朋友都提到过这样的问题,说他们在Silverlight中调用了WebService方法,总报这个错误,贴图如下: 解决办法:      1.确定你的Silverlight项目及承载Silverlight的Web程序根目录下都包含2个跨域文件,分别是crossdomain.xml和clientaccesspolicy.xml:  crossdomain.xml文件,

java-RMI本地client调用远程服务器上的server报错

问题描述 RMI本地client调用远程服务器上的server报错 代码这篇文章上的.Java RMI之HelloWorld篇 我把ihello,helloimpl,server放在了服务器上,client放在了本机电脑的eclipse中 保证远程服务器上的server正常运行,运行client报错 Caused by: java.lang.ClassNotFoundException: IHello (no security manager: RMI class loader disabled

weblogic连接池-Java调用Oracle存储过程传入数组参数报错

问题描述 Java调用Oracle存储过程传入数组参数报错 weblogic连接池 JNDI提供的链接保存 Oracle数组 报错 oracle.jdbc.driver.T4CConnection cannot be cast to oracle.jdbc.OracleConnection oracle.jdbc.driver.T4CConnection cannot be cast to oracle.jdbc.OracleConnection 大家好,我在用weblogic连接池 JNDI

tomcat启动报错-空web工程启动tomcat为什么报错?求高手解决

问题描述 空web工程启动tomcat为什么报错?求高手解决 严重: StandardServer.await: create[localhost:8005]: java.net.BindException: Cannot assign requested address: JVM_Bind at java.net.PlainSocketImpl.socketBind(Native Method) at java.net.PlainSocketImpl.bind(Unknown Source)

spring4.14+hibernate4.3整合,web运行正常,junit测试报错;

问题描述 spring4.14+hibernate4.3整合,web运行正常,junit测试报错: 之前web启动的时候也报这个错误,然后在web.xml里面加了这个filter,就好了. 可是现在用junit测试,没办法读取web.xml里面的配置,所以还报了这个错, 别问我为什么要junit测试,就是想知道 junit测试的时候这种情况怎么解决. 下面附代码 SpringOpenSessionInViewFilterorg.springframework.orm.hibernate4.sup

config-eclipse中,添加web.xml后,tomcat报错。

问题描述 eclipse中,添加web.xml后,tomcat报错. The Tomcat server configuration at ServersTomcat v7.0 Server at localhost-config is missing. Check the server for errors. 解决方案 Tomcat v7.0 Server没启动吧

关于android 调用自己编译的su文件报错的问题

问题描述 关于android 调用自己编译的su文件报错的问题 百度加google,自己弄了一个zlsu执行文件,放到system/bin/目录下后,调用它的时候,报错: java.io.IOException: write failed: EPIPE (Broken pipe). 解决方案 su文件代码如下: #include <stdio.h> #include <stdlib.h> #include <string.h> #include <sys/type

myeclipse 之前还可以打开web工程,倒入一个web工程之后就一直报错

问题描述 myeclipse 之前还可以打开web工程,倒入一个web工程之后就一直报错 怎么解决报错信息如下eclipse.buildId=unknownjava.version=1.6.0_13java.vendor=Sun Microsystems Inc.BootLoader constants: OS=win32 ARCH=x86_64 WS=win32 NL=zh_CNCommand-line arguments: -os win32 -ws win32 -arch x86_64 E