Dilipkumar,
Can you check the page ActivityData in the space Stats please ? I have a red message "table : null" for each stats and Iwould like to know if you have the same than me.
I also have data in the table and when i display info before the weekly stats table i have this :
$scope = com.xpn.xwiki.criteria.impl.Scope@1faf07e
$period = com.xpn.xwiki.criteria.impl.Period@1a146f7
$step = com.xpn.xwiki.criteria.impl.Duration@15e53cd
$myviews = {2009-03-10T00:00:00.000+01:00=0, 2009-03-11T00:00:00.000+01:00=0, 2009-03-13T00:00:00.000+01:00=0, 2009-03-15T00:00:00.000+01:00=0, 2009-03-12T00:00:00.000+01:00=0, 2009-03-09T00:00:00.000+01:00=0, 2009-03-14T00:00:00.000+01:00=0}
$myviews.size = 7
$myedits = {2009-03-10T00:00:00.000+01:00=0, 2009-03-11T00:00:00.000+01:00=0, 2009-03-13T00:00:00.000+01:00=0, 2009-03-15T00:00:00.000+01:00=0, 2009-03-12T00:00:00.000+01:00=0, 2009-03-09T00:00:00.000+01:00=0, 2009-03-14T00:00:00.000+01:00=0}
$dtf = org.joda.time.format.DateTimeFormatter@1a36dc7
table: null
Thanks
-----Message d'origine-----
De : users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] De la part de Dilipkumar Jadhav
Envoyé : mardi 10 mars 2009 12:43
À : users(a)xwiki.org
Objet : Re: [xwiki-users] Stats module configuration
Hello friends,
I've tried placing the new xwiki-plugin-jodatime-1.3.jar. Restarted
tomcat and still no statistics.
The result set like another friend said is still : NULL
There is definitely valid data in the stats tables (when i query it
through Sqlyog).
Thank you....
_______________________________________________
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
Hello,
I've been trying to use the latest Xeclipse (both standalone and plugin) for
some Velocity scripting, but a weird bug renders it unusable for me.
When I try to open my page, it opens fine and is cached on the HDD. If I
close the page and reopen it (or close eclipse) and try to open the cached
page again, I get a
com.thoughtworks.xstream.io.StreamException
Invalid byte 1 of 1-byte UTF-8 sequence.
This seems to be an already resolved problem (
http://markmail.org/message/syf6cpe4vcne4tca), so how can I update the
XStream version in XEclipse, or is a bugfix release already in the works?
Thanks in advance!
I'm implementing some Ajax to change page content using a web service,
and I'm stumped.
Here's the web service code:
<%
response.setContentType("application/x-json")
def success = "Successful Ajax Web Service call!"
%>
{
"rdoc": "<%=success%>"
}
Here's the javascript Ajax call:
<!-- AJAX Web Service Call -->
<script type="text/javascript">
function getRenderedDoc() {
window.alert("Function Called");
new Ajax.Request(
// Here we make the asynchronous call to our previously
created web service.
// Note that we are using the XWiki API from velocity to
compute the exact URL we want to hit.
// This is possible since the entire page will be evaluated
by the velocity engine before being sent to
// the client from which this javascript function will be
executed.
// We precise the number of entries we want to retrieve using
the limit parameter. The second parameter,
// "xpage=plain" is mandatory, this force XWiki to render the
called document with the "plain.vm" velocity
// template, thus not returning the whole skin. If we forget
this parameter, we will not receive a valid JSON
// and our client will not work.
"/1.8/bin/view/Main/WebService?xpage=plain",
{
method: 'get',
onSuccess: function(transport) {
// first, we evaluate the JSON result to make it
manipulable as javascript objects
var res = eval( '(' + transport.responseText + ')' );
var rendcontent = res.rdoc;
var rdiv = document.getElementById("div_Space_Rhodopsin");
while( rdiv.childNodes.length >= 1 ) {
rdiv.removeChild( rdiv.firstChild );
}
var pTag = document.createElement("p");
pTag.innerHTML = rendcontent;
rdiv.appendChild(pTag);
}
} );
}
</script>
I call the function from an anchor tag: <a
href="javascript:getRenderedDoc()">Test Ajax</a>
The alert is displayed, but I'm not seeing any update on my page. All
of the DOM manipulations have been independently verified with text
literals outside of the Ajax.Request.
Thanks.
Dan Svoboda
Hello users,
we are fighting with a spurious error occurring in our system:
org.apache.velocity.exception.MethodInvocationException: Invocation of
method 'getWidth' in class com.xpn.xwiki.plugin.image.ImagePluginAPI
threw exception java.lang.NoClassDefFoundError: Could not initialize
class sun.awt.X11.XToolkit @ Coll_Group_IREM-INRP-
AcademiedeLyon.Introductionalamediatrice610,36? at
org
.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:
300) at
org
.apache
.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:
203) at
where basically it seems that an X11 connection is wished even though
there's none (on a SuSE linux with a Sun Java).
What is the normal way in Java (and on my tomcat) to avoid X11
connections and still get some image services (such as getWidth) ??
thanks in advance
paul
Hi,
I have crawled the mailing lists and support forums on this but I am
unable to figure out the answer.
I am evaluating Xwiki and love Workspaces from what I've seen so far.
The one thing that really bogs me down is the inability to register an
authenticated SMTP server. I have read there is a patch from Liliane,
and the feature is included on 1.6 but I just can't seem to understand
how to get is to work. In an evaluation perspective (and very much so as
well in production), not being able to use authenticated SMTP server is
a no go for me.
Could you please point me to a resource that clarifies what the
situation is and possibly, the steps to enable it on 1.7.
Thanks !
norguir
Hello,
We are migrating an older xwiki (1.4.2 - with several wikis and users)
from another organization to an empty instance of the latest stable
xwiki (1.7.2) on our server. I've never used xwiki before - I've been
looking around and have seen upgrading information, but since there
was a database change in 1.5, I wanted to be sure we were going about
it the right way.
A. Testing the migration
I'm hoping to be able to test this migration. If I receive a test XAR
from the original wiki and import it into the new wiki, how should I
import the real XAR afterwards? Do I need to delete everything that
was imported and *then* import the 'real' XAR? Or can I just import
the real XAR *over* the test XAR?
B. Actual migration
What I believe we need to do is:
* Import the entire default XAR for 1.7.2 to capture latest features
(* Import the test XAR file and make sure it's working as expected -
then delete)
* Import the XAR file of the older wiki in full.
Is there anything else we need to do? I've seen other instructions,
but they seem geared towards upgrading an existing wiki (we won't have
any pre-existing information other than the admin account). But here
are the notes from the 1.5 release notes:
* If you're running in a multiwiki setup you'll also need to define
the property xwiki.store.migration.databases=all to your xwiki.cfg
file or explicitely name all databases to be migrated as in
xwiki.store.migration.databases=db1,db2,....
* Always make sure you compare your xwiki.cfg file with the newest
version since some configuration parameters were added. Of note, you
should add xwiki.store.migration=1 so that XWiki will attempt to
automatically migrate your current database to the new schema. Make
sure you backup your Database before doing anything.
Both wiki instances are running on Centos/Apache/Tomcat/MySQL.
Thanks for any help/tips,
Cristina
Hello!
I am starting to work with XWiki, coming from MediaWiki, and am having
a rough time getting used to it.
One thing I would very much like to do is to be able to use w3m inside
GNU Emacs to read, navigate and, above all, edit content. I do it all
the time with MediaWiki and find it much better than what is available
from Web browsers.
Only that, when I tried to do that, this is what I got:
Location: https://wiki.atech.br/xwiki/bin/login/XWiki/XWikiLogin?srid=ZFF8M4W4
Cannot retrieve URL: https://wiki.atech.br/ (exit status: 0)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Header information
W3m-current-url: https://wiki.atech.br/
W3m-document-charset: US-ASCII
W3m-ssl-certificate: Accept unsecure SSL session: unverified: self signed certificate
subject=wiki.atech.br: issuer=wiki.atech.br
Certificate:
Data:
Version: 3 (0x2)
Serial Number:
d4:4f:24:8c:d9:fc:39:c7
Signature Algorithm: sha1WithRSAEncryption
Issuer: C=BR, ST=SP, L=Sao Paulo, O=Atech Tecnologias Criticas, OU=Tecnologia da Informacao, CN=wiki.atech.br/emailAddress=tisuporte(a)atech.br
Validity
Not Before: Aug 6 04:03:40 2008 GMT
Not After : Aug 4 04:03:40 2018 GMT
Subject: C=BR, ST=SP, L=Sao Paulo, O=Atech Tecnologias Criticas, OU=Tecnologia da Informacao, CN=wiki.atech.br/emailAddress=tisuporte(a)atech.br
Subject Public Key Info:
Public Key Algorithm: rsaEncryption
RSA Public Key: (1024 bit)
Modulus (1024 bit):
00:a1:f4:11:ed:9e:ac:f7:9d:e1:d1:42:36:c3:9e:
50:fe:7b:92:be:18:1f:ad:13:d4:c5:65:d6:2a:96:
7d:c6:cc:63:8b:32:3e:4f:06:b9:b7:7e:45:fc:7b:
d7:25:51:86:43:06:3a:8c:71:ac:f0:9d:fd:17:82:
4b:6d:8a:32:ec:7c:b1:67:a3:2b:df:bc:02:59:7c:
6e:0d:9e:48:bb:6a:1d:9d:5a:11:f0:a4:e4:aa:3a:
37:c5:3b:52:0c:54:a2:40:2a:d0:1f:17:d8:05:52:
cd:ce:55:bd:e7:ab:38:5e:be:24:56:92:57:58:28:
d9:f4:50:ad:25:e7:61:99:d9
Exponent: 65537 (0x10001)
X509v3 extensions:
X509v3 Subject Key Identifier:
54:4F:2E:47:9F:0B:66:F6:50:5C:BF:44:98:D9:29:7B:B4:69:C9:1E
X509v3 Authority Key Identifier:
keyid:54:4F:2E:47:9F:0B:66:F6:50:5C:BF:44:98:D9:29:7B:B4:69:C9:1E
DirName:/C=BR/ST=SP/L=Sao Paulo/O=Atech Tecnologias Criticas/OU=Tecnologia da Informacao/CN=wiki.atech.br/emailAddress=tisuporte(a)atech.br
serial:D4:4F:24:8C:D9:FC:39:C7
X509v3 Basic Constraints:
CA:TRUE
Signature Algorithm: sha1WithRSAEncryption
45:d0:22:d7:b1:be:c5:75:eb:13:4a:5f:f9:00:15:a9:8f:63:
16:2a:a1:e9:a5:00:f7:c4:4a:3a:fb:79:05:86:de:f4:89:33:
5c:97:f1:db:f3:f5:6e:6b:b3:a1:40:dc:c7:39:6a:7a:af:c8:
98:aa:cd:56:59:9b:cb:ce:2e:31:1b:56:2f:06:56:90:0d:94:
83:66:37:89:8c:6f:a6:85:99:a9:c1:23:fb:cb:8c:fb:0f:03:
b7:d1:56:66:2b:13:77:b2:ae:59:dd:81:e6:fd:56:b1:1e:81:
cd:a3:39:4d:29:c9:1d:fc:0c:3e:69:fc:aa:04:bc:58:9f:26:
a3:80
HTTP/1.1 302 Found
Date: Tue, 10 Mar 2009 13:45:05 GMT
Server: Apache
X-Powered-By: PHP/4.4.4-8+etch6
Location: /xwiki/
Content-Length: 0
Connection: close
Content-Type: text/html; charset=ISO-8859-1
Any ideas are welcomed.
--
Leandro Guimarães Faria Corcete DUTRA mailto:ldutra@atech.br
Tecnologia da Informação — Atech Tecnologias Críticas <http://atech.br/>
msnim:chat?contact=leandro@dutra.fastmail.fm +55 (11) 3040 7344
xmpp:leandro.gfc.dutra@gmail.com skype:leandro.gfc.dutra?chat
- - - - -
Politica de Privacidade: Esta mensagem pode conter informacao confidencial e/ou privilegiada. Se voce nao for o destinatario ou a pessoa autorizada a receber esta mensagem, nao pode usar, copiar ou divulgar as informacoes nela contidas ou tomar qualquer acao baseada nessas informacoes. Se voce recebeu esta mensagem por engano, por favor avise imediatamente o remetente, respondendo o e-mail e em seguida apague-o. Agradecemos sua cooperacao.
Privacy Policy: This message may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this for the addressee, you must not use, copy, disclose or take any action based on this message or any information herein. If you have received this message in error, please advise the sender immediately by reply e-mail and delete this message. Thank you for your cooperation.
Hi guys,
I once configured different layouts for my different spaces. Now I
decided, that all spaces should look in a common way. Actually,
changing the Global layout in the administration does not overwrite
the space-specific layouts. How can I remove those specific layout
configurations, so every space takes the global configuration?
Thanx,
Sebastian
Hello,
Do i have to input something in JIRA for this kind of bug and for the request ?
-----Message d'origine-----
De : users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] De la part de PERINAUD Christophe
Envoyé : vendredi 6 mars 2009 13:55
À : users(a)xwiki.org
Objet : [xwiki-users] How to disable the search in some Wiki / The list ofwikis to search in is false
Hello,
I checked the content of the LuceneSearch page and i found in the code how to limit the search to known Wikis
My problem is that i don't know how will grow my list of wikis but i already know in wich Wikis i don't want users to search in. Is there a way to create an excluding list of Wikis ?
Also, the list of wikis to search in is false when searching from a virtual wiki. The list only has entries for the main wiki and all templates but not other virtual wikis (even the current one). But selecting "All" really search in all wikis not wikis that are in the selection list.
System :
Windows Server 2003 SP2 in a VMWare instance
Oracle 10g
Java 1.6.0_12
Xwiki 1.7.1 from the pack Jetty/HSQL
Christophe Périnaud
--------------------------------------------------------------------------------
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
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