Re: [xwiki-users] Stats module configuratio

2009-03-10 Thread PERINAUD Christophe
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-boun...@xwiki.org [mailto:users-boun...@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-jodatime/1.3/xwiki-plugin-jodatime-1.3.jar
 


 -Message d'origine-
 De : users-boun...@xwiki.org [mailto:users-boun...@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-boun...@xwiki.org [mailto:users-boun...@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@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@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Stats module configuratio

2009-03-10 Thread PERINAUD Christophe
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.WebHome750
Main.DocumentDoesNotExist   914
Main1716 

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-boun...@xwiki.org [mailto:users-boun...@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-boun...@xwiki.org [mailto:users-boun...@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-jodatime/1.3/xwiki-plugin-jodatime-1.3.jar
 


 -Message d'origine-
 De : users-boun...@xwiki.org [mailto:users-boun...@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-boun...@xwiki.org [mailto:users-boun...@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@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

Re: [xwiki-users] Stats module configuratio

2009-03-09 Thread PERINAUD Christophe
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




 Message: 7
 Date: Sun, 8 Mar 2009 10:51:34 +0100
 From: Thomas Mortagne thomas.morta...@xwiki.com
 Subject: Re: [xwiki-users] Stats module configuration
 To: XWiki Users users@xwiki.org
 Message-ID:
        a8e97d9c0903080151t75b2a7b6l202fa944df517...@mail.gmail.com
 Content-Type: text/plain; charset=UTF-8

 Hi,

 On Sat, Mar 7, 2009 at 16:59, Dilipkumar Jadhav
 jadhav.dilipku...@gmail.com wrote:
 Hello friends,
 My wiki has grown considerably now and we are at a phase where we
 would like to measure and analyze contributors and their
 contributions. ?I am using XWiki 1.7.2.

 I followed the instructions at
 http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration and
 set the following in the ?xwiki.cfg file.

 xwiki.stats=1
 xwiki.stats.default=1

 Now, I can see that the stats are being recorded in the database (mysql) 
 tables.
 However, when i visit the stats home in my wiki all i see is No
 statistics have been recorded for all statistics panels. All the
 graphs show no activity. Also, i have enabled the stats module about 2
 weeks back during which course there has been a lot of activity on the
 wiki.

 Also, the stats seems to work on the XWiki installed on my home pc.
 However, at my office ?instance of XWiki the stats module does not
 work. Could it have something to do with the proxy server that we have
 setup in office.

 No statistics have been recorded is printed when statistics are
 disabled so I doubt it has anything to do with proxy (it does not
 really check if there is something recorded or not, even if nothing
 was in the database it should generate en empty graph). Maybe you have
 a statistics field set to 0 in XWiki.XWikiPreferences (edit in
 object mode to check)


 Did i miss out on some crucial steps...
 Any help will be greatly appreciated.

 Thank you...
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users




 --
 Thomas Mortagne


 --

 Message: 8
 Date: Sun, 08 Mar 2009 11:40:58 +0100
 From: Sergiu Dumitriu ser...@xwiki.com
 Subject: Re: [xwiki-users] Stats module configuration
 To: XWiki Users users@xwiki.org
 Message-ID: 49b3a0ba.3070...@xwiki.com
 Content-Type: text/plain; charset=UTF-8; format=flowed

 Thomas Mortagne wrote:
 Hi,

 On Sat, Mar 7, 2009 at 16:59, Dilipkumar Jadhav
 jadhav.dilipku...@gmail.com wrote:
 Hello friends,
 My wiki has grown considerably now and we are at a phase where we
 would like to measure and analyze contributors and their
 contributions.  I am using XWiki 1.7.2.

 I followed the instructions at
 http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration and
 set the following in the  xwiki.cfg file.

 xwiki.stats=1
 xwiki.stats.default=1

 Now, I can see that the stats are being recorded in the database (mysql) 
 tables.
 However, when i visit the stats home in my wiki all i see is No
 statistics have been recorded for all statistics panels. All the
 graphs show no activity. Also, i have enabled the stats module about 2
 weeks back during which course there has been a lot of activity on the
 wiki.

 Also, the stats seems to work on the XWiki installed on my home pc.
 However, at my office  instance of XWiki the stats module does not
 work. Could it have something to do with the proxy server that we have
 setup in office.

 No statistics have been recorded is printed when statistics are
 disabled so I doubt it has anything to do with proxy (it does not
 really check if there is something recorded or not, even if nothing
 was in the database it should generate en empty graph). Maybe you have
 a statistics field set to 0 in XWiki.XWikiPreferences (edit in
 object mode to check)


 No Thomas, the message when statistics are disabled is The statistics
 module is disabled by default for improved performance. For more
 details, see ... This message means that nothing was retrieved from the
 database.

 There might 

Re: [xwiki-users] Stats module configuratio

2009-03-09 Thread Sergiu Dumitriu
Dilipkumar Jadhav wrote:
 Dear all,
 Thank you so much for your prompt response.
 I've tried to check all the things you have suggested. This is where i
 stand now:
 
 1. Debug each line of the stats panel
 I printed out the values at the end of each #set line in the most
 edited pages panel. This is what i got as a result:
 
 com.xpn.xwiki.criteria.impl.sc...@19fd285
 com.xpn.xwiki.criteria.impl.per...@11ff313
 com.xpn.xwiki.criteria.impl.ra...@4348c6
 []
 
 The final [] in the fourth line above is the value for $stats
 
 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
 
 3.  Maybe you have a statistics field set to 0 in
 XWiki.XWikiPreferences (edit in object mode to check)
 I went to the XWiki.XwikiPreferences page and checked it in the object
 mode. Unfortunately, i do not see any statistics field in there.
 Could you please provide me with some exact example that i should look
 for in this page. I see info about panels  skins et al. But nothing
 about the statistics field.
 
 4. I read the line in the user guide that says - When statistics are
 globally enabled, storage can be enabled/disabled by wiki using the
 XWikiPreference property statistics
 Is this the same statistics field that we are talking about in point 3
 above...If so, i really need some more clarity on looking up
 XWikipreferences in the object mode.
 
 5. I have disabled the module and enabled it again. But there is still
 no data being displayed on the panels. All it says is - No statistics
 recorded
 


Everything seems OK, yet the statistics are not retrieved. What database 
are you using? Can you check that you do have valid statistics in the 
database?

-- 
Sergiu Dumitriu
http://purl.org/net/sergiu/
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Stats module configuratio

2009-03-09 Thread Sergiu Dumitriu
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@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Stats module configuratio

2009-03-09 Thread PERINAUD Christophe
I currently use this file : joda-time-1.4.jar
I think it's the one delivered with the 1.7.1 pack 

-Message d'origine-
De : users-boun...@xwiki.org [mailto:users-boun...@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@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@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Stats module configuratio

2009-03-09 Thread Sergiu Dumitriu
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-boun...@xwiki.org [mailto:users-boun...@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@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Stats module configuratio

2009-03-09 Thread PERINAUD Christophe
Sorry, bad eyes 
xwiki-plugin-jodatime-1.2.jar 

-Message d'origine-
De : users-boun...@xwiki.org [mailto:users-boun...@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-boun...@xwiki.org [mailto:users-boun...@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@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@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Stats module configuratio

2009-03-09 Thread Sergiu Dumitriu
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-jodatime/1.3/xwiki-plugin-jodatime-1.3.jar
 


 -Message d'origine-
 De : users-boun...@xwiki.org [mailto:users-boun...@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-boun...@xwiki.org [mailto:users-boun...@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@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Stats module configuratio

2009-03-08 Thread Dilipkumar Jadhav
Dear all,
Thank you so much for your prompt response.
I've tried to check all the things you have suggested. This is where i
stand now:

1. Debug each line of the stats panel
I printed out the values at the end of each #set line in the most
edited pages panel. This is what i got as a result:

com.xpn.xwiki.criteria.impl.sc...@19fd285
com.xpn.xwiki.criteria.impl.per...@11ff313
com.xpn.xwiki.criteria.impl.ra...@4348c6
[]

The final [] in the fourth line above is the value for $stats

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

3.  Maybe you have a statistics field set to 0 in
XWiki.XWikiPreferences (edit in object mode to check)
I went to the XWiki.XwikiPreferences page and checked it in the object
mode. Unfortunately, i do not see any statistics field in there.
Could you please provide me with some exact example that i should look
for in this page. I see info about panels  skins et al. But nothing
about the statistics field.

4. I read the line in the user guide that says - When statistics are
globally enabled, storage can be enabled/disabled by wiki using the
XWikiPreference property statistics
Is this the same statistics field that we are talking about in point 3
above...If so, i really need some more clarity on looking up
XWikipreferences in the object mode.

5. I have disabled the module and enabled it again. But there is still
no data being displayed on the panels. All it says is - No statistics
recorded

Please help...thank you friends.


 Message: 7
 Date: Sun, 8 Mar 2009 10:51:34 +0100
 From: Thomas Mortagne thomas.morta...@xwiki.com
 Subject: Re: [xwiki-users] Stats module configuration
 To: XWiki Users users@xwiki.org
 Message-ID:
        a8e97d9c0903080151t75b2a7b6l202fa944df517...@mail.gmail.com
 Content-Type: text/plain; charset=UTF-8

 Hi,

 On Sat, Mar 7, 2009 at 16:59, Dilipkumar Jadhav
 jadhav.dilipku...@gmail.com wrote:
 Hello friends,
 My wiki has grown considerably now and we are at a phase where we
 would like to measure and analyze contributors and their
 contributions. ?I am using XWiki 1.7.2.

 I followed the instructions at
 http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration and
 set the following in the ?xwiki.cfg file.

 xwiki.stats=1
 xwiki.stats.default=1

 Now, I can see that the stats are being recorded in the database (mysql) 
 tables.
 However, when i visit the stats home in my wiki all i see is No
 statistics have been recorded for all statistics panels. All the
 graphs show no activity. Also, i have enabled the stats module about 2
 weeks back during which course there has been a lot of activity on the
 wiki.

 Also, the stats seems to work on the XWiki installed on my home pc.
 However, at my office ?instance of XWiki the stats module does not
 work. Could it have something to do with the proxy server that we have
 setup in office.

 No statistics have been recorded is printed when statistics are
 disabled so I doubt it has anything to do with proxy (it does not
 really check if there is something recorded or not, even if nothing
 was in the database it should generate en empty graph). Maybe you have
 a statistics field set to 0 in XWiki.XWikiPreferences (edit in
 object mode to check)


 Did i miss out on some crucial steps...
 Any help will be greatly appreciated.

 Thank you...
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users




 --
 Thomas Mortagne


 --

 Message: 8
 Date: Sun, 08 Mar 2009 11:40:58 +0100
 From: Sergiu Dumitriu ser...@xwiki.com
 Subject: Re: [xwiki-users] Stats module configuration
 To: XWiki Users users@xwiki.org
 Message-ID: 49b3a0ba.3070...@xwiki.com
 Content-Type: text/plain; charset=UTF-8; format=flowed

 Thomas Mortagne wrote:
 Hi,

 On Sat, Mar 7, 2009 at 16:59, Dilipkumar Jadhav
 jadhav.dilipku...@gmail.com wrote:
 Hello friends,
 My wiki has grown considerably now and we are at a phase where we
 would like to measure and analyze contributors and their
 contributions.  I am using XWiki 1.7.2.

 I followed the instructions at
 http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration and
 set the following in the  xwiki.cfg file.

 xwiki.stats=1
 xwiki.stats.default=1

 Now, I can see that the stats are being recorded in the database (mysql) 
 tables.
 However, when i visit the stats home in my wiki all i see is No
 statistics have been recorded for all statistics panels. All the
 graphs show no activity. Also, i have enabled the stats module about 2
 weeks back during which course there has been a lot of activity on the
 wiki.

 Also, the stats seems to work on the XWiki installed on my home pc.
 However, at my office  instance of XWiki the stats module does not
 work. Could it have something to do with the proxy server that we have
 setup in office.

 No