问题重现:系统退出功能异常
问题原因:
Tomcat 8 更换默认的 CookieProcessor 实现为 Rfc6265CookieProcessor ,之前的实现为 LegacyCookieProcessor 。前者是基于 RFC6265 ,而后者基于 RFC6265、RFC2109、RFC2616 。
解决方式:
修改tomcat的配置文件 context.xml ,指定
CookieProcessor
为org.apache.tomcat.util.http.LegacyCookieProcessor
<Context>
<CookieProcessor className="org.apache.tomcat.util.http.LegacyCookieProcessor" />
</Context>
重新启动tomcat即可