zzyugl / xmemcached

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

客户端无法自动重连 #261

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
javax.servlet.ServletException: 
net.rubyeye.xmemcached.exception.MemcachedException: Session has been closed
   org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:491)
   org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:401)
   org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
   org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
   org.springfram 
ework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilte
r.java:96)
   org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
root cause

javax.servlet.ServletException: 
net.rubyeye.xmemcached.exception.MemcachedException: Session has been closed 

希望xmemcached有自动重连的功能,某些网络情况下(如长时间�
��有访问,会将连接断开)

Original issue reported on code.google.com by ych.ti...@gmail.com on 7 Aug 2013 at 5:53

GoogleCodeExporter commented 9 years ago
net.rubyeye.xmemcached.exception.MemcachedException: There is no available 
connection at this moment
        at net.rubyeye.xmemcached.impl.MemcachedConnector.send(MemcachedConnector.java:490)
        at net.rubyeye.xmemcached.XMemcachedClient.sendCommand(XMemcachedClient.java:288)
        at net.rubyeye.xmemcached.XMemcachedClient.fetch0(XMemcachedClient.java:617)
        at net.rubyeye.xmemcached.XMemcachedClient.get0(XMemcachedClient.java:1030)

        at net.rubyeye.xmemcached.XMemcachedClient.get(XMemcachedClient.java:988)
        at net.rubyeye.xmemcached.XMemcachedClient.get(XMemcachedClient.java:999)
        at net.rubyeye.xmemcached.XMemcachedClient.get(XMemcachedClient.java:1021)
        at com.raycloud.memsession.api.impl.MemSessionRequestImpl.hasAttribute(MemSessionRequestImpl.java:160) 

Original comment by ych.ti...@gmail.com on 7 Aug 2013 at 5:54

GoogleCodeExporter commented 9 years ago
当然有自动重连功能,只是有间隔。

Original comment by killme2...@gmail.com on 7 Aug 2013 at 6:11