I check in the oracle db, running this query :
Select XWS_NAME, sum(XWS_PAGE_VIEWS) from XWSSTATSDOC where XWS_ACTION = 'view'
group by XWS_NAME order by sum(XWS_PAGE_VIEWS)
And i have many lines like :
WikiManager.Information 30
(null) 30
Panels.WebHome 32
XWiki.bb03545 44
Stats.WebHome 52
XWiki 72
Stats 104
WikiManager.CreateNewWiki 106
WikiManager.WebHome 122
WikiManager 258
Main.WebHome 750
Main.DocumentDoesNotExist 914
Main 1716
And if i display $myviews in Current Week View, i have this result :
{2009-03-15T00:00:00.000+01:00=0, 2009-03-13T00:00:00.000+01:00=0,
2009-03-10T00:00:00.000+01:00=0, 2009-03-11T00:00:00.000+01:00=0,
2009-03-09T00:00:00.000+01:00=0, 2009-03-14T00:00:00.000+01:00=0,
2009-03-12T00:00:00.000+01:00=0}
-----Message d'origine-----
De : users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] De la part de PERINAUD
Christophe
Envoyé : mardi 10 mars 2009 09:46
À : XWiki Users
Objet : Re: [xwiki-users] Stats module configuratio
Thank you Sergiu.
Now i don't have this exceptions anymore. Like Dilipkumar, now i have graphics but
only with 0 values
I checked the content of the ActivityData page and all i have is titles and red messages
with "Table: null" when i open the page (but maybe it needs some extra
parameters)
I wait for the helpdesk to accept the install of DbVisualizer to check the content of
Stats tables and try to execute the SQL query that is in XWikiStatsReader.java to check
the result.
All other stats tables are ok and filled with values.
-----Message d'origine-----
De : users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] De la part de Sergiu
Dumitriu
Envoyé : lundi 9 mars 2009 17:24
À : XWiki Users
Objet : Re: [xwiki-users] Stats module configuratio
PERINAUD Christophe wrote:
Sorry, bad eyes ....
xwiki-plugin-jodatime-1.2.jar
This one had a minor bug that prevented the whole plugin from working
(
http://jira.xwiki.org/jira/browse/XPJODA-9). You should replace it with
http://maven.xwiki.org/releases/com/xpn/xwiki/platform/plugins/xwiki-plugin…
-----Message d'origine-----
De : users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] De la part de Sergiu
Dumitriu
Envoyé : lundi 9 mars 2009 16:56
À : XWiki Users
Objet : Re: [xwiki-users] Stats module configuratio
PERINAUD Christophe wrote:
I currently use this file : joda-time-1.4.jar
I think it's the one delivered with the 1.7.1 pack
No, not joda-time, xwiki-plugin-jodatime.
-----Message d'origine-----
De : users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] De la part de Sergiu
Dumitriu
Envoyé : lundi 9 mars 2009 16:23
À : XWiki Users
Objet : Re: [xwiki-users] Stats module configuratio
PERINAUD Christophe wrote:
Hi,
I have the kind of same problem with statistics that are not displayed on my main wiki or
that crashes in any virtual wiki.
The Joda time plugin is enabled but when i follow the advice from Sergiu in a virtual
wiki by editing the Current Month Activity panel i can see that the plugin is installed,
is available but when i call the getDateTime method it throws a null pointer exception as
if the getProtectedPlugin().getDateTime() (line 67 of JodaTimePluginApi) is not working as
expected in virtual mode (what ever is the parameter value).
In the main wiki, it works but does not display any activity (always 0 values) despite
values in the database (Oracle 10)
What is strange is that the problem occured only in graphical statistics (not stats like
most edited pages for example)
-----Message d'origine-----
2. The Joda time plugin might be disabled
I see that the line com.xpn.xwiki.plugin.jodatime.JodaTimePlugin is in
my xwiki.cfg properties
Also, joda-time-1.4.jar is available in WEB_INF > lib folder
What version of xwiki-plugin-jodatime do you have in WEB-INF/lib?
--
Sergiu Dumitriu
http://purl.org/net/sergiu/
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
--------------------------------------------------------------------------------
This e-mail is intended only for the addressee named above. It does not bind the sender,
except in the case of an existing written convention with the addressee. This e-mail may
contain material that is confidential and privileged for the sole use of the intended
recipient. Any review, reliance or distribution by others or forwarding without express
permission is strictly prohibited and may be unlawful. If you are not the intended
recipient, please contact the sender and delete all copies.
While reasonable precautions have been taken to ensure that this e-mail and any
attachments are free from any computer virus or similar defect, no liability will be
accepted in that respect. Anyone accessing this e-mail must take their own precautions as
to security and virus protection.
KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg
B 6395, T (352) 47 97 1
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
--------------------------------------------------------------------------------
This e-mail is intended only for the addressee named above. It does not bind the sender,
except in the case of an existing written convention with the addressee. This e-mail may
contain material that is confidential and privileged for the sole use of the intended
recipient. Any review, reliance or distribution by others or forwarding without express
permission is strictly prohibited and may be unlawful. If you are not the intended
recipient, please contact the sender and delete all copies.
While reasonable precautions have been taken to ensure that this e-mail and any
attachments are free from any computer virus or similar defect, no liability will be
accepted in that respect. Anyone accessing this e-mail must take their own precautions as
to security and virus protection.
KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg
B 6395, T (352) 47 97 1