portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thorsten Berger (JIRA)" <jetspeed-...@portals.apache.org>
Subject [jira] Commented: (JS2-637) PortalStatistics: current users count inaccurate
Date Sat, 13 Jan 2007 02:24:27 GMT

    [ 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: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message