超时重新登录提示skip not validate connection.

石四兄 发布于 2016/09/28 15:55
阅读 1K+
收藏 0

自己搭建的springmvc+mybatis+shiro,连接池使用的是Druid

隔一段时间没有操作后session超时,退出后重新登录就会卡住,提示如下:
2016-09-28 15:43:21 -7234176 [http-bio-8080-exec-5] DEBUG   - DispatcherServlet with name 'springMvc' processing POST request for [/login/login_login]
2016-09-28 15:43:21 -7234177 [http-bio-8080-exec-5] DEBUG   - Looking up handler method for path /login/login_login
2016-09-28 15:43:21 -7234178 [http-bio-8080-exec-5] DEBUG   - Returning handler method [public java.lang.String com.ydz.controller.system.LoginController.login(javax.servlet.http.HttpServletRequest) throws java.lang.Exception]
2016-09-28 15:43:21 -7234178 [http-bio-8080-exec-5] DEBUG   - Returning cached instance of singleton bean 'loginController'
2016-09-28 15:43:21 -7234179 [http-bio-8080-exec-5] DEBUG   - Skip CORS processing, request is a same-origin one
2016-09-28 15:43:21 -7234181 [http-bio-8080-exec-5] DEBUG   - Using transaction object [org.springframework.jdbc.datasource.DataSourceTransactionManager$DataSourceTransactionObject@705cea7]
2016-09-28 15:43:21 -7234181 [http-bio-8080-exec-5] DEBUG   - Creating new transaction with name [com.ydz.service.system.UserService.getAuthorByUserId]: PROPAGATION_REQUIRED,ISOLATION_DEFAULT,-java.lang.Exception
2016-09-28 15:43:41 -7254770 [http-bio-8080-exec-5] DEBUG   - skip not validate connection.
2016-09-28 15:44:33 -7306551 [http-bio-8080-exec-5] DEBUG   - skip not validate connection.
2016-09-28 15:44:33 -7306589 [http-bio-8080-exec-5] DEBUG   - Acquired Connection [com.alibaba.druid.proxy.jdbc.ConnectionProxyImpl@74b4cfb7] for JDBC transaction
2016-09-28 15:44:33 -7306589 [http-bio-8080-exec-5] DEBUG   - Switching JDBC Connection [com.alibaba.druid.proxy.jdbc.ConnectionProxyImpl@74b4cfb7] to manual commit


看了很多帖子都没有解决这个问题,哪位大神知道。

加载中
返回顶部
顶部