cas logout 报session already invalidated(struts2报错)
2014-08-21 10:21
633 查看
原因是由于:cas注销的时候通知client端注销session与返回service或logout页面是异步的。导致返回页面执行了。但是client端的session未注销。。导致执行到struts的时候 session注销了。
解决办法:改成同步
1:AbstractWebApplicationService---》return this.httpClient.sendMessageToEndPoint(getOriginalUrl(), logoutRequest, false);
解决办法:改成同步
1:AbstractWebApplicationService---》return this.httpClient.sendMessageToEndPoint(getOriginalUrl(), logoutRequest, false);
相关文章推荐
- 对异常 java.lang.IllegalStateException: getAttribute: Session already invalidated的理解 .
- 对异常 java.lang.IllegalStateException: getAttribute: Session already invalidated的理解
- java.lang.IllegalStateException: getAttribute: Session already invalidated
- Session already invalidated
- 处理异常getAttribute: Session already invalidated
- org.apache.shiro.session.InvalidSessionException: java.lang.IllegalStateException: getAttribute: Session already invalidated] with root cause
- 【session】java.lang.IllegalStateException: getAttribute: Session already invalidated
- struts2报错: getWriter() has already been called for this response
- java.lang.IllegalStateException: getAttribute: Session already invalidated
- 对异常 java.lang.IllegalStateException: getAttribute: Session already invalidated的理解
- 对异常 java.lang.IllegalStateException: getAttribute: Session already invalidated的理解
- struts2中action如何获取Session,request,jsp页面参数等等信息的值
- struts2中session的使用
- php session_start()关于Cannot send session cache limiter - headers already sent 错误解决方法
- struts2标签获取parameter,request,session,application中的值
- Hibernate更新数据报错:a different object with the same identifier value was already associated with the session: [com.elec.domain.ElecCommonMsg#297e35035c28c368015c28c3e6780001]
- Struts2中action获取request、response、session的方式
- a different object with the same identifier value was already associated with the session
- a different object with the same identifier value was already associated with the session
- Struts2中获取request,session,application对象