Is there any way to backup the user/group permissions, set the entire
Xwiki to read only then revert to the original permissions at a later
date?
We are handing one of our XWiki to another team, and during the
transition, we don't want any changes made to the XWiki during this
transition process.
Sam
In the ActivityData page i put this code and now i'm able to have statistics.
I know it's temporary (poor database performances), but i hope it helps people having the same problem (sorry for the code quality, i'm sure it can be improved) :
#set($pattern='yyyy.MM.dd')
#set($step=86400000)
#set($scope=$xwiki.criteriaService.scopeFactory.ALL_PAGES)
#set($dtf = $xwiki.jodatime.getDateTimeFormatterForPattern($pattern))
#set($interval=$xwiki.criteriaService.rangeFactory.createAllRange())
1 Current week activity
#set($currentPeriod=$xwiki.criteriaService.periodFactory.currentWeek)
#set($periodStart=$xwiki.jodatime.getDateTime($currentPeriod.start))
#set($periodEnd=$xwiki.jodatime.getDateTime($currentPeriod.end))
#set($datejour=$periodStart.getMillis())
#set($nbElt = ($periodEnd.getMillis() - $periodStart.getMillis()) / $step)
{table}
Date | Views | Edit
#foreach($i in [1..7])
#set($datefinjour=$datejour + $step)
#set($period=$xwiki.criteriaService.periodFactory.createPeriod($datejour,$datefinjour))
#set($stats=$xwiki.statsService.getDocumentStatistics("view",$scope,$period,$interval))
#set($totalViews=0)
#if($stats.size() > 0)
#foreach($item in $stats)
#set($docStats = $xwiki.getDocument($item.name))
#if ($docStats)
#set($totalViews=$totalViews+$item.pageViews)
#end
#end
#end
#set($stats=$xwiki.statsService.getDocumentStatistics("save",$scope,$period,$interval))
#set($totalSave=0)
#if($stats.size() > 0)
#foreach($item in $stats)
#set($docStats = $xwiki.getDocument($item.name))
#if ($docStats)
#set($totalSave=$totalSave+$item.pageViews)
#end
#end
#end
$dtf.print($datejour) | $totalViews | $totalSave
#set($datejour=$datefinjour)
#end
{table}
-----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 all,
While trying to solve my stats problem, i checked the data in the table statsvisit and in the column unique_id i found that some records have a value set with the IP adress concat to the description of the browser :
xx.xx.xx.xxMozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)
Is it ok with that ? (Other values are something like : UADV0Y6H7VEWSLHVRVTSHMMSJYB9JDHX)
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
Hi,
I'm a user of the dedicated xwiki farm for Java User Groups. I have a
noticed a very strange problem.
I have created a form linked to a class. With this form I create and save
some data. I have also told to users of our web site to create data (it is
something like a registration). When I come back to my pages few days later,
some of the data previously recorded are lost. Is there a problem of data
saving (problem with hibernate sessions, ...) ?
Zouheir CADI, Paris JUG Leader
Hi,
I'm using XE 1.6.2 / XEM 1.4.1 and when I click on the Panel Wizard it just
doesn't show up. I click on the link, but nothing happens.
Is there a way to skip the wizard and set up the panels layout manually like
the previous versions of XWiki ?
Thanks,
Antonio
I'm new to Xwiki platform.
I need to install Curriki in my machine (windows platform).
What I want to know is before I go through the instructions listed in page
http://curriki.xwiki.org/xwiki/bin/view/Main/InstallationInstructions , do I
need to install Xwiki first and then follow the instructions in the above
page.
Urgent
Hi xwiki-users,
In XWiki Syntax 1.0, I was able to do something like this:
<a href="${documentURLRoot}"><img
src="$xwiki.getSkinFile('icons/black-file.png')" alt="Root URL" title="Root
URL" /></a>
This would render an icon from the current skin as a link. I understand
that in XWiki Syntax 2.0, there's a new form of this available:
[[image:Space.Wiki@picture.png>>${documentURLRoot}]]
This works if the image exists in your document as an attachment, but
doesn't work when the image link is relative to your web context:
[[image:$xwiki.getSkinFile('icons/black-file.png')>>${documentURLRoot}]]
This renders as the following:
<a href="http://www.google.com/">
<img alt="/xwiki/skins/albatross/icons/black%2Dfile.png"
class="wikimodel-freestanding"
src="/xwiki/bin/download/XWiki/WebHome/%2Fxwiki%2Fskins%2Falbatross%2Ficons%2Fblack%252Dfile.png"/>
</a>
which is not what I expected... One workaround is to put an explicit
"http://server-name:port/" before the $xwiki.getSkin() call, but that ties
the wiki to the server's address/port.
One other interesting thing I found out was that:
{{velocity}}
{{html wiki=true}}
* this works - [[image:
http://localhost:8080/$xwiki.getSkinFile('icons/black-file.png')]]
* this doesn't work - <img
src=$xwiki.getSkinFile('icons/black-file.png')>
{{/html}}
{{/velocity}}
It seems that the HTML Macro's final filter parses this last test case as 1
BulletedListBlock and 1 XMLBlock, but I'm not sure if this the expected
behavior. If this is the expected behavior, the more need to get the
[[image:]] tag working...
Thanks again for the great job!
Weird little problem. I am trying to purge my xwiki of a lot of users
who have left. But when I delete the user, go to another part of the
XWiki and come back to the users page, all my deletions are magically
back.
I'm logged in as Admin.
Any ideas?
Sam
Hi,
Can anyone tell me how i can get around the removal of an "_" when I attach a file to xwiki? Xwiki seems to remove the "_" in the file name before it attaches, but i need it to stay in the file name.
Thanks in advance.
In my class I have a property which is displayed as a dropdown select.
I replaced one of the values and I can still see that value together
with the new one.
Replaced Values
None|CC-BY-NC-SA
(recommended)|CC-BY|CC-BY-NC|CC-BY-SA|CC-BY-ND|CC-BY-NC-ND|Full
Copyright|Other
With Values
CC0 (No rights reserved)|CC-BY-NC-SA
(recommended)|CC-BY|CC-BY-NC|CC-BY-SA|CC-BY-ND|CC-BY-NC-ND|Full
Copyright|Other
And HTML says
<option selected='selected' value='None' label='None'>None</option>
<option value='CC0 (No rights reserved)' label='CC0 (No rights
reserved)'>CC0 (No rights reserved)</option>
Anyone had this prob?????
Ajdin
--------------------------------------------------------
NOTICE
This message and any files transmitted with it is intended for the addressee only and may contain information that is confidential or privileged. Unauthorised use is strictly prohibited. If you are not the addressee, you should not read, copy, disclose or otherwise use this message, except for the purpose of delivery to the addressee.
Any views or opinions expressed within this e-mail are those of the author and do not necessarily represent those of Coventry University.
Hi,
We use 1.7.1 version of Xwiki and i'm looking for create new skins with help
of http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Skins this Skins
Admin guide :
First it was not easy to understand how to modify the style and others
fields... (Copy/paste of .css and .vm files, links to .css and .vm files,
attach .css and .vm files or other???). I tried lot of things but they don't
works..
Then, and search in lot of topics of forum and i read from sure source that
i must copy/paste the code of .css and .vm files, OR, copy paste fields of
the XWiki.XwikiSkins object of the XWiki.DefaultSkin !
But in my 1.7.1 version, theses fields are empty, and changes done in my
style code when i copy/paste it from style.css file are not applied when i
test the skin.
I test it with "?skin=XWiki.MySkin" parameter, and i'm sure he's applied
because i change the logo inside and it works.
Where could be the problem? Is this Guide still good with 1.7.1 version ?
Thanks
--
View this message in context: http://n2.nabble.com/Fields-of-XWiki.XWikiSkins-in-XWiki.DefaultSkin-are-em…
Sent from the XWiki- Users mailing list archive at Nabble.com.
All of mine class properties that have Editor attrib set Wysiwyg only
display textbox. This is since 1.8 upgrade.
I'm using the latest .xar.
Ajdin
--------------------------------------------------------
NOTICE
This message and any files transmitted with it is intended for the addressee only and may contain information that is confidential or privileged. Unauthorised use is strictly prohibited. If you are not the addressee, you should not read, copy, disclose or otherwise use this message, except for the purpose of delivery to the addressee.
Any views or opinions expressed within this e-mail are those of the author and do not necessarily represent those of Coventry University.
Hi,
This looks good. Unfortunately a lot of companies such as mine use older
versions of Word such as Word 2000 (because of the cost of upgrading).
Would older versions of Word be supported in future? Or even Open Office
writer?
Regards,
Richard
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org]On Behalf
Of Florin Ciubotaru
Sent: 03 March 2009 12:49
To: devs(a)xwiki.org; users(a)xwiki.org
Subject: [xwiki-users] [ANN] XWiki Office 1.0 Milestone 1 Released!
The XWiki development team is pleased to announce the release of XWiki
Office 1.0 Milestone 1.
Go grab it at
http://www.xwiki.org/xwiki/bin/view/Main/Download#HXWikiOffice !
XWiki Office is a XWiki.org project that provides integration between
Microsoft Office and XWiki servers.
Here is a list of features:
- Create wiki pages using Word
- Edit existing pages in Word
- Download and edit attachments
- Attach files to the wiki
- Browse the wiki using the Wiki Explorer
For more information about XOffice go at:
- http://xoffice.xwiki.org/xwiki/bin/view/Main/
For details about this release see the Release Notes at:
- http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXOffice10M1
Thanks
-The XWiki dev team
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Thales UK Ltd (Wells) DISCLAIMER: The information contained in this e-mail
is confidential. It may also be legally privileged. It is intended only for
the stated addressee(s) and access to it by any other person is
unauthorised. If you are not an addressee, you must not disclose, copy,
circulate or in any other way use or rely on the information contained in
this e-mail. Such unauthorised use may be unlawful. We may monitor all
e-mail communications through our networks. If you have received this e-mail
in error, please inform us immediately on sender's telephone number above
and delete it and all copies from your system. We accept no responsibility
for changes to any e-mail which occur after it has been sent. Attachments
to this e-mail may contain software viruses which could damage your system.
We therefore recommend you virus-check all attachments before opening.
Thales UK Ltd. Registered Office: 2 Dashwood Lang Road, The Bourne Business
Park, Addlestone, Weybridge, Surrey KT15 2NX Registered in England No.
868273
Hi,
and export again. Tried to export a page with to pics included (one attached
to the page, one attached to another page) and got an error both for pdf and
for rtf export.
16:37:21,446
[http://semantic-web.hel.at/xwiki/bin/export/Da/KMKnowledgeDiw?format=rtf]
[http-8180-Processor24] WARN web.XWikiAction - Uncaught
exception: Error number 11015 in 11: Exception while exporting
Wrapped Exception: Error number 12002 in 12: Exception while exporting PDF
Wrapped Exception: org.apache.fop.fo.ValidationException: null:44:232:
Error(44/232): fo:external-graphic, Invalid property name 'display'.
com.xpn.xwiki.XWikiException: Error number 11015 in 11: Exception while
exporting
Wrapped Exception: Error number 12002 in 12: Exception while exporting PDF
Wrapped Exception: org.apache.fop.fo.ValidationException: null:44:232:
Error(44/232): fo:external-graphic, Invalid property name 'display'.
at com.xpn.xwiki.web.ExportAction.render(ExportAction.java:64)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:216)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:111)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:145)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
Wrapped Exception:
com.xpn.xwiki.XWikiException: Error number 12002 in 12: Exception while
exporting PDF
Wrapped Exception: org.apache.fop.fo.ValidationException: null:44:232:
Error(44/232): fo:external-graphic, Invalid property name 'display'.
at com.xpn.xwiki.pdf.impl.PdfExportImpl.exportXMLFO(PdfExportImpl.java:222)
at com.xpn.xwiki.pdf.impl.PdfExportImpl.exportXHtml(PdfExportImpl.java:165)
at com.xpn.xwiki.pdf.impl.PdfExportImpl.exportHtml(PdfExportImpl.java:229)
at com.xpn.xwiki.pdf.impl.PdfExportImpl.export(PdfExportImpl.java:260)
at com.xpn.xwiki.web.ExportAction.exportPDFOrRTF(ExportAction.java:198)
at com.xpn.xwiki.web.ExportAction.render(ExportAction.java:61)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:216)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:111)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:145)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
Wrapped Exception:
org.apache.fop.fo.ValidationException: null:44:232: Error(44/232):
fo:external-graphic, Invalid property name 'display'.
at org.apache.fop.fo.FONode.attributeError(FONode.java:354)
at
org.apache.fop.fo.PropertyList.handleInvalidProperty(PropertyList.java:476)
at
org.apache.fop.fo.PropertyList.isValidPropertyName(PropertyList.java:364)
at
org.apache.fop.fo.PropertyList.convertAttributeToProperty(PropertyList.java:385)
at
org.apache.fop.fo.PropertyList.addAttributesToList(PropertyList.java:320)
at org.apache.fop.fo.FObj.processNode(FObj.java:121)
at
org.apache.fop.fo.FOTreeBuilder$MainFOHandler.startElement(FOTreeBuilder.java:286)
at org.apache.fop.fo.FOTreeBuilder.startElement(FOTreeBuilder.java:163)
at
org.apache.xalan.transformer.TransformerIdentityImpl.startElement(TransformerIdentityImpl.java:1042)
at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown
Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown
Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at
org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:463)
at com.xpn.xwiki.pdf.impl.PdfExportImpl.exportXMLFO(PdfExportImpl.java:192)
at com.xpn.xwiki.pdf.impl.PdfExportImpl.exportXHtml(PdfExportImpl.java:165)
at com.xpn.xwiki.pdf.impl.PdfExportImpl.exportHtml(PdfExportImpl.java:229)
at com.xpn.xwiki.pdf.impl.PdfExportImpl.export(PdfExportImpl.java:260)
at com.xpn.xwiki.web.ExportAction.exportPDFOrRTF(ExportAction.java:198)
at com.xpn.xwiki.web.ExportAction.render(ExportAction.java:61)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:216)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:111)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:145)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
16:38:31,675
[http://semantic-web.hel.at/xwiki/bin/export/Da/KMKnowledgeDiw?format=pdf]
[http-8180-Processor19] WARN web.XWikiAction - Uncaught
exception: Error number 11015 in 11: Exception while exporting
Wrapped Exception: Error number 12002 in 12: Exception while exporting PDF
Wrapped Exception: org.apache.fop.fo.ValidationException: null:44:232:
Error(44/232): fo:external-graphic, Invalid property name 'display'.
com.xpn.xwiki.XWikiException: Error number 11015 in 11: Exception while
exporting
Wrapped Exception: Error number 12002 in 12: Exception while exporting PDF
Wrapped Exception: org.apache.fop.fo.ValidationException: null:44:232:
Error(44/232): fo:external-graphic, Invalid property name 'display'.
at com.xpn.xwiki.web.ExportAction.render(ExportAction.java:64)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:216)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:111)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:145)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
Wrapped Exception:
com.xpn.xwiki.XWikiException: Error number 12002 in 12: Exception while
exporting PDF
Wrapped Exception: org.apache.fop.fo.ValidationException: null:44:232:
Error(44/232): fo:external-graphic, Invalid property name 'display'.
at com.xpn.xwiki.pdf.impl.PdfExportImpl.exportXMLFO(PdfExportImpl.java:222)
at com.xpn.xwiki.pdf.impl.PdfExportImpl.exportXHtml(PdfExportImpl.java:165)
at com.xpn.xwiki.pdf.impl.PdfExportImpl.exportHtml(PdfExportImpl.java:229)
at com.xpn.xwiki.pdf.impl.PdfExportImpl.export(PdfExportImpl.java:260)
at com.xpn.xwiki.web.ExportAction.exportPDFOrRTF(ExportAction.java:198)
at com.xpn.xwiki.web.ExportAction.render(ExportAction.java:61)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:216)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:111)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:145)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
Wrapped Exception:
org.apache.fop.fo.ValidationException: null:44:232: Error(44/232):
fo:external-graphic, Invalid property name 'display'.
at org.apache.fop.fo.FONode.attributeError(FONode.java:354)
at
org.apache.fop.fo.PropertyList.handleInvalidProperty(PropertyList.java:476)
at
org.apache.fop.fo.PropertyList.isValidPropertyName(PropertyList.java:364)
at
org.apache.fop.fo.PropertyList.convertAttributeToProperty(PropertyList.java:385)
at
org.apache.fop.fo.PropertyList.addAttributesToList(PropertyList.java:320)
at org.apache.fop.fo.FObj.processNode(FObj.java:121)
at
org.apache.fop.fo.FOTreeBuilder$MainFOHandler.startElement(FOTreeBuilder.java:286)
at org.apache.fop.fo.FOTreeBuilder.startElement(FOTreeBuilder.java:163)
at
org.apache.xalan.transformer.TransformerIdentityImpl.startElement(TransformerIdentityImpl.java:1042)
at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown
Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown
Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at
org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:463)
at com.xpn.xwiki.pdf.impl.PdfExportImpl.exportXMLFO(PdfExportImpl.java:192)
at com.xpn.xwiki.pdf.impl.PdfExportImpl.exportXHtml(PdfExportImpl.java:165)
at com.xpn.xwiki.pdf.impl.PdfExportImpl.exportHtml(PdfExportImpl.java:229)
at com.xpn.xwiki.pdf.impl.PdfExportImpl.export(PdfExportImpl.java:260)
at com.xpn.xwiki.web.ExportAction.exportPDFOrRTF(ExportAction.java:198)
at com.xpn.xwiki.web.ExportAction.render(ExportAction.java:61)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:216)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:111)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:145)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at org.apache.tomcat.util.threads.ThreadP
Thanks
hel.
-----
hel.
hel(a)hel.at
--
View this message in context: http://n2.nabble.com/Export-%28Pictures%2C-1.8RC2%29-tp2455946p2455946.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
HI
The new tag cloud in v1.8 has a number rounding bug
#foreach($popularityMax in $sorttool.sort($popularityMap.keySet()))
#if($tagCount.get($tag) > $popularityMax)
#elseif(!$classSet)
#set($liClass = $popularityMap.get($popularityMax))
#set($classSet = true)
#end
In case when $tagCount.get($tag) is equal to $popularityMax
(lets say both should be 42, $popularityMax is actually 41.9999999).
This means that a tag with 42 occurrences has o stile sheet class set
and appears very small when in fact it should be the biggest one.
I've tried doing $mathtool.toInteger($popularityMax) and
$mathtool.roundToInt($popularityMax) but both of these give
value 41.
Ajdin Brandic
--------------------------------------------------------
NOTICE
This message and any files transmitted with it is intended for the addressee only and may contain information that is confidential or privileged. Unauthorised use is strictly prohibited. If you are not the addressee, you should not read, copy, disclose or otherwise use this message, except for the purpose of delivery to the addressee.
Any views or opinions expressed within this e-mail are those of the author and do not necessarily represent those of Coventry University.
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
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....
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
Dear XWiki users,
I have been looking for authenticating my xwiki users against a LDAP
directory (OpenLdap, debian box), where the userPassword field is
encrypted using the SHA algorithm.
Unfortunately, I am not able to configure xwiki to encrypt the
password entered by the user before the authentication and
authorization process.
I receive the following snip, after enabling ldap logging in a custom
log4j.properties file as indicated in the doc:
com.xpn.xwiki.XWikiException: Error number 8001 in 8: LDAP
authentication failed: could not validate the password: wrong password
for uid=gravier.christophe,ou=xxx,o=yyyy,c=fr
The configuration is nevertheless good in overall, because I can log
in if I store my password as plain text binary in my LDAP server (but
I don't want it to be plain text in the LDAP server of course...).
I have been searching the documentation, FAQ and user/dev mailing
lists, and I only found encryption related to cookie storage, or SHA
encryption for xwiki-webdav module (http://xwiki.markmail.org/message/k2r2qqu2twjputml?q=ldap+SHA
) developpers' thoughts.
Does someone have any clue on how to configure xwiki for encrypted
userPassword stored in OpenLDAP please ?
Thank you in advance for any information in this matter !
Best Regards,
Ch. Gravier
--
Dr.-Ing. Christophe Gravier
DIOM laboratory - http://diom.telecom-st-etienne.fr/
TELECOM Saint-Étienne (formerly "Istase") - http://www.telecom-st-etienne.fr/
Jabber ID : gravier.christophe(a)jabber.istase.com
Homepage: http://diom.telecom-st-etienne.com/public/cgravier/
Research project: http://diom.istase.fr/satin/einst/
Niels,
Thank you again. I changed the configuration to disable the recycle bin and now i am able to delete attached files
I disabled also for pages and it works too.
-----Message d'origine-----
De : users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] De la part de Niels Mayer
Envoyé : samedi 7 mars 2009 10:47
À : XWiki Users
Objet : Re: [xwiki-users] Bug : unable to delete attached files in virtualwikis
I had a similar problem, with attachments not being deletable, which also
prevented the document itself from being deleted. Unfortunately, this also
suggested an additional issue arising with attachments. If a user makes
large attachments to their user-document, e.g. XWiki.MyName then even in a
"closed" wiki that only allows users to edit their own user document, they
can cause a denial of service attack through large attachments. In other
words, even if the wiki is setup so that regular registered XWikiAllGroup
users don't have write access to any directory, just comment-access to
documents; they'll still have write access to their own XWiki.MyName
document created through registration... and that means they'll be able to
add attachments even when you think they couldn't. The "Rights"
adminstration checkbox "Prevent unregistered users from editing pages,
regardless of the page or space rights" doesn't prevent attachments from
being added to user's own pages.
Anyways, I ended up solving the blowups and OOM errors by deleting the
attachments directly in the database:
mysql> select XWA_ID,XWA_DOC_ID,XWA_FILENAME,XWA_SIZE,XWA_AUTHOR from
xwikiattachment where XWA_AUTHOR='XWiki.JG';
| XWA_ID | XWA_DOC_ID | XWA_FILENAME | XWA_SIZE | XWA_AUTHOR|
| 1185703559 | 168880978 | foo.pdf | 9817587 | XWiki.JG |
| -352107721 | 168880978 | bar.pdf | 13049680 | XWiki.JG |
| 1527849923 | 168880978 | baz.pdf | 293 | XWiki.JG |
| -2073884056 | 168880978 | frop.pdf | 5904061 | XWiki.JG |
| 1039500510 | 168880978 | schlop.pdf | 4440028 | XWiki.JG |
| 942569068 | 168880978 | plop.pdf | 14033466 | XWiki.JG |
| 1363529635 | 168880978 | schnops.pdf | 0 | XWiki.JG |
| -1054875919 | 168880978 | hops.jpg | 3081 | XWiki.JG |
8 rows in set (0.00 sec)
mysql> delete from xwikiattachment where XWA_AUTHOR='XWiki.JG';
Query OK, 8 rows affected (0.00 sec)
Someone please tell me if this is not the right way to fix such issues...
As afterthought, I realized that setting
xwiki.store.attachment.versioning.hint=void in xwiki.cfg might prevent xwiki
from reading/diffing and attempting to version a large attachment. Doing so
could certainly make it run out of memory, and changing this option might
prevent the bug?:
#-# The attachment versioning storage. Use 'void' to disable attachment
versioning.
# xwiki.store.attachment.versioning.hint=default
Also, perhaps by not sending deleted attachments to the recycle bin, it
won't need to be copied anywhere, and therefore there'll not be any memory
to run out copying a giant attachment through java (assuming that's what
happens on delete).
#-# The attachment recycle bin storage.
# xwiki.store.attachment.recyclebin.hint=default
Niels
http://nielsmayer.com
PS: perhaps the defaults for xwiki.store.attachment.versioning.hint and
xwiki.store.attachment.recyclebin.hint need to be changed?
On Fri, Mar 6, 2009 at 2:37 AM, PERINAUD Christophe <
Christophe.PERINAUD(a)kbl-bank.com> wrote:
> Hello (again)
>
> All is ok in the main wiki but in a virtual wiki i can't delete an attached
> file of a page. After the confirmation message i got :
>
> A problem occured while trying to service your request. Please contact the
> support if this happens again.
>
> Detailed information:
>
> Error number 0 in 3: Exception while hibernate execute
> Wrapped Exception: could not get next sequence value
> com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while
> hibernate execute
> Wrapped Exception: could not get next sequence value
> at
> com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:1052)
> at
> com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1098)
> at
> com.xpn.xwiki.store.hibernate.HibernateAttachmentRecycleBinStore.saveToRecycleBin(HibernateAttachmentRecycleBinStore.java:83)
> at
> com.xpn.xwiki.doc.XWikiDocument.deleteAttachment(XWikiDocument.java:2799)
> at
> com.xpn.xwiki.doc.XWikiDocument.deleteAttachment(XWikiDocument.java:2782)
> at
> com.xpn.xwiki.web.DeleteAttachmentAction.action(DeleteAttachmentAction.java:72)
> at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:215)
> at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
> at
> org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
> at
> org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
> at
> org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
> at
> org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:596)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
> at
> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
> at
> org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:830)
> at
> com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
> at
> org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
> at
> com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:135)
> at
> org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
> at
> com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:287)
> at
> org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
> at
> com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
> at
> org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
> at
> org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:471)
> at
> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
> at org.mortbay.http.HttpContext.handle(HttpContext.java:1565)
> at
> org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633)
> at org.mortbay.http.HttpContext.handle(HttpContext.java:1517)
> at org.mortbay.http.HttpServer.service(HttpServer.java:954)
> at org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
> at
> org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:983)
> at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
> at
> org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)
> at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
> at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
>
>
> Wrapped Exception:
>
> java.sql.SQLException: ORA-02289: sequence does not exist
>
> at
> oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:74)
> at
> oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:131)
> at
> oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:204)
> at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455)
> at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:413)
> at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1034)
> at
> oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:194)
> at
> oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:791)
> at
> oracle.jdbc.driver.T4CPreparedStatement.executeMaybeDescribe(T4CPreparedStatement.java:866)
> at
> oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1186)
> at
> oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3387)
> at
> oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3431)
> at
> oracle.jdbc.driver.OraclePreparedStatementWrapper.executeQuery(OraclePreparedStatementWrapper.java:1203)
> at
> org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:92)
> at
> org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:92)
> at
> org.hibernate.id.SequenceGenerator.generate(SequenceGenerator.java:75)
> at
> org.hibernate.event.def.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:99)
> at
> org.hibernate.event.def.DefaultSaveOrUpdateEventListener.saveWithGeneratedOrRequestedId(DefaultSaveOrUpdateEventListener.java:187)
> at
> org.hibernate.event.def.DefaultSaveEventListener.saveWithGeneratedOrRequestedId(DefaultSaveEventListener.java:33)
> at
> org.hibernate.event.def.DefaultSaveOrUpdateEventListener.entityIsTransient(DefaultSaveOrUpdateEventListener.java:172)
> at
> org.hibernate.event.def.DefaultSaveEventListener.performSaveOrUpdate(DefaultSaveEventListener.java:27)
> at
> org.hibernate.event.def.DefaultSaveOrUpdateEventListener.onSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:70)
> at org.hibernate.impl.SessionImpl.fireSave(SessionImpl.java:535)
> at org.hibernate.impl.SessionImpl.save(SessionImpl.java:523)
> at org.hibernate.impl.SessionImpl.save(SessionImpl.java:519)
> at
> com.xpn.xwiki.store.hibernate.HibernateAttachmentRecycleBinStore$1.doInHibernate(HibernateAttachmentRecycleBinStore.java:87)
> at
> com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:1046)
> at
> com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1098)
> at
> com.xpn.xwiki.store.hibernate.HibernateAttachmentRecycleBinStore.saveToRecycleBin(HibernateAttachmentRecycleBinStore.java:83)
> at
> com.xpn.xwiki.doc.XWikiDocument.deleteAttachment(XWikiDocument.java:2799)
> at
> com.xpn.xwiki.doc.XWikiDocument.deleteAttachment(XWikiDocument.java:2782)
> at
> com.xpn.xwiki.web.DeleteAttachmentAction.action(DeleteAttachmentAction.java:72)
> at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:215)
> at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
> at
> org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
> at
> org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
> at
> org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
> at
> org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:596)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
> at
> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
> at
> org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:830)
> at
> com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
> at
> org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
> at
> com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:135)
> at
> org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
> at
> com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:287)
> at
> org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
> at
> com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
> at
> org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
> at
> org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:471)
> at
> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
> at org.mortbay.http.HttpContext.handle(HttpContext.java:1565)
> at
> org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633)
> at org.mortbay.http.HttpContext.handle(HttpContext.java:1517)
> at org.mortbay.http.HttpServer.service(HttpServer.java:954)
> at org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
> at
> org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:983)
> at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
> at
> org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)
> at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
> at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
>
> Again it's an Oracle problem. Any idea if it's because of the shema used or
> a DBA problem (admin Db team followed instructions from web site to allow
> all rigts to the xwiki user) ?
>
> Thank you
>
>
> 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
>
_______________________________________________
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
Sorry, bad eyes ....
xwiki-plugin-jodatime-1.2.jar
-----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
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-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
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.mortagne(a)xwiki.com>
> Subject: Re: [xwiki-users] Stats module configuration
> To: XWiki Users <users(a)xwiki.org>
> Message-ID:
> <a8e97d9c0903080151t75b2a7b6l202fa944df5170ac(a)mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
>
> Hi,
>
> On Sat, Mar 7, 2009 at 16:59, Dilipkumar Jadhav
> <jadhav.dilipkumar(a)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(a)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 <sergiu(a)xwiki.com>
> Subject: Re: [xwiki-users] Stats module configuration
> To: XWiki Users <users(a)xwiki.org>
> Message-ID: <49B3A0BA.3070603(a)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.dilipkumar(a)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 be a problem with another component, the best thing to do is
> to debug each statement in one of the panels. Take for example the
> Stats.CurrentMonthActivity document, edit the panel, and after each #set
> line print the newly set variable, and see which one is wrong. A
> possible problem is that the jodatime plugin is disabled.
>
> --
> Sergiu Dumitriu
> http://purl.org/net/sergiu/
>
>
> ------------------------------
>
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
>
> End of users Digest, Vol 20, Issue 16
> *************************************
>
_______________________________________________
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
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.Scope@19fd285
com.xpn.xwiki.criteria.impl.Period@11ff313
com.xpn.xwiki.criteria.impl.Range@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.mortagne(a)xwiki.com>
> Subject: Re: [xwiki-users] Stats module configuration
> To: XWiki Users <users(a)xwiki.org>
> Message-ID:
> <a8e97d9c0903080151t75b2a7b6l202fa944df5170ac(a)mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
>
> Hi,
>
> On Sat, Mar 7, 2009 at 16:59, Dilipkumar Jadhav
> <jadhav.dilipkumar(a)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(a)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 <sergiu(a)xwiki.com>
> Subject: Re: [xwiki-users] Stats module configuration
> To: XWiki Users <users(a)xwiki.org>
> Message-ID: <49B3A0BA.3070603(a)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.dilipkumar(a)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 be a problem with another component, the best thing to do is
> to debug each statement in one of the panels. Take for example the
> Stats.CurrentMonthActivity document, edit the panel, and after each #set
> line print the newly set variable, and see which one is wrong. A
> possible problem is that the jodatime plugin is disabled.
>
> --
> Sergiu Dumitriu
> http://purl.org/net/sergiu/
>
>
> ------------------------------
>
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
>
> End of users Digest, Vol 20, Issue 16
> *************************************
>
I'm using this query now: #set($sql = ", BaseObject as obj, $proptype as
prop where obj.className='${ISDclassname}' and obj.id=prop.id.id and
prop.name='${viewby}' and doc.fullName=obj.name and doc.fullName!='$
{ISDclasstemplate}' and $xwiki.getDate()-doc.contentUpdateDate<15 order by
prop.value")
And I am getting this error: Error number 4001 in 4: Error while parsing
velocity page ISDCenter.WebHome Wrapped Exception: Failed to evaluate
content with id Web Home
Let me guess: subtracting doc.contentUpdateDate from $xwiki.getDate() is
invalid? Is there another way that I should manipulate the dates so that I
can determine if a document is too old to display?
Thanks!
Mary Ellen Coleman
Niels,
Thank you for the answer. I will check in the Oracle database if we can do the same when we have to delete.
And i will also disable the versionning of attachment files and the recycle bin. I did not notice this options in the configuration file.
Christophe
-----Message d'origine-----
De : users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] De la part de Niels Mayer
Envoyé : samedi 7 mars 2009 10:47
À : XWiki Users
Objet : Re: [xwiki-users] Bug : unable to delete attached files in virtualwikis
I had a similar problem, with attachments not being deletable, which also
prevented the document itself from being deleted. Unfortunately, this also
suggested an additional issue arising with attachments. If a user makes
large attachments to their user-document, e.g. XWiki.MyName then even in a
"closed" wiki that only allows users to edit their own user document, they
can cause a denial of service attack through large attachments. In other
words, even if the wiki is setup so that regular registered XWikiAllGroup
users don't have write access to any directory, just comment-access to
documents; they'll still have write access to their own XWiki.MyName
document created through registration... and that means they'll be able to
add attachments even when you think they couldn't. The "Rights"
adminstration checkbox "Prevent unregistered users from editing pages,
regardless of the page or space rights" doesn't prevent attachments from
being added to user's own pages.
Anyways, I ended up solving the blowups and OOM errors by deleting the
attachments directly in the database:
mysql> select XWA_ID,XWA_DOC_ID,XWA_FILENAME,XWA_SIZE,XWA_AUTHOR from
xwikiattachment where XWA_AUTHOR='XWiki.JG';
| XWA_ID | XWA_DOC_ID | XWA_FILENAME | XWA_SIZE | XWA_AUTHOR|
| 1185703559 | 168880978 | foo.pdf | 9817587 | XWiki.JG |
| -352107721 | 168880978 | bar.pdf | 13049680 | XWiki.JG |
| 1527849923 | 168880978 | baz.pdf | 293 | XWiki.JG |
| -2073884056 | 168880978 | frop.pdf | 5904061 | XWiki.JG |
| 1039500510 | 168880978 | schlop.pdf | 4440028 | XWiki.JG |
| 942569068 | 168880978 | plop.pdf | 14033466 | XWiki.JG |
| 1363529635 | 168880978 | schnops.pdf | 0 | XWiki.JG |
| -1054875919 | 168880978 | hops.jpg | 3081 | XWiki.JG |
8 rows in set (0.00 sec)
mysql> delete from xwikiattachment where XWA_AUTHOR='XWiki.JG';
Query OK, 8 rows affected (0.00 sec)
Someone please tell me if this is not the right way to fix such issues...
As afterthought, I realized that setting
xwiki.store.attachment.versioning.hint=void in xwiki.cfg might prevent xwiki
from reading/diffing and attempting to version a large attachment. Doing so
could certainly make it run out of memory, and changing this option might
prevent the bug?:
#-# The attachment versioning storage. Use 'void' to disable attachment
versioning.
# xwiki.store.attachment.versioning.hint=default
Also, perhaps by not sending deleted attachments to the recycle bin, it
won't need to be copied anywhere, and therefore there'll not be any memory
to run out copying a giant attachment through java (assuming that's what
happens on delete).
#-# The attachment recycle bin storage.
# xwiki.store.attachment.recyclebin.hint=default
Niels
http://nielsmayer.com
PS: perhaps the defaults for xwiki.store.attachment.versioning.hint and
xwiki.store.attachment.recyclebin.hint need to be changed?
On Fri, Mar 6, 2009 at 2:37 AM, PERINAUD Christophe <
Christophe.PERINAUD(a)kbl-bank.com> wrote:
> Hello (again)
>
> All is ok in the main wiki but in a virtual wiki i can't delete an attached
> file of a page. After the confirmation message i got :
>
> A problem occured while trying to service your request. Please contact the
> support if this happens again.
>
> Detailed information:
>
> Error number 0 in 3: Exception while hibernate execute
> Wrapped Exception: could not get next sequence value
> com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while
> hibernate execute
> Wrapped Exception: could not get next sequence value
> at
> com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:1052)
> at
> com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1098)
> at
> com.xpn.xwiki.store.hibernate.HibernateAttachmentRecycleBinStore.saveToRecycleBin(HibernateAttachmentRecycleBinStore.java:83)
> at
> com.xpn.xwiki.doc.XWikiDocument.deleteAttachment(XWikiDocument.java:2799)
> at
> com.xpn.xwiki.doc.XWikiDocument.deleteAttachment(XWikiDocument.java:2782)
> at
> com.xpn.xwiki.web.DeleteAttachmentAction.action(DeleteAttachmentAction.java:72)
> at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:215)
> at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
> at
> org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
> at
> org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
> at
> org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
> at
> org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:596)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
> at
> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
> at
> org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:830)
> at
> com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
> at
> org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
> at
> com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:135)
> at
> org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
> at
> com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:287)
> at
> org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
> at
> com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
> at
> org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
> at
> org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:471)
> at
> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
> at org.mortbay.http.HttpContext.handle(HttpContext.java:1565)
> at
> org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633)
> at org.mortbay.http.HttpContext.handle(HttpContext.java:1517)
> at org.mortbay.http.HttpServer.service(HttpServer.java:954)
> at org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
> at
> org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:983)
> at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
> at
> org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)
> at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
> at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
>
>
> Wrapped Exception:
>
> java.sql.SQLException: ORA-02289: sequence does not exist
>
> at
> oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:74)
> at
> oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:131)
> at
> oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:204)
> at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455)
> at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:413)
> at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1034)
> at
> oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:194)
> at
> oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:791)
> at
> oracle.jdbc.driver.T4CPreparedStatement.executeMaybeDescribe(T4CPreparedStatement.java:866)
> at
> oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1186)
> at
> oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3387)
> at
> oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3431)
> at
> oracle.jdbc.driver.OraclePreparedStatementWrapper.executeQuery(OraclePreparedStatementWrapper.java:1203)
> at
> org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:92)
> at
> org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:92)
> at
> org.hibernate.id.SequenceGenerator.generate(SequenceGenerator.java:75)
> at
> org.hibernate.event.def.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:99)
> at
> org.hibernate.event.def.DefaultSaveOrUpdateEventListener.saveWithGeneratedOrRequestedId(DefaultSaveOrUpdateEventListener.java:187)
> at
> org.hibernate.event.def.DefaultSaveEventListener.saveWithGeneratedOrRequestedId(DefaultSaveEventListener.java:33)
> at
> org.hibernate.event.def.DefaultSaveOrUpdateEventListener.entityIsTransient(DefaultSaveOrUpdateEventListener.java:172)
> at
> org.hibernate.event.def.DefaultSaveEventListener.performSaveOrUpdate(DefaultSaveEventListener.java:27)
> at
> org.hibernate.event.def.DefaultSaveOrUpdateEventListener.onSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:70)
> at org.hibernate.impl.SessionImpl.fireSave(SessionImpl.java:535)
> at org.hibernate.impl.SessionImpl.save(SessionImpl.java:523)
> at org.hibernate.impl.SessionImpl.save(SessionImpl.java:519)
> at
> com.xpn.xwiki.store.hibernate.HibernateAttachmentRecycleBinStore$1.doInHibernate(HibernateAttachmentRecycleBinStore.java:87)
> at
> com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:1046)
> at
> com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1098)
> at
> com.xpn.xwiki.store.hibernate.HibernateAttachmentRecycleBinStore.saveToRecycleBin(HibernateAttachmentRecycleBinStore.java:83)
> at
> com.xpn.xwiki.doc.XWikiDocument.deleteAttachment(XWikiDocument.java:2799)
> at
> com.xpn.xwiki.doc.XWikiDocument.deleteAttachment(XWikiDocument.java:2782)
> at
> com.xpn.xwiki.web.DeleteAttachmentAction.action(DeleteAttachmentAction.java:72)
> at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:215)
> at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
> at
> org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
> at
> org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
> at
> org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
> at
> org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:596)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
> at
> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
> at
> org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:830)
> at
> com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
> at
> org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
> at
> com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:135)
> at
> org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
> at
> com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:287)
> at
> org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
> at
> com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
> at
> org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
> at
> org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:471)
> at
> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
> at org.mortbay.http.HttpContext.handle(HttpContext.java:1565)
> at
> org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633)
> at org.mortbay.http.HttpContext.handle(HttpContext.java:1517)
> at org.mortbay.http.HttpServer.service(HttpServer.java:954)
> at org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
> at
> org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:983)
> at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
> at
> org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)
> at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
> at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
>
> Again it's an Oracle problem. Any idea if it's because of the shema used or
> a DBA problem (admin Db team followed instructions from web site to allow
> all rigts to the xwiki user) ?
>
> Thank you
>
>
> 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
>
_______________________________________________
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 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.
Did i miss out on some crucial steps...
Any help will be greatly appreciated.
Thank you...
Hi,
I'm starting to have a look at groovy scripting in xwiki and I have o
problem that I don't understand it.
More exactly:
When I write the following code (it is from a book, "Programming Groovy") it
doesn't display anything. It doesn't display the message from my function.
If I write a simple instruction println "a text" then it display the text.
It is something wrong with iterationDetails function ?
enum Methodologies
{
Evo(5),
XP(21),
Scrum(30);
final int daysInIteration
Methodologies(days) { daysInIteration = days }
def iterationDetails()
{
println "${this} recommends $daysInIteration days for iteration"
}
}
for(methodology in Methodologies.values())
{
methodology.iterationDetails()
}
--
View this message in context: http://n2.nabble.com/Groovy-problem-tp2440947p2440947.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
I've improved slightly the translation app at http://l10n.xwiki.org
It now supports sorting per the translation keys both for the output
(the file will be nicer looking) and when translating, which will make
it easier to translate keys that correspond to the same module together.
In terms of status the great news is that we have the following language
completed:
- English (obviously)
- French
- German
- Romanian
Translators might want to have a look at the "outdated" translations.
These are the already translated keys that have in the mean time changed
in the english language.
Outdated translations are available from the OutDated link of your language.
Review is also important. It gives a second chance to check
translations. Also an already translated key that has been changed and
not reviewed will not be taken into account until it is reviewed.
Review is accessible from the Review link of your language.
In any case I'm really happy with what we have achieve. We now have 4
complete languages and we can keep track of the changes.
We'll make sure this hard work is going to make it in 1.8 final release.
Thanks to all for the contribution and we welcome other volunteers to
tackle the other languages.
Ludovic
--
Ludovic Dubost
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost
Hello (again)
All is ok in the main wiki but in a virtual wiki i can't delete an attached file of a page. After the confirmation message i got :
A problem occured while trying to service your request. Please contact the support if this happens again.
Detailed information:
Error number 0 in 3: Exception while hibernate execute
Wrapped Exception: could not get next sequence value
com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute
Wrapped Exception: could not get next sequence value
at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:1052)
at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1098)
at com.xpn.xwiki.store.hibernate.HibernateAttachmentRecycleBinStore.saveToRecycleBin(HibernateAttachmentRecycleBinStore.java:83)
at com.xpn.xwiki.doc.XWikiDocument.deleteAttachment(XWikiDocument.java:2799)
at com.xpn.xwiki.doc.XWikiDocument.deleteAttachment(XWikiDocument.java:2782)
at com.xpn.xwiki.web.DeleteAttachmentAction.action(DeleteAttachmentAction.java:72)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:215)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:596)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:830)
at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
at com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:135)
at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
at com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:287)
at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:471)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1565)
at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1517)
at org.mortbay.http.HttpServer.service(HttpServer.java:954)
at org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:983)
at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)
at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
Wrapped Exception:
java.sql.SQLException: ORA-02289: sequence does not exist
at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:74)
at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:131)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:204)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:413)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1034)
at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:194)
at oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:791)
at oracle.jdbc.driver.T4CPreparedStatement.executeMaybeDescribe(T4CPreparedStatement.java:866)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1186)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3387)
at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3431)
at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeQuery(OraclePreparedStatementWrapper.java:1203)
at org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:92)
at org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:92)
at org.hibernate.id.SequenceGenerator.generate(SequenceGenerator.java:75)
at org.hibernate.event.def.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:99)
at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.saveWithGeneratedOrRequestedId(DefaultSaveOrUpdateEventListener.java:187)
at org.hibernate.event.def.DefaultSaveEventListener.saveWithGeneratedOrRequestedId(DefaultSaveEventListener.java:33)
at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.entityIsTransient(DefaultSaveOrUpdateEventListener.java:172)
at org.hibernate.event.def.DefaultSaveEventListener.performSaveOrUpdate(DefaultSaveEventListener.java:27)
at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.onSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:70)
at org.hibernate.impl.SessionImpl.fireSave(SessionImpl.java:535)
at org.hibernate.impl.SessionImpl.save(SessionImpl.java:523)
at org.hibernate.impl.SessionImpl.save(SessionImpl.java:519)
at com.xpn.xwiki.store.hibernate.HibernateAttachmentRecycleBinStore$1.doInHibernate(HibernateAttachmentRecycleBinStore.java:87)
at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:1046)
at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1098)
at com.xpn.xwiki.store.hibernate.HibernateAttachmentRecycleBinStore.saveToRecycleBin(HibernateAttachmentRecycleBinStore.java:83)
at com.xpn.xwiki.doc.XWikiDocument.deleteAttachment(XWikiDocument.java:2799)
at com.xpn.xwiki.doc.XWikiDocument.deleteAttachment(XWikiDocument.java:2782)
at com.xpn.xwiki.web.DeleteAttachmentAction.action(DeleteAttachmentAction.java:72)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:215)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:596)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:830)
at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
at com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:135)
at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
at com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:287)
at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:471)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1565)
at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1517)
at org.mortbay.http.HttpServer.service(HttpServer.java:954)
at org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:983)
at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)
at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
Again it's an Oracle problem. Any idea if it's because of the shema used or a DBA problem (admin Db team followed instructions from web site to allow all rigts to the xwiki user) ?
Thank you
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
Hello! I need an HQL query that does the following:
Last modified date should be less than 15 days from today
This is what I've tried:
#set($sql = ", BaseObject as obj, $proptype as prop where
obj.className='${ISDclassname}' and obj.id=prop.id.id and
prop.name='${viewby}' and doc.fullName=obj.name and
doc.fullName!='${ISDclasstemplate}' and ($xwiki.getDate() -
doc.contentUpdateDate) < 15 order by prop.value")
But I'm getting an error on the and ($xwiki.getDate() -
doc.contentUpdateDate) < 15 statement. What should I write instead?
Mary Ellen Coleman
hi all
i just accidently remove my default skin of my www.jug-asia.org, and i
still cannot recover to default skin, anyone can help
and i still cannot change the logo, anyone can help?
i
--
--
Frans Thamura
Meruvian
One Stop Java and Enterprise OSS Provider
Mobile: +62 855 7888 699
Blog & Profile: http://frans.thamura.info
Training JENI, Medallion (Alfresco, Liferay dan Compiere).. buruan...
URL: http://www.meruvian.com
Promo: Beli Zmanda Backup di Meruvian, 10% discount dari pricelist..
Buruan sekarang!!!
Hi,
Guillaume (Lerouge) has done incredible work to transform all hardcoded
strings in XWiki Enterprise to translations strings.
We now have 620 translations strings more !!!!
So we need all the help we can to get these translated before 1.8 final.
I think we can achieve the following languages:
French: 622 translations to do
German: 629 translations to do
Romanian: 1516 translations to do
French and German were complete before we added the 620 more
translations, and Romanian we HAVE to be able to do it with the number
of romanians in the team !
Guillaume will coordinate the French translation. We need a volunteer
from the Romanian team to coordinate the Ro translation.
Let me know if there are volunteers to coordinate the translations
effort in Geman or other languages before the final 1.8 release.
Ludovic
--
Ludovic Dubost
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost
I'm using the xwiki snippet code to delete spaces. I've had success
with a few of them, but I've run into a problem.
When trying to delete on particular space, I get the following error:
Error number 4001 in 4: Error while parsing velocity page
Rocks.deletespaces Wrapped Exception: Failed to evaluate content with
id deletespaces
Error number 4001 in 4: Error while parsing velocity page
Rocks.deletespaces
Wrapped Exception: Failed to evaluate content with id deletespaces
com.xpn.xwiki.XWikiException: Error number 4001 in 4: Error while
parsing velocity page Rocks.deletespaces
Wrapped Exception: Failed to evaluate content with id deletespaces
at
com
.xpn
.xwiki
.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:113)
at
com
.xpn
.xwiki.render.XWikiVelocityRenderer.render(XWikiVelocityRenderer.java:
84)
at
com
.xpn
.xwiki
.render
.DefaultXWikiRenderingEngine
.renderText(DefaultXWikiRenderingEngine.java:272)
at
com
.xpn
.xwiki
.render
.DefaultXWikiRenderingEngine
.renderText(DefaultXWikiRenderingEngine.java:202)
at
com
.xpn
.xwiki
.render
.DefaultXWikiRenderingEngine
.renderText(DefaultXWikiRenderingEngine.java:170)
at
com
.xpn
.xwiki
.render
.DefaultXWikiRenderingEngine
.renderDocument(DefaultXWikiRenderingEngine.java:159)
at
com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:
438)
at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:371)
at sun.reflect.GeneratedMethodAccessor224.invoke(Unknown Source)
at
sun
.reflect
.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.velocity.util.introspection.UberspectImpl
$VelMethodImpl.invoke(UberspectImpl.java:295)
at
org
.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:
245)
at
org
.apache
.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:
203)
at
org
.apache
.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:294)
at
org
.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:
318)
at
org
.xwiki
.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:178)
at
org
.xwiki
.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:143)
at
com
.xpn
.xwiki
.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:107)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1599)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:619)
at sun.reflect.GeneratedMethodAccessor144.invoke(Unknown Source)
at
sun
.reflect
.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.velocity.util.introspection.UberspectImpl
$VelMethodImpl.invoke(UberspectImpl.java:295)
at
org
.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:
245)
at
org
.apache
.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:
203)
at
org
.apache
.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:294)
at
org
.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:
318)
at
org
.apache
.velocity
.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:194)
at
org
.apache
.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:170)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:
74)
at
org
.apache
.velocity
.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:88)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:
74)
at
org
.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:
318)
at
org
.apache
.velocity
.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:107)
at
org
.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:
318)
at
org
.xwiki
.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:178)
at
org
.xwiki
.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:143)
at
com
.xpn
.xwiki
.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:107)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1599)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:124)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:226)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
at
org
.apache
.struts
.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at
org
.apache.struts.action.RequestProcessor.process(RequestProcessor.java:
236)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:
1196)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at
org
.apache
.catalina
.core
.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:
290)
at
org
.apache
.catalina
.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
com
.xpn
.xwiki
.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:
94)
at
org
.apache
.catalina
.core
.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:
235)
at
org
.apache
.catalina
.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
com
.xpn
.xwiki
.web
.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:
287)
at
org
.apache
.catalina
.core
.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:
235)
at
org
.apache
.catalina
.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
com
.xpn
.xwiki
.web
.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:
112)
at
org
.apache
.catalina
.core
.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:
235)
at
org
.apache
.catalina
.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org
.apache
.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:
233)
at
org
.apache
.catalina.core.StandardContextValve.invoke(StandardContextValve.java:
191)
at
org
.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:
128)
at
org
.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:
102)
at
org
.apache
.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:
286)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:
190)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767)
at
org
.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:
697)
at org.apache.jk.common.ChannelSocket
$SocketConnection.runIt(ChannelSocket.java:889)
at org.apache.tomcat.util.threads.ThreadPool
$ControlRunnable.run(ThreadPool.java:690)
at java.lang.Thread.run(Thread.java:595)
Wrapped Exception:
org.apache.velocity.exception.MethodInvocationException: Invocation of
method 'delete' in class com.xpn.xwiki.api.Document threw exception
java.lang.OutOfMemoryError: Java heap space @ Rocks.deletespaces6,71?
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
org
.apache
.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:
294) at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:
74) at
org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:448)
at
org
.apache
.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:
170) at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:
74) at
org
.apache
.velocity
.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:88) at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:
74) at
org
.apache
.velocity
.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:88) at
org
.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:
318) at
org
.xwiki
.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:
178) at
org
.xwiki
.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:
143) at
com
.xpn
.xwiki
.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:107)
at
com
.xpn
.xwiki.render.XWikiVelocityRenderer.render(XWikiVelocityRenderer.java:
84) at
com
.xpn
.xwiki
.render
.DefaultXWikiRenderingEngine
.renderText(DefaultXWikiRenderingEngine.java:272) at
com
.xpn
.xwiki
.render
.DefaultXWikiRenderingEngine
.renderText(DefaultXWikiRenderingEngine.java:202) at
com
.xpn
.xwiki
.render
.DefaultXWikiRenderingEngine
.renderText(DefaultXWikiRenderingEngine.java:170) at
com
.xpn
.xwiki
.render
.DefaultXWikiRenderingEngine
.renderDocument(DefaultXWikiRenderingEngine.java:159) at
com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:
438) at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:
371) at sun.reflect.GeneratedMethodAccessor224.invoke(Unknown Source)
at
sun
.reflect
.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
25) at java.lang.reflect.Method.invoke(Method.java:585) at
org.apache.velocity.util.introspection.UberspectImpl
$VelMethodImpl.invoke(UberspectImpl.java:295) at
org
.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:
245) at
org
.apache
.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:
203) at
org
.apache
.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:
294) at
org
.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:
318) at
org
.xwiki
.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:
178) at
org
.xwiki
.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:
143) at
com
.xpn
.xwiki
.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:107)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1599) at
com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:619) at
sun.reflect.GeneratedMethodAccessor144.invoke(Unknown Source) at
sun
.reflect
.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
25) at java.lang.reflect.Method.invoke(Method.java:585) at
org.apache.velocity.util.introspection.UberspectImpl
$VelMethodImpl.invoke(UberspectImpl.java:295) at
org
.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:
245) at
org
.apache
.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:
203) at
org
.apache
.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:
294) at
org
.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:
318) at
org
.apache
.velocity
.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:194)
at
org
.apache
.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:
170) at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:
74) at
org
.apache
.velocity
.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:88) at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:
74) at
org
.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:
318) at
org
.apache
.velocity
.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:107) at
org
.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:
318) at
org
.xwiki
.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:
178) at
org
.xwiki
.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:
143) at
com
.xpn
.xwiki
.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:107)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1599) at com.xpn.xwiki.web.Utils.parseTemplate
(Utils.java:124) at
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:226) at
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115) at
org
.apache
.struts
.action.RequestProcessor.processActionPerform(RequestProcessor.java:
431) at
org
.apache.struts.action.RequestProcessor.process(RequestProcessor.java:
236) at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:
1196) at
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at
org
.apache
.catalina
.core
.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:
290) at
org
.apache
.catalina
.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
com
.xpn
.xwiki
.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:
94) at
org
.apache
.catalina
.core
.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:
235) at
org
.apache
.catalina
.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
com
.xpn
.xwiki
.web
.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:
287) at
org
.apache
.catalina
.core
.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:
235) at
org
.apache
.catalina
.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
com
.xpn
.xwiki
.web
.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:
112) at
org
.apache
.catalina
.core
.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:
235) at
org
.apache
.catalina
.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org
.apache
.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:
233) at
org
.apache
.catalina.core.StandardContextValve.invoke(StandardContextValve.java:
191) at
org
.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:
128) at
org
.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:
102) at
org
.apache
.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:
109) at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:
286) at
org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767)
at
org
.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:
697) at org.apache.jk.common.ChannelSocket
$SocketConnection.runIt(ChannelSocket.java:889) at
org.apache.tomcat.util.threads.ThreadPool
$ControlRunnable.run(ThreadPool.java:690) at
java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.OutOfMemoryError: Java heap space
Any ideas?
Sam
Hi guys,
Anybody have an idea about the problem described below?
I can't seem to be able to solve it.
Thanks a lot for your help.
Christian
________________________________
De : Christian Dionne
Envoyé : 3 mars 2009 15:06
À : users(a)xwiki.org
Objet : Problem with links in XWiki
Hi everybody,
We are using XWiki Enterprise and we are getting a strange problem with one specific user.
When this user accesses a page that contains links, edits this page and then saves it, all the links are modified and become invalid.
Let's give me an example:
- I have a page that contains a link to another page. The link path is purely simple as: [Burlington>Burlington]
- After he saves, the link will become: [Burlington>../City/Burlington]
City in this example would be the name of the space where this page is located. This creates a problem because the link becomes invalid.
Strangely enough, if another user comes in and re-edit this page and re-save the page, it will correct the links.
I tried to delete this specific user, the page and the space without success.
What could be creating this problem and how can I fix it?
Thanks in advance for your help.
Christian Dionne
Devez-vous vraiment imprimer ce courriel? Pensons à l'environnement! Do you really need to print this email? Help preserve our environment!
L'information apparaissant dans ce message électronique et dans les documents qui y sont joints est de nature confidentielle ou privilégiée. Si ce message vous est parvenu par erreur et que vous n'en êtes pas le destinataire visé, vous êtes par les présentes avisés que toute utilisation, copie ou distribution de ce message est strictement interdite. Vous êtes donc prié d'en informer immédiatement l'expéditeur et de détruire ce message, ainsi que les documents qui y sont joints, le cas échéant.
The information in this message, including in all attachments, is confidential or privileged. In the event you have received this message in error and are not the intended recipient, you are hereby advised that any use, copying or reproduction of this document is strictly forbidden. Please notify immediately the sender of this error and destroy this message, including its attachments, as the case may be.
__________________________________________________________
Hello Sasha
Tahnk you for your reply. The -Xmx has been raised up to 512Mo and now it's ok. I have the same Oracle error message than other attached files i want to delete ...
Christophe Périnaud
-----Message d'origine-----
De : users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] De la part de Sascha Berkessel
Envoyé : vendredi 6 mars 2009 13:53
À : XWiki Users
Objet : Re: [xwiki-users] Bug : Out of memory when deleting a 8mo attachedfile
Hey Christophe,
Hey everybody,
This problem looks like the same problem that may occur with the import
of large files into XWiki. Try to allocate more memory to the JVM.
I had a similar problem yesterday (using XWiki in a Tomcat environment),
and solved it that way.
HTH,
Sascha
PERINAUD Christophe wrote:
> Hello,
>
> When i try to delete an attached file of 8Mo, i got this exception :
>
> A problem occured while trying to service your request. Please contact the support if this happens again.
>
> Detailed information:
> Error number 11014 in 11: Out Of Memory Exception
> com.xpn.xwiki.XWikiException: Error number 11014 in 11: Out Of Memory Exception
> at com.xpn.xwiki.doc.XWikiDocument.deleteAttachment(XWikiDocument.java:2804)
> at com.xpn.xwiki.doc.XWikiDocument.deleteAttachment(XWikiDocument.java:2782)
> at com.xpn.xwiki.web.DeleteAttachmentAction.action(DeleteAttachmentAction.java:72)
> at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:215)
> at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
> at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
> at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
> at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
> at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:596)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
> at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
> at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:830)
> at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
> at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
> at com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:135)
> at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
> at com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:287)
> at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
> at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
> at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
> at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:471)
> at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
> at org.mortbay.http.HttpContext.handle(HttpContext.java:1565)
> at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633)
> at org.mortbay.http.HttpContext.handle(HttpContext.java:1517)
> at org.mortbay.http.HttpServer.service(HttpServer.java:954)
> at org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
> at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:983)
> at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
> at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)
> at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
> at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
>
> Do i have to change a parameter somewhere (launch of jetty ?) to disable this problem ?
>
> Thank you
>
> 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
_______________________________________________
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 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
Hello,
When i try to delete an attached file of 8Mo, i got this exception :
A problem occured while trying to service your request. Please contact the support if this happens again.
Detailed information:
Error number 11014 in 11: Out Of Memory Exception
com.xpn.xwiki.XWikiException: Error number 11014 in 11: Out Of Memory Exception
at com.xpn.xwiki.doc.XWikiDocument.deleteAttachment(XWikiDocument.java:2804)
at com.xpn.xwiki.doc.XWikiDocument.deleteAttachment(XWikiDocument.java:2782)
at com.xpn.xwiki.web.DeleteAttachmentAction.action(DeleteAttachmentAction.java:72)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:215)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:596)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:830)
at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
at com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:135)
at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
at com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:287)
at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:471)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1565)
at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1517)
at org.mortbay.http.HttpServer.service(HttpServer.java:954)
at org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:983)
at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)
at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
Do i have to change a parameter somewhere (launch of jetty ?) to disable this problem ?
Thank you
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
Hello,
The statistics are activated in the xwiki.cfg file. When i go in the Stats space (in a virtual wiki) or not i have some data like "Most viewes pages", "Most active contributors" but some got me a Velocity parsing error and generates an uncatchs java exception in JodaTimePluginApi :
Error number 4001 in 4: Error while parsing velocity page Stats.WebHome
Wrapped Exception: Failed to evaluate content with id Web Home
com.xpn.xwiki.XWikiException: Error number 4001 in 4: Error while parsing velocity page Stats.WebHome
Wrapped Exception: Failed to evaluate content with id Web Home
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:114)
at com.xpn.xwiki.render.XWikiVelocityRenderer.render(XWikiVelocityRenderer.java:85)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:272)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:202)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:170)
at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:493)
at com.xpn.xwiki.objects.classes.TextAreaClass.displayView(TextAreaClass.java:168)
at com.xpn.xwiki.doc.XWikiDocument.display(XWikiDocument.java:1536)
at com.xpn.xwiki.doc.XWikiDocument.display(XWikiDocument.java:1518)
at com.xpn.xwiki.api.Document.display(Document.java:939)
at sun.reflect.GeneratedMethodAccessor172.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:295)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:245)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:203)
at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:294)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:107)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:88)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:194)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:170)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:88)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74)
at org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:448)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:170)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74)
at org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:448)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:170)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:194)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:170)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:88)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:178)
at org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:143)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:108)
at com.xpn.xwiki.render.XWikiVelocityRenderer.render(XWikiVelocityRenderer.java:85)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:272)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:202)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:170)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderDocument(DefaultXWikiRenderingEngine.java:159)
at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:470)
at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:365)
at sun.reflect.GeneratedMethodAccessor268.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:295)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:245)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:203)
at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:294)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:178)
at org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:143)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:108)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1612)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:655)
at sun.reflect.GeneratedMethodAccessor123.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:295)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:245)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:203)
at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:294)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:194)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:170)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:88)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:107)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:178)
at org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:143)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:108)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1612)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:124)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:226)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:596)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:830)
at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
at com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:135)
at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
at com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:287)
at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:471)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1565)
at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1517)
at org.mortbay.http.HttpServer.service(HttpServer.java:954)
at org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:983)
at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)
at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
Wrapped Exception:
org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getDateTime' in class com.xpn.xwiki.plugin.jodatime.JodaTimePluginApi threw exception java.lang.NullPointerException @ Stats.WebHome11,34?
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:286)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:203)
at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:419)
at org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:73)
at org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:125)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:88)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:178)
at org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:143)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:108)
at com.xpn.xwiki.render.XWikiVelocityRenderer.render(XWikiVelocityRenderer.java:85)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:272)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:202)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:170)
at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:493)
at com.xpn.xwiki.objects.classes.TextAreaClass.displayView(TextAreaClass.java:168)
at com.xpn.xwiki.doc.XWikiDocument.display(XWikiDocument.java:1536)
at com.xpn.xwiki.doc.XWikiDocument.display(XWikiDocument.java:1518)
at com.xpn.xwiki.api.Document.display(Document.java:939)
at sun.reflect.GeneratedMethodAccessor172.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:295)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:245)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:203)
at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:294)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:107)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:88)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:194)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:170)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:88)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74)
at org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:448)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:170)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74)
at org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:448)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:170)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:194)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:170)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:88)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:178)
at org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:143)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:108)
at com.xpn.xwiki.render.XWikiVelocityRenderer.render(XWikiVelocityRenderer.java:85)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:272)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:202)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:170)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderDocument(DefaultXWikiRenderingEngine.java:159)
at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:470)
at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:365)
at sun.reflect.GeneratedMethodAccessor268.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:295)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:245)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:203)
at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:294)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:178)
at org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:143)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:108)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1612)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:655)
at sun.reflect.GeneratedMethodAccessor123.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:295)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:245)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:203)
at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:294)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:194)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:170)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:88)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:107)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:178)
at org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:143)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:108)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1612)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:124)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:226)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:596)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:830)
at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
at com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:135)
at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
at com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:287)
at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:471)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1565)
at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1517)
at org.mortbay.http.HttpServer.service(HttpServer.java:954)
at org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:983)
at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)
at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
Caused by: java.lang.NullPointerException
at com.xpn.xwiki.plugin.jodatime.JodaTimePluginApi.getDateTime(JodaTimePluginApi.java:67)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:295)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:245)
... 122 more
Is there any patch for that ?
Also if i go on the activity statistics page i have 4 times the same error (i guess one time per graphic)
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
Hello,
When i try to delete a file attached to my virtual wiki i have this hibernate error message :
A problem occured while trying to service your request. Please contact the support if this happens again.
Detailed information:
Error number 0 in 3: Exception while hibernate execute
Wrapped Exception: could not get next sequence value
com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute
Wrapped Exception: could not get next sequence value
at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:1052)
at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1098)
at com.xpn.xwiki.store.hibernate.HibernateAttachmentRecycleBinStore.saveToRecycleBin(HibernateAttachmentRecycleBinStore.java:83)
at com.xpn.xwiki.doc.XWikiDocument.deleteAttachment(XWikiDocument.java:2799)
at com.xpn.xwiki.doc.XWikiDocument.deleteAttachment(XWikiDocument.java:2782)
at com.xpn.xwiki.web.DeleteAttachmentAction.action(DeleteAttachmentAction.java:72)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:215)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:596)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:830)
at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
at com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:135)
at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
at com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:287)
at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:471)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1565)
at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1517)
at org.mortbay.http.HttpServer.service(HttpServer.java:954)
at org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:983)
at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)
at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
Wrapped Exception:
java.sql.SQLException: ORA-02289: sequence does not exist
at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:74)
at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:131)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:204)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:413)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1034)
at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:194)
at oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:791)
at oracle.jdbc.driver.T4CPreparedStatement.executeMaybeDescribe(T4CPreparedStatement.java:866)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1186)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3387)
at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3431)
at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeQuery(OraclePreparedStatementWrapper.java:1203)
at org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:92)
at org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:92)
at org.hibernate.id.SequenceGenerator.generate(SequenceGenerator.java:75)
at org.hibernate.event.def.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:99)
at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.saveWithGeneratedOrRequestedId(DefaultSaveOrUpdateEventListener.java:187)
at org.hibernate.event.def.DefaultSaveEventListener.saveWithGeneratedOrRequestedId(DefaultSaveEventListener.java:33)
at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.entityIsTransient(DefaultSaveOrUpdateEventListener.java:172)
at org.hibernate.event.def.DefaultSaveEventListener.performSaveOrUpdate(DefaultSaveEventListener.java:27)
at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.onSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:70)
at org.hibernate.impl.SessionImpl.fireSave(SessionImpl.java:535)
at org.hibernate.impl.SessionImpl.save(SessionImpl.java:523)
at org.hibernate.impl.SessionImpl.save(SessionImpl.java:519)
at com.xpn.xwiki.store.hibernate.HibernateAttachmentRecycleBinStore$1.doInHibernate(HibernateAttachmentRecycleBinStore.java:87)
at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:1046)
at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1098)
at com.xpn.xwiki.store.hibernate.HibernateAttachmentRecycleBinStore.saveToRecycleBin(HibernateAttachmentRecycleBinStore.java:83)
at com.xpn.xwiki.doc.XWikiDocument.deleteAttachment(XWikiDocument.java:2799)
at com.xpn.xwiki.doc.XWikiDocument.deleteAttachment(XWikiDocument.java:2782)
at com.xpn.xwiki.web.DeleteAttachmentAction.action(DeleteAttachmentAction.java:72)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:215)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:596)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:830)
at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
at com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:135)
at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
at com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:287)
at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:471)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1565)
at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1517)
at org.mortbay.http.HttpServer.service(HttpServer.java:954)
at org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:983)
at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)
at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
We use an Oracle database and few actions lead (i will send emails to the list) to an exception like this one
Any one had this problem ?
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
Hello,
When i restore a backup (XAR file) my presentation parameters are restored in the Wiki but are not applied.
For example the copyright message is empty in the backup, is empty in the new wiki when i go to the presentation parameters page (after the restore) but the old message value is still displayed in the footer
I have to change the value, apply it and switch it back to empty
Same problem with SMTP server, admin email etc.
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
Virtual Wiki is activated
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
Hi,
sometime ago the old Wysiwyg (1.0) started to create wrong heading syntax.
e.g.
<h2>Heading 2</h2>
instead of
1.1 Heading 2
I thought i started a thread for that but i can't find it so ... some
problem related to that are, stylesheets not working, toc-macro not working
...
I thought that would stop beeing a problem with the change to the new
Wysiwyg (2.0) in fakt it is when you create pages in the new syntax but i
just found that when you create a page in the old syntax and change it zu
2.0 the conversion does this:
{{html wiki="true"}}<h2>Heading 2</h2>{{/html}}
That on one hand mayby correct handling of such conversions but since the
syntax is not intended to be that way i think it's not so good.
The conversion of "1.1 Heading 2" works fine by the way.
hel.
-----
hel.
hel(a)hel.at
--
View this message in context: http://n2.nabble.com/Syntax-problem-1.0--%3E-2.0-tp2430693p2430693.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello,
In my organization we are debating between XWiki and Sharepoint. There is a functionality that makes sharepoint different from many alternatives, and it is to create forms in an easy way. I've been searching the documentation of xwiki, and even though I found that there are forms, I hadn't found a way of making them "in a simple way", I mean, with a form to create the forms. Then, displaying the structured data and being able to copy paste to the office suite.
So here comes the question, is there any easy way to create a formular?
I mean that if there isn't, if someone knowing the technology could do it I would just be awesome.
thanks
--
Francisco Hernández Cuchí
**********************************************************************************************
IMPORTANTE: El contenido de este correo y ficheros adjuntos es confidencial y está dirigido únicamente
para el destinatario/s.
Si Ud recibe este correo por error, por favor póngase en contacto con su administrador de correo o con el
emisor immediatamente y no difunda su contenido a nadie ni haga copias.
*** Este correo ha sido escaneado de virus y contenido malicioso ***
**********************************************************************************************
I have installed the new blog application but my What's new page
(Main/Dashboard) doesn't have any of my blog articles. The code says
<div id="webhomeblogdisplay" style="float:left; width: 49.9%;">
<div style="padding-right:20px;">
<h3>Blog <a href="$xwiki.getURL("Main.BlogRss", "view",
"xpage=rdf")" style=""><img
src="$xwiki.getSkinFile("icons/black-rss.png")" alt="rss icon"/></a></h3>
#set($nbstart = $request.nbstart)
#set($category = "Default")
#set($nbitems = "3")
#includeTopic("Blog.Topics")
</div>
But that doesn't seem to work. Something else I'm supposed to use
besides Blog.Topics?
Thanks,
-Dave
--
Dave Mangot
Terracotta Inc.
650 Townsend St. Suite 325
San Francisco, CA 94103 USA
+1 415 738 4059
dmangot(a)terracottatech.com
This e-mail incorporates Terracotta's confidentiality policy, which is
online at http://www.terracottatech.com/emailconfidentiality.shtml
The XWiki development team is pleased to announce the release of XWiki
Enterprise 1.8 RC 2.
Go grab it at http://www.xwiki.org/xwiki/bin/view/Main/Download
This is the second Release Candidate for the 1.8 version.
Changes from 1.8RC1:
Main changes:
* new "useravatar" macro for 2.0 syntax
* Improvements on 1.0->2.0 syntaxes convertion
* Add ability to configure xwiki to use the XWiki Syntax 2.0 as
default when creating new pages
* Bugs fixed in XWiki 2.0 syntax rendering.
* Upgrade to groovy 1.6 final.
* Update french translations
* Update german translations
* Update spanish translation
Important bug fixes:
* XWIKI-3228 - Error while saving xwiki 2.0 documents containing anchor links
* XWIKI-3242 - Entering an empty link makes the rendering blow up
* XWIKI-3252 - Cannot view documents in other languages than the
default when in multilingual mode and when using XWiki Syntax 2.0
For more information see the Release notes at:
http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise18RC2
Note that general goals for XWiki Enterprise 1.8 are:
* Office Importer
* New Blog
* REST API
* Finish new rendering/syntax
* Finish new WYSIWYG
* French XE
* MediaWiki import
Thanks
-The XWiki dev team
Hello all,
I'm trying to configure Kerberos SSO using AppServerTrustedAuthServiceImpl.
I'm using latest xwiki, 1.8 rc 1 and to the contrary of what Admin Guide for
Authentication states, this class is included in xwiki-core module.
Nevertheless, I've configured application server well and set
AppServerTrustedAuthServiceImpl to be used. Problem is that user
authorization checks fail.
In debug log I saw that user creation was started but auth_createuser
context param was empty/null and thus not equal to string "empty" which
createUser of XWikiAuthServiceImpl expects, so user wouldn't actually get
created and thus when XWikiRightServiceImpl. To set auth_createuser
parameter to "empty" I've adjusted xwiki.cfg by adding
xwiki.authentication.createuser=empty. If this is what really has to be
done, it would be good that Admin Guide gets updated with this information.
After setting createuser to "empty", debug log changed but just a little bit
(see attached log archive). Now it seems that user is being created but it
still has no access rights. Does someone have any ideas how to configure
this to work? Thanks in advance!
Regards,
Stevo.
Hello,
I've installed the ExtendedTodoList application in xwiki enterprise
(1.7.1/tomcat6/postgresql).
I would like to manage several, isolated todo lists in this wiki and I'm
having touble figuring if it is designed to do it (and eventually how to do
it).
the todo list views seems to aggregate all todos, even if they are in
multiples spaces. What I was expecting was the behavior of event calendar :
I was able to have multiples calendar by adding the calendar sheet to
différents pages.
I am missing something obvious with the todo application ?
Sébastien
--
View this message in context: http://n2.nabble.com/Multiples-TODO-lists-tp2425071p2425071.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hey XWiki Users :)
I seem to be having a little trouble in 1.7.1 changing the creator. In my
wiki, I have a tool that makes copies of several "base" documents so that a
user can start off with a template of what they want, most often the main
change is to add some text, or even just to have the relevant document
attached to a specific project.
Problem is, the code that worked for this in 1.4 doesn't work in 1.7.1 - is
there a new way to do this?
Currently I use a groovy script that copies the documents related to the
tool (this works fab); but then I have a script that goes:
copiedDoc.doc.setCreator(context.user);
context.user seems to be coming up correctly.
copiedDoc is correctly assigned to the document.
But the creator doesn't get changed.
--
View this message in context: http://n2.nabble.com/%24doc.doc.setCreator%28%22XWiki.username%22%29-not-wo…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello All,
I've been translating a little, and I found that there are shortcuts to be translated. I wanted to validate with no change, but they are still in the list of empty translations.
Why do you want the shortcuts to be translated?
Why Validate with no change do not work (or maybe I didn't understood the term)?
The language is the Spanish one.
Regards,
Francisco
**********************************************************************************************
IMPORTANTE: El contenido de este correo y ficheros adjuntos es confidencial y está dirigido únicamente
para el destinatario/s.
Si Ud recibe este correo por error, por favor póngase en contacto con su administrador de correo o con el
emisor immediatamente y no difunda su contenido a nadie ni haga copias.
*** Este correo ha sido escaneado de virus y contenido malicioso ***
**********************************************************************************************
Hello
I've been working with XWiki enterprise 1.8-rc-1 and I have an improved
version of the Spanish translation than the one that comes with the
distribution.
Till Friday my connection to Internet must be with a GPRS modem with a
very deficient connection, I've tried to use the translation application
but with my actual connection is a pain. I have the
ApplicationResources_es.properties, is this file of interest for
anyone?, is there anyone working on the Spanish translation?
Thanks.
JJ
Hi everybody,
We are using XWiki Enterprise and we are getting a strange problem with
one specific user.
When this user accesses a page that contains links, edits this page and
then saves it, all the links are modified and become invalid.
Let's give me an example:
- I have a page that contains a link to another page. The link
path is purely simple as: [Burlington>Burlington]
- After he saves, the link will become:
[Burlington>../City/Burlington]
City in this example would be the name of the space where this page is
located. This creates a problem because the link becomes invalid.
Strangely enough, if another user comes in and re-edit this page and
re-save the page, it will correct the links.
I tried to delete this specific user, the page and the space without
success.
What could be creating this problem and how can I fix it?
Thanks in advance for your help.
Christian Dionne
Devez-vous vraiment imprimer ce courriel? Pensons a l'environnement! Do you really need to print this email? Help preserve our environment!
L'information apparaissant dans ce message electronique et dans les documents qui y sont joints est de nature confidentielle ou privilegiee. Si ce message vous est parvenu par erreur et que vous n'en etes pas le destinataire vise, vous etes par les presentes avises que toute utilisation, copie ou distribution de ce message est strictement interdite. Vous etes donc prie d'en informer immediatement l'expediteur et de detruire ce message, ainsi que les documents qui y sont joints, le cas echeant.
The information in this message, including in all attachments, is confidential or privileged. In the event you have received this message in error and are not the intended recipient, you are hereby advised that any use, copying or reproduction of this document is strictly forbidden. Please notify immediately the sender of this error and destroy this message, including its attachments, as the case may be.
__________________________________________________________
Hello,
XWiki.org has to meet your expectations. We're looking forward listening
what you have to say about our website and how we could improve it. We'd
be dazzled if you agreed to take the time to answer the questions listed
below.
A summary of the answers will be posted on XWiki.org as soon as they
have been processed.
Thanks for your time!
Regards.
Emilie Ogez
Marketing & Communication Manager
I'm having an issue where we can't delete users from our Xwiki. There
are a group of users who must have had a document or table related to
them deleted from some reason. When we go to delete a user, it looks
like it's been deleted, but when we go back and refresh the user list,
the user pops up again in the userlist.
We're trying to delete these users in the database directly, but we
would like to know what tables/fields are used and what their
relationships are. If we can find these out, it would help out
immensely.
Sam
Hello everybody. I'm trying to display a rss feed from a search result, to
make this I use the flickr macro.
When I run my code, it throws me the following error:
rss: Error processing
http://localhost:8081/ExtranetCanada/bin/view/Main/LuceneSearch?xpage=rdf&t…:
Invalid XML: Error on line 8: Content is not allowed in prolog.
This is how I`m using the flickr macro:
#template("macros.vm")
#flickr("http://localhost:8081/ExtranetCanada/bin/view/Main/LuceneSearch?xpage=rdf&t…")
Can anybody help me?
Thanks!!
Mariano Esteves
División Abengoa – Proyectos
.
TELVENT
Global Services
Uruguay,1283
11200 Montevideo (Uruguay) Phone : +598 2 9022120
www.telvent.com Email: mesteves(a)telvent.com
. P Proteja el medioambiente. No imprima este documento si no es
necesario.
Protect the environment. Don’t print this document unless it’s necessary.
Hi xwiki-users!
Our xwiki is in version 0.9.543 and we need a working upgrade path. But it
seems that all our effort end up in a non operational state.
Currently i try to get working the stable XWiki Enterprise 1.7.2. After
installing, importing the xar, copying the database and starting tomcat, it
does a lot of conversions. All I get afterwards is an exception report:
root cause
com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not initialize main
XWiki context
Wrapped Exception: Error number 3201 in 3: Exception while saving document
XWiki.XWikiPreferences
Wrapped Exception: java.lang.String
com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:326)
[...]
In the logfile a probably wrong sql statement can be found:
insert into xwikipreferences (XWP_LANGUAGE, XWP_DEFAULT_LANGUAGE,
XWP_MULTI_LINGUAL, XWP_AUTHENTICATE_EDIT, XWP_AUTHENTICATE_VIEW,
XWP_AUTH_ACTIVE_CHECK, XWP_BACKLINKS, XWP_SKIN, XWP_STYLESHEET,
XWP_STYLESHEETS, XWP_EDITOR, XWP_EDITBOX_WIDTH, XWP_EDITBOX_HEIGHT,
XWP_WEBCOPYRIGHT, XWP_TITLE, XWP_VERSION, XWP_MENU, XWP_META,
XWP_USE_EMAIL_VERIFICATION, XWP_SMTP_SERVER, XWP_ADMIN_EMAIL,
XWP_VALIDATION_EMAIL_CONTENT, XWP_CONFIRMATION_EMAIL_CONTENT,
XWP_INVITATION_EMAIL_CONTENT, XWP_MACROS_LANGUAGE, XWP_MACROS_VELOCITY,
XWP_MACROS_GROOVY, XWP_MACROS_WIKI2, XWP_MACROS_MAPPING,
XWP_NOTIFICATION_PAGES, XWP_LEFT_PANELS, XWP_RIGHT_PANELS,
XWP_SHOW_LEFT_PANELS, XWP_SHOW_RIGHT_PANELS, XWP_PAGE_WIDTH, XWP_LANGUAGES,
XWP_REGISTRATION_ANONYMOUS, XWP_REGISTRATION_REGISTERED, XWP_EDIT_ANONYMOUS,
XWP_EDIT_REGISTERED, XWP_COMMENT_ANONYMOUS, XWP_COMMENT_REGISTERED,
XWP_DOCUMENT_BUNDLES, XWP_ID) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?,
?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?,
?, ?, ?, ?, ?, ?)
com.xpn.xwiki.XWikiException: Error number 3201 in 3: Exception while saving
document XWiki.XWikiPreferences
Wrapped Exception: java.lang.String
at
com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:590)
at
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:135)
at
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:128)
Can someone give me a helping hand, please?
Stefan
--
View this message in context: http://n2.nabble.com/Upgrade-fails%21-tp2378958p2378958.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi guys,
I want to put my edit menu on the left side instead of the right side
(the menu is also on the left in view mode and i would like to have a
consistent look and feel). I searched on the list archives but I did not
find anything.
So is there an easy way to put the edit menu on the left side of the
page or I will have to do it with the css ?
Best regards
Jean
--
----
Jean Couteau
Code Lutin - http://www.codelutin.com
44 Bd des Pas Enchantés - 44230 St-Sébastien/Loire
Tél : 02 40 50 29 28 - Fax : 09 59 92 29 28
Hello Niels,
Thank you so much for taking out the time to find this info for me. I
do take your advice to heart about the pitfalls of using tooltip on
XWiki. I also visited the website where the tooltips are actually
implemented. Unfortunately, the performance was not satisfactory. I
might have to come up with something else to circumnavigate my problem
at hand.
Once again, thank you so much for your timely response.
> Message: 7
> Date: Sat, 28 Feb 2009 12:40:48 -0800
> From: Niels Mayer <nielsmayer(a)gmail.com>
> Subject: Re: [xwiki-users] Help with "balloon styled" tooltips
> To: XWiki Users <users(a)xwiki.org>
> Message-ID:
> <6fb2fb120902281240w7d1b8c11l76fb221ffd08fda9(a)mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Take a look at:
> http://platform.xwiki.org/xwiki/bin/download/DevGuide/API/xwiki-core-1.8-rc…
>
> java.lang.String
> *addTooltip<http://platform.xwiki.org/xwiki/bin/download/DevGuide/API/xwiki%2Dcore%2D1.…>
> *(java.lang.String html, java.lang.String message)
> Inserts a tooltip using toolTip.js java.lang.String
> *addTooltip<http://platform.xwiki.org/xwiki/bin/download/DevGuide/API/xwiki%2Dcore%2D1.…>
> *(java.lang.String html, java.lang.String message, java.lang.String params)
> Inserts a tooltip using toolTip.js java.lang.String *
> addTooltipJS<http://platform.xwiki.org/xwiki/bin/download/DevGuide/API/xwiki%2Dcore%2D1.…>
> *()
> Inserts the tooltip Javascript
> Also, see http://curriki.org for an example of a site using tooltips, e.g.
> note the popups over the document names in
> http://www.curriki.org/xwiki/bin/view/Search/#o%3As%3Ds%253Aresource%5Ef%3D…
>
> Warning -- there is a potentially significant performance penalty for adding
> tooltips. For one, even if you don't need to display any tooltip text (or
> it's from a long document and might never be displayed as it's scrolled off
> screen), it's all loaded into the browser.
>
> Niels
> http://nielsmayer.com
>
>
>
> On Sat, Feb 28, 2009 at 8:29 AM, Dilipkumar Jadhav <
> jadhav.dilipkumar(a)gmail.com> wrote:
>
>> Hello friends,
>> I am here to request help on embedding a balloon styled tooltip in our
>> XWiki instance.
>> I have had a fair amount of success in embedding various third party
>> javascript libraries, however, the ones that depend on jquery do not
>> seem to work through XWiki.
>> I did go through an article which guides us through creating tooltips
>> and custom validations in forms. Our requirement, however, is to have
>> a balloon styled tooltip that can hold images, text (generally info)
>> about the link that the user is about to visit if s/he were to click
>> on it. Our users are having a hard time navigating the pages since
>> they move from page to page assuming that the next page that they are
>> about to visit is the one where they will find their answers.
>> It is also not possible to load the current page with too much info
>> about the links that they are about to visit (as this will lead to
>> cluttered pages).
>> Could someone be kind enough to guide me through embedding a tooltip
>> that "pops-up" when the user hovers the mouse over a link. Or maybe
>> there is plugin for it already which i might have missed.
>> Thank you for your time and interest friends.
>> _______________________________________________
>> users mailing list
>> users(a)xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/users
>>
>
>
> ------------------------------
>
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
>
> End of users Digest, Vol 20, Issue 1
> ************************************
>
Hello friends,
I am here to request help on embedding a balloon styled tooltip in our
XWiki instance.
I have had a fair amount of success in embedding various third party
javascript libraries, however, the ones that depend on jquery do not
seem to work through XWiki.
I did go through an article which guides us through creating tooltips
and custom validations in forms. Our requirement, however, is to have
a balloon styled tooltip that can hold images, text (generally info)
about the link that the user is about to visit if s/he were to click
on it. Our users are having a hard time navigating the pages since
they move from page to page assuming that the next page that they are
about to visit is the one where they will find their answers.
It is also not possible to load the current page with too much info
about the links that they are about to visit (as this will lead to
cluttered pages).
Could someone be kind enough to guide me through embedding a tooltip
that "pops-up" when the user hovers the mouse over a link. Or maybe
there is plugin for it already which i might have missed.
Thank you for your time and interest friends.
Hello,
I've changed a password in the ldap server, but I cannot login into xwiki with neither the new or the old password, in xwiki version 1.7. Can anyone help?
Thanx
--
Francisco Hernández Cuchí
**********************************************************************************************
IMPORTANTE: El contenido de este correo y ficheros adjuntos es confidencial y está dirigido únicamente
para el destinatario/s.
Si Ud recibe este correo por error, por favor póngase en contacto con su administrador de correo o con el
emisor immediatamente y no difunda su contenido a nadie ni haga copias.
*** Este correo ha sido escaneado de virus y contenido malicioso ***
**********************************************************************************************
Hi,
We would like to include photo's from flickr into the xwiki
What would be the best approach?
The flickr macro's seem a good start, but would like a little more
visual control
For us it is important to be able to also get description and owner of
the photo into the display
Gerritjan
Hi,
Can somebody pls. explain to me how the Attachment list at the bottom of
each page is sorted?
For example, this is the order of attachments on my page:
(Please take notice of the third attachment. I cannot figure out why it is
at that place, because it was posted much later (excludes order by date).
Order by file name could be excluded also if you look at the last three
attachments)
2008-12-0612-00.jpg 1.1
PostedBy: xxx on 19/12/2008 (119kb )
2008-12-0512-00.jpg 1.1
PostedBy: xxx on 19/12/2008 (112kb )
2008-12-2812-00.jpg 1.1
PostedBy: xxx on 12/01/2009 (108kb )
2008-11-3012-00.jpg 1.1
PostedBy: xxx on 19/12/2008 (111kb )
2008-12-0412-00.jpg 1.1
PostedBy: xxx on 19/12/2008 (124kb )
----
The problem is that in a photo album the photos are shown in the very same
(undefined?) order. I need to fix this asap. I've seen in the code that the
document attachments (unsorted?) are taken and processed with a foreach
loop. Can somebody please explain me how I can sort the collection by date
before the loop is entered?
Thank you very much,
Steve ;-)
--
View this message in context: http://n2.nabble.com/Attachment-Order--tp2262602p2262602.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi,
is there a way to point to a particular attachment version per url (f.i. for downloading)? If I add the property ?version=1.1 (which is the very first version) it still gives me the current (last) one.
Hi guys,
I'm doing the following in XWiki. I have 2 classes, let's say A and B
with properties A1..n and B1..n respectively.
Now, I have in my template for documents of class A a database list
field with the ability to select properties B1 from all documents of
class B. When I now change a property B1 in a selected document, then
my field in A stays the same. This probably isn't a bug, but something
like a backlink calculation and change properties accordingly feature
not implemented yet. Do you have a workaround for what I want? Thanx
for any answers.
Cheers
Sebastian
Hi all,I'm trying to enable attachments in the default workspaces install. I
follow the instructions telling me to:
* Go to /xwiki/bin/edit/XWiki/XWikiPreferences?editor=class
* Add a new property called showcomments (or showattachments for turning off
attachments) of type String Class
* Go
to /xwiki/bin/edit/XWiki/XWikiPreferences?editor=object&classname=XWiki.XWikiPreferences and
write no in the showcomments (or showattachments) field
Unfortunately, there is no option for "String Class" in the class editor, only
"String". When I put both showcomments and showattachments in neither seem to
toggle attachments or comments - comments are on, attachments are off.
Anyone working with Workspaces able to get these to work? I'm hoping I'm just
being thick and missing something obvious here.
Thanks,Josh Harrison
--
Josh Harrison
Support Systems Analyst, Sr - Office of Student Computing Resources
Office phone: (520)626-4573
Infrastructure Support Associate - Computer Science LEARN lab
Company asset #423423 was lost while fighting the forces of evil.
Does anyone know how to do this for the toucan skin?
Sam
~~~~~~~~~~~~~~
In fact, I did it in the "Informations Meta HTTP" of the preferences
and it worked.
Thank you for the answers
2007/12/6, Sergiu Dumitriu <sergiu at xwiki.com>:
Sylvain Desbureaux wrote:
Hi, I don't manage to put a favicon for xwiki. Any clues ?
Well, a favicon is usually placed in the root of the URL, like www.myserver.com/favicon.ico
Doing that in a java webapp container usually involves adding that
file not to the xwiki webapp, but to the ROOT webapp. In tomcat, there
is a ROOT directory inside webapps.
Another solution is to put something like this in webapps/xwiki/skins/
albatross/htmlheader.vm:
<link rel="icon" href="$xwiki.getSkinFile("favicon.png")" type="image/
png"/> <link rel="shortcut icon"
href="$xwiki.getSkinFile("favicon.png")" type="image/png"/>
and put a favicon.png (you can change the name, if you want) in
webapps/xwiki/skins/albatross
If you're not using the albatross skin, change the path accordingly.
Sergiu
-------------- next part -------------- An HTML attachment was
scrubbed... URL:
http://lists.xwiki.org/pipermail/users/attachments/20071206/27bb23b8/attach…
Hello,
after upgrading to xWiki v1.7.2 the WatchListMessages sent by xWiki are
faulty. Any ideas how to solve this problem?
Thanks!
Bye,
Jan
Error number 4001 in 4: Error while parsing velocity page
XWiki.WatchListMessage Wrapped Exception: Failed to evaluate content with
id [XWiki.WatchListMessage]
Error number 4001 in 4: Error while parsing velocity page
XWiki.WatchListMessage
Wrapped Exception: Failed to evaluate content with id
[XWiki.WatchListMessage]
com.xpn.xwiki.XWikiException: Error number 4001 in 4: Error while parsing
velocity page XWiki.WatchListMessage
Wrapped Exception: Failed to evaluate content with id
[XWiki.WatchListMessage]
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:114)
at
com.xpn.xwiki.plugin.mailsender.MailSenderPlugin.sendMailFromTemplate(MailSenderPlugin.java:662)
at
com.xpn.xwiki.plugin.watchlist.WatchListJob.sendNotificationMessage(WatchListJob.java:430)
at
com.xpn.xwiki.plugin.watchlist.WatchListJob.execute(WatchListJob.java:181)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
at
org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529)
Wrapped Exception:
org.apache.velocity.exception.MethodInvocationException: Invocation of
method 'getExternalURL' in class com.xpn.xwiki.api.Document threw
exception java.lang.NullPointerException @ XWiki.WatchListMessage[33,138]
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:286)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:203)
at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:294)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74)
at
org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:448)
at
org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:170)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:178)
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:143)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:108)
at
com.xpn.xwiki.plugin.mailsender.MailSenderPlugin.sendMailFromTemplate(MailSenderPlugin.java:662)
at
com.xpn.xwiki.plugin.watchlist.WatchListJob.sendNotificationMessage(WatchListJob.java:430)
at
com.xpn.xwiki.plugin.watchlist.WatchListJob.execute(WatchListJob.java:181)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
at
org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529)
Caused by: java.lang.NullPointerException
at com.xpn.xwiki.XWiki.getServletPath(XWiki.java:4317)
at
com.xpn.xwiki.web.XWikiServletURLFactory.addServletPath(XWikiServletURLFactory.java:208)
at
com.xpn.xwiki.web.XWikiServletURLFactory.createURL(XWikiServletURLFactory.java:178)
at
com.xpn.xwiki.web.XWikiServletURLFactory.createExternalURL(XWikiServletURLFactory.java:273)
at
com.xpn.xwiki.doc.XWikiDocument.getExternalURL(XWikiDocument.java:925)
at
com.xpn.xwiki.api.Document.getExternalURL(Document.java:502)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:295)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:245)
... 14 more
Euler Hermes is the world's premier credit insurer, offering solutions
for the management of trade receivables, from credit insurance and
financing of trade receivables to bonding and guarantees. Euler
Hermes is a subsidiary of AGF and a member of Allianz.
www.eulerhermes.com
-------------------------------------
This e-mail may contain confidential and/or privileged information. If
you are not the intended recipient or have received this e-mail in error,
notify the sender immediately and destroy this e-mail. Any unauthorised
use, copying, disclosure or distribution of the contents of this e-mail
is strictly forbidden and may be unlawful.
Read our full e-mail disclaimer statement and monitoring policy
(http://www.eulerhermes.com/group/en/disclaim/index.html) before
taking any action based on the contents of this e-mail.
Hi xwiki-users,
I've been playing with the new XWiki Syntax 2.0, but there are still some
things possible with the old 1.0 syntax which are impossible in the new 2.0
syntax. One thing that I still cannot figure out is something like the
following:
{{html wiki=true}}
<table id="serverList" class="grid sortable filterable doOddEven">
<tr class="sortHeader">
<th class="selectFilter">Space</th>
<th>Class</th>
<th>Server Name</th>
<th class="unsortable noFilter">Link</th>
</tr>
{{velocity}}
#foreach($serverDocument in $serverDocuments)
<tr>
<td>$serverDocument.Space</td>
<td>$serverDocument.Name</td>
<td>
#foreach($serverObject in $serverDocument.getObjects($serverClass))
* $serverObject.HostName
#end
</td>
<td>[[$serverDocument]]</td>
</tr>
#end
{{/velocity}}
</table>
{{/html}}
This gives me a lot of <br /> tags (the number of $server in $serverList),
and ends up displaying 1 row with the literal string $server.Space,
$server.Class, etc. It works if I use the normal table syntax:
|=Space|=Class|=Server Name|=Link
{{velocity}}
#foreach($serverDocument in $serverDocuments)
|$serverDocument.Space|$serverDocument.Name|???|[[$serverDocument]]
#end
{{/velocity}}
but I'm not sure how I'd iterate over each object associated with the
document in the tag marked '???'.
Also, whenever I have a {{velocity}} tag, I end up with a lot of empty <p>
elements:
* Line 1
{{velocity}}
#set($foo = "bar")
{{/velocity}}
* Line 2
This ends up with a <p> tag between "Line 1" and "Line 2", which seems very
strange when rendered (since there's no content when "viewing").
Just my 2 cents on the new syntax. But other than that, creating macros now
is a breeze (XWiki + Plexus is just purely amazing!), and I think the new
syntax is only inches away from surpassing the old 1.0 syntax :-D Thanks
again for the great work!
Hello,
Yesterday we tried to install a 1.8 RC1 on a serv to test some new
features but we had some blocker issues : no users listed in the admin
page, no groups listed in the admin page, not any document listed in the
WhatsNew etc.
We first thought that it was a JS issue, but a :
#set ($sql = "where 1=1")
#set ($list = $xwiki.searchDocuments($sql))
{pre}
$list
{/pre}
returned an empty list.
Here is the description of the install :
- We used a Debian Lenny 5.0 template (with Tomcat 6.0.18 & Java
1.6.0_12 pre-packaged)
- We downloaded the .war file on
http://maven.xwiki.org/releases/com/xpn/xwiki/products/xwiki-enterprise-web…
- We installed Mysql with the debian package (5.0.51a-24 version)
- We installed & configured the XE in UTF-8
- We used the standard hibernate conf (just added UTF-8 conf)
- We kept the standard xwiki.cfg (+UTF8 elements)
- We imported the xwiki-enterprise-wiki-1.8-rc-1 xar (found on XWiki.org)
- We tested with different mysql-java-connector (current version : 5.0.7)
The install is available here (if you want to check it)
http://testapplis.xwiki.com/
The Whats New page here :
http://testapplis.xwiki.com/xwiki/bin/view/Main/WhatsNew
Have you got any idea of the problem ?
Thanks,
Thomas
On Tue, 2009-02-24 at 12:00 +0100, users-request(a)xwiki.org wrote:
> I didn't check long enough, but I've seen that the guest right is set
> right from the first version. I don't know how does your site works,
> but could it be caused by the fact that a new pattern has the "owner"
> (wrongly) set to XWikiGuest, and you have a script that grants view
> and edit rights to the owner right after the document was created?
I was using the script below. the idea is:
- object should have "owner" and "contributors"
- "owner" and "contributors" have edit rights
- initially, "owner" is set to the document creator
There where a few problems with this. $ownr = $doc.getCreator() would
fail, so I reverted to $ownr = $context.user. also, save() failed, so I
rely on the user saving the document.
---------- code -----------------------
#if ((!$ownr || $ownr == "") && !$doc.getURL.endWith("ClassSheet"))
#set ($ownr = $doc.getCreator())
#if (!$ownr || $ownr == "")
#set ($ownr = $context.user)
#end
$doc.set("Owner",$ownr,$obj)
#end
#if (!$obj.Contributors)
#set ($contributors = "")
#else
#set ($contributors = $obj.Contributors+",")
#end
##if ($context.user == $ownr)
#set($editors = $contributors+$ownr)
#macro(allowEdit $users)
#if($users && $xwiki.checkAccess($doc.getFullName(),"edit"))
#set ($rights = $doc.getObject("XWiki.XWikiRights", true))
#set ($result = $rights.set("levels", "edit"))
#set ($result = $rights.set("users", $users))
#set ($result = $rights.set("allow", 1))
## $doc.save()
#end
#end
#end
---------- /code -----------------------
I think the problem was that either the classsheet had XWikiGuest set as
owner, and that was copied, or that the property was set when an
unauthorised viewer visited the document. I now added:
#if ((!$ownr || $ownr == "" || $ownr == "XWiki.XWikiGuest") && !
$doc.getURL.endWith("ClassSheet"))
but I still think something here is a strange.
> One more thing, is there a reason why Patterns.PatternClassSheet uses
> #includeInContext("scripts.DesObjClassSheet") instead of
> #includeMacros("scripts.DesObjClassSheet")?
I'm not sure, I think I wanted to pass on some global variables, and so
I thought I needed to include the whole page in context rather than the
macros. I've changed this now, we'll see what happens.
thanks!!
Hello,
I have been searching for a compatibility matrix of Xwiki, and I hadn't found if it is compatible with theses infrastructure:
DB: Oracle 10g
AppServer: Oracle Weblogic 9.2
Does anybody know if they are compatible?
Thanks a lot,
Francisco
**********************************************************************************************
IMPORTANTE: El contenido de este correo y ficheros adjuntos es confidencial y está dirigido únicamente
para el destinatario/s.
Si Ud recibe este correo por error, por favor póngase en contacto con su administrador de correo o con el
emisor immediatamente y no difunda su contenido a nadie ni haga copias.
*** Este correo ha sido escaneado de virus y contenido malicioso ***
**********************************************************************************************
> I don't think this is correct since you're not saving the
> modifications... They'll be in the cache when but they go out of the
> cache you'll have lost your changes.
>
> See http://code.xwiki.org/xwiki/bin/view/Snippets/SettingRightsSnippet
>
> -Vincent
Thanks Vincent. I thought I need to save, but then when I do, I get -
Exception while saving document Patterns.ObjectsToTalkWith
Wrapped Exception: Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect): xpn.xwiki.objects.String Property#<?xml version="1.0" encoding="UTF-8"?>
<dead-field></dead-field&
See:
http://patternlanguagenetwork.myxwiki.org/xwiki/bin/view/scripts/fixrights
Hello everybody, maybe this is a stupid question but...
in the release notes of new version 1.8 RC1 i can see "Make it easier to
disable footer information (comments, history, etc)"
Now the question is: How? Maybe it is easier, but it still remains too
difficult for me :confused:
Thank you in advance
--
View this message in context: http://n2.nabble.com/disable-footer-information-tp2377081p2377081.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
>>> This has happened a few times on
> >>> http://patternlanguagenetwork.myxwiki.org/, and I can't explain it.
> >>> I set the access rights to allow view by all, but edit is restricted.
> I'm
> >>> seeing documents rolled back to older versions by XWikiGuest. Example:
> >>>
> >>
> http://patternlanguagenetwork.myxwiki.org/xwiki/bin/view/Patterns/tabletopc…
> >>
> >> On this document the guest has been granted edit rights. Look at the
> >> rights editing for it, and select Users, and you will see that
> >> Unregistered Users has set view, comment and edit.
>
> I still see edit selected... And as a guest I can indeed edit the
> document. Just to make sure we're on the same page, I'm looking at
>
> http://patternlanguagenetwork.myxwiki.org/xwiki/bin/edit/Patterns/tabletopc…
>
This is really puzzling. I don't understand how the guest user has obtained
edit rights on some objects and not on others. Just to be on the safe side,
I ran the script below:
#set ($hql = ", BaseObject as obj where obj.name=doc.fullName and
obj.className='Patterns.PatternClass' and obj.name
<>'Patterns.PatternClassTemplate'")
#set ($items= $xwiki.searchDocuments($hql))
#foreach ($item in $items)
* $item
#set ($itemDoc = $xwiki.getDocument($item))
#set ($rights = $itemDoc.getObject("XWiki.XWikiRights", true))
#set ($result = $rights.set("levels", "edit"))
#set ($result = $rights.set("users", "XWiki.XWikiGuest"))
#set ($result = $rights.set("allow", 0))
#end
___________________________
Yishay Mor, Researcher, London Knowledge Lab
http://www.lkl.ac.uk/people/mor.htmlhttp://www.google.com/calendar/embed?src=yishaym%40gmail.com
+44-20-78378888 x5737
Dear all,
I am trying to render strings using velocity while i am in inline mode,
but every time, i got an input form with my value inside.
How can i get my variable well displayed ?
Here is my piece of code (with different tries):
$context.setDisplayMode("view")
#set($a="${backlogId},${domainId},${topicId},${epicId},${temp}")
$doc.display($a)
$a
<a href ="/xwiki2/bin/view/Project/addActor?usId=${a}">Add an actor</a>
(Note, a is not rendered when using $doc.display($a) and is always
replaced by :
<input size='30' id='XWiki.USClass_0_id' value='1,0,0,1,2' name='XWiki.USClass_0_id' type='text'/> instead of '1,0,0,1,2' )
Thanks in advance for your help
Jean
--
----
Jean Couteau
Code Lutin - http://www.codelutin.com
44 Bd des Pas Enchantés - 44230 St-Sébastien/Loire
Tél : 02 40 50 29 28 - Fax : 09 59 92 29 28
Hello Everybody!
While trying to upgrade xwkiki from version 0.9.543 via "database copy" as
recommended in
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/UpgradeXWiki09Installat…
we got lots of warnings in catalina*.log like this:
WARN rcs.XWikiRCSArchive - isDiff: Archive is inconsistent.
Text and diff field are contradicting. version=1.1
After a while, the result of "http://HOSTNAME:8180/xwiki17/bin/view/Main/"
contains
com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not initialize main
XWiki context
Wrapped Exception: Error number 3201 in 3: Exception while saving document
XWiki.XWikiPreferences
Wrapped Exception: java.lang.String
Full excerpt on this from catalina*.log can be found below. But what does
all this mean?
Can you please give me a hint? Do you need any other (config) info?
Thanks in advance!
Stefan
LOGFILE:
15:09:11,753 WARN http-8180-Processor24 RequestUtils:createActionForm:175
- No FormBeanConfig found under 'view'
com.xpn.xwiki.XWikiException: Error number 3201 in 3: Exception while saving
document XWiki.XWikiPreferences
Wrapped Exception: java.lang.String
at
com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:590)
at
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:135)
at
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:128)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1282)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1244)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1239)
at com.xpn.xwiki.XWiki.getPrefsClass(XWiki.java:2916)
at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:748)
at com.xpn.xwiki.XWiki.<init>(XWiki.java:668)
at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:316)
at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:387)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:135)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at com.xpn.xwiki.plugin.webdav.DavFilter.doFilter(DavFilter.java:68)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:96)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:287)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
Wrapped Exception:
java.lang.ClassCastException: java.lang.String
at org.hibernate.type.IntegerType.set(IntegerType.java:41)
at org.hibernate.type.NullableType.nullSafeSet(NullableType.java:136)
at org.hibernate.type.NullableType.nullSafeSet(NullableType.java:107)
at
org.hibernate.persister.entity.AbstractEntityPersister.dehydrate(AbstractEntityPersister.java:2002)
at
org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2248)
at
org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2665)
at
org.hibernate.action.EntityInsertAction.execute(EntityInsertAction.java:60)
at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:279)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:263)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:167)
at
org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:298)
at
org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27)
at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1000)
at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:343)
at
org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:106)
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.endTransaction(XWikiHibernateBaseStore.java:866)
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.endTransaction(XWikiHibernateBaseStore.java:837)
at
com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:580)
at
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:135)
at
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:128)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1282)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1244)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1239)
at com.xpn.xwiki.XWiki.getPrefsClass(XWiki.java:2916)
at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:748)
at com.xpn.xwiki.XWiki.<init>(XWiki.java:668)
at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:316)
at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:387)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:135)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at com.xpn.xwiki.plugin.webdav.DavFilter.doFilter(DavFilter.java:68)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:96)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:287)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
15:09:12,407 WARN http-8180-Processor24
RequestProcessor:processException:528 - Unhandled Exception thrown: class
com.xpn.xwiki.XWikiException
15:09:12,407 ERROR http-8180-Processor24 [action]:invoke:253 -
Servlet.service() for servlet action threw exception
com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not initialize main
XWiki context
Wrapped Exception: Error number 3201 in 3: Exception while saving document
XWiki.XWikiPreferences
Wrapped Exception: java.lang.String
at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:326)
at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:387)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:135)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at com.xpn.xwiki.plugin.webdav.DavFilter.doFilter(DavFilter.java:68)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:96)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:287)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
Wrapped Exception:
com.xpn.xwiki.XWikiException: Error number 3201 in 3: Exception while saving
document XWiki.XWikiPreferences
Wrapped Exception: java.lang.String
at
com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:590)
at
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:135)
at
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:128)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1282)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1244)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1239)
at com.xpn.xwiki.XWiki.getPrefsClass(XWiki.java:2916)
at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:748)
at com.xpn.xwiki.XWiki.<init>(XWiki.java:668)
at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:316)
at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:387)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:135)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at com.xpn.xwiki.plugin.webdav.DavFilter.doFilter(DavFilter.java:68)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:96)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:287)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
Wrapped Exception:
java.lang.ClassCastException: java.lang.String
at org.hibernate.type.IntegerType.set(IntegerType.java:41)
at org.hibernate.type.NullableType.nullSafeSet(NullableType.java:136)
at org.hibernate.type.NullableType.nullSafeSet(NullableType.java:107)
at
org.hibernate.persister.entity.AbstractEntityPersister.dehydrate(AbstractEntityPersister.java:2002)
at
org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2248)
at
org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2665)
at
org.hibernate.action.EntityInsertAction.execute(EntityInsertAction.java:60)
at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:279)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:263)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:167)
at
org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:298)
at
org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27)
at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1000)
at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:343)
at
org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:106)
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.endTransaction(XWikiHibernateBaseStore.java:866)
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.endTransaction(XWikiHibernateBaseStore.java:837)
at
com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:580)
at
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:135)
at
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:128)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1282)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1244)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1239)
at com.xpn.xwiki.XWiki.getPrefsClass(XWiki.java:2916)
at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:748)
at com.xpn.xwiki.XWiki.<init>(XWiki.java:668)
at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:316)
at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:387)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:135)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at com.xpn.xwiki.plugin.webdav.DavFilter.doFilter(DavFilter.java:68)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:96)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:287)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
--
View this message in context: http://n2.nabble.com/java.lang.String-while-upgrading-0.9-to-1.7-tp2372328p…
Sent from the XWiki- Users mailing list archive at Nabble.com.
>
>
> Yishay Mor wrote:
> > This has happened a few times on
> > http://patternlanguagenetwork.myxwiki.org/, and I can't explain it.
> > I set the access rights to allow view by all, but edit is restricted. I'm
> > seeing documents rolled back to older versions by XWikiGuest. Example:
> >
> http://patternlanguagenetwork.myxwiki.org/xwiki/bin/view/Patterns/tabletopc…
>
> On this document the guest has been granted edit rights. Look at the
> rights editing for it, and select Users, and you will see that
> Unregistered Users has set view, comment and edit.
>
> --
>
That's strange: I see "view" and "comment" ticked, but not "edit"
Hi,
I should want a special link, in a xwiki page, so that when man clics on it,
he get a new image (for instance, a clock with the hour of the clic).
I suppose I need groovy. I know how to do an image with java, and I presume
with groovy, but I don't understand how to embedded that in xwiki. I suppose I
need to create a special servlet, but how this servlet is created and inserted
in xwiki by the groovy mecanism ?
Thank you for your help.
Hi,
A thing that I already recognized since a long time, but now it
affects me more because I really start using xwiki in production,
daily, and look more often in the documentation on the .org website:
On Ubuntu Linux with firefox (3.0.6), the administration/navigation
bar on top of every xwiki page is flickering a lot when scrolling hte
page instead of just keep being there as it is probably intended.
it keeps there in the end, but it flashes heavily, which makes me very
nervous and is bad for the eyes.
On my own site I change is by making albatross the default - here it
works poerfectly as intended. The bar is always there but no
flickering at all when scrolling.
I see, the problem doiesn't happen with Opera on UBuntu so I can work
around it, but sure I'd rather like to use firefox.
Am I the only one experiencing this? Did somebody try to look into this ?
At a glance I see no great difference between the css settings of the
two skins that could make this effect happen, but I'll look further
into it.
Henning
--
Henning Sprang
http://www.sprang.de | http://lazyb0y.blogspot.com/
Hi,
We are using XWiki for the http://jugl.ch JUGL .
We want that all users would be able to add new subjects and vote on already
purpose subjects.
At this time we are using doodles, it works fine for the votes but all
participants can't add new subject to the list.
Is there a better way using XWiki and its plugins for our meeting
organisation ?
Thanks,
Philippe
--
View this message in context: http://n2.nabble.com/organize-vote-with-XWiki-tp2358524p2358524.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi,
another problem I am currently facing with my new xwiki installation:
There is a link "forgot username/password" on the login page.
it looks like this: http://myhost/bin/XWiki/ResetPassword
But when I click on it (as an not-logged-in user), I always get
redirected to the Login page - no possibility to enter an email
adresse or username to get a reminder as it's normally the case.
What am I doing wrong?
Henning
--
Henning Sprang
http://www.sprang.de | http://lazyb0y.blogspot.com/
Hi,
I want to require users to register and verify for an existing email
adress before being allowed to write comments - to prevent spam.
So, I set "Use email verification " to yes in the wiki registration preferences.
But there are two problems:
1) the newly registered user can edit and write comments without
properly verifying the email address.
2) The registration mail is not correctly showing the link to
registration. It seems to show the plain velocity template, like this:
Subjec: Validate your account on $wikiname
Hello my user,
This email address was used to register a new account on ${wikiname}.
If you did not make the request, please ignore this message.
In order to activate your account, please follow this link:
$xwiki.getDocument("XWiki.AccountValidation").getExternalURL("view",
"validkey=${validkey}&xwikiname=${xwikiname}")
Any idea what I could be doing wrong?
--
Henning Sprang
http://www.sprang.de | http://lazyb0y.blogspot.com/