[ 
https://issues.apache.org/jira/browse/JS2-637?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12464400
 ] 

Thorsten Berger commented on JS2-637:
-------------------------------------

Unfortunately, it's surely not resolved by the commit. I'm still seeing 
negative values.
But I think it's caused by Tomcat saving sessions:
After restart, the SessionListener destroys the session and decrements the 
currentUserCount (which is 0 due to the restart).
What about the following fix?

Regards, Thorsten

> PortalStatistics: current users count inaccurate
> ------------------------------------------------
>
>                 Key: JS2-637
>                 URL: https://issues.apache.org/jira/browse/JS2-637
>             Project: Jetspeed 2
>          Issue Type: Bug
>          Components: Other
>    Affects Versions: 2.1-dev
>            Reporter: Thorsten Berger
>         Attachments: currentUserCountFix.txt
>
>
> PortalStatistics.getNumberOfLoggedInUsers() is sometimes inaccurate and even 
> returns negative values.
> Just recognized this as we are showing the current users count in the footer 
> decorator.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to