简体   繁体   English

Tivoli Performance Viewer中的activeCount(session)没有减少

[英]The activeCount(session) is not reducing in the Tivoli Performance viewer

We have an application with JSF (Icefaces) MVC and Spring service layer. 我们有一个带有JSF(Icefaces)MVC和Spring服务层的应用程序。 Even on session invalidation the active count is not reducing in the Servlet Session Module of the Tivoli Performance viewer. 即使在会话无效时,Tivoli Performance Viewer的Servlet会话模块中的活动计数也不会减少。

We have tried all the possibe session invalidation methodologies like below 1)httpsession.invalidate(); 我们已经尝试了所有可能的会话无效方法,例如下面的1)httpsession.invalidate();。 2)httpsession.setMaxInterval(0); 2)httpsession.setMaxInterval(0); 3)Removed all session attributes before invalidation and by deleting the cookies during logout programatically in the code. 3)删除无效之前的所有会话属性,并通过以编程方式在代码中注销时删除cookie。

The definition of Active Count is Session is active if Websphere is processing a request that uses a session. 如果Websphere正在处理使用会话的请求,则Active Count的定义为Session是活动的。 But even after the session is invalidated in the code,Active count is not getting reduced in TPV. 但是,即使会话在代码中无效之后,TPV中的活动计数也不会减少。 We are able to see that the CreateCount and InvalidateCount are getting updated and are equal. 我们可以看到CreateCount和InvalidateCount正在更新并且相等。 We assume that this mean what ever session which got created are getting invalidated. 我们假设这意味着所创建的会话将变得无效。 Please correct us if our understanding is incorrect. 如果我们的理解不正确,请纠正我们。 But even after session invalidation the active count doesn't decrease. 但是即使会话无效后,活动计数也不会减少。

If InvalidateCount=CreateCount, then ActiveCount should indeed be zero. 如果InvalidateCount = CreateCount,则ActiveCount实际上应该为零。 This sounds like a bug in Websphere that you should report to IBM support. 这听起来像Websphere中的错误,应该向IBM支持报告。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM