Hi
I know it's a Saturday but I hope someone out there can help with the search issue. I have tried a re-index and I've been trying to search the XWiki Jira but haven't found anything.
Ideally I need to have this fixed by Monday. Pretty please. Thanks.
Kind regards,
Mahomed
-----Original Message-----
From: users [mailto:users-bounces@xwiki.org] On Behalf Of Mahomed Hussein
Sent: 25 September 2015 17:51
To: XWiki Users <users(a)xwiki.org>
Subject: [xwiki-users] Search failing after upgrade to 7.2
Hi
We upgraded to 7.2 today and I’m having a couple of issues that I hope someone can help me with. I’ve had a look through the recent mailing list topics and nothing seems to match.
· We have a custom skin based on Flamingo but the skin hasn’t picked up the new changes to the skin. I’ve tried searching for the tutorial for creating a custom skin and can’t find it. So can someone please help me with:
o Link to the tutorial/documentation for creating a custom skin
o The physical location on the file system where the custom skin is stored. I can’t seem to find it for some reason.
· More importantly, search appears to be broken. Any help in fixing would be greatly appreciated. The error is that it “Failed to execute the [velocity] Macro”. When I click for more detail, I get: (sorry for the length)
org.xwiki.rendering.macro.MacroExecutionException: Failed to evaluate Velocity Macro for content [#handleSolrSearchRequest]
at org.xwiki.rendering.internal.macro.velocity.VelocityMacro.evaluateString(VelocityMacro.java:131)
at org.xwiki.rendering.internal.macro.velocity.VelocityMacro.evaluateString(VelocityMacro.java:50)
at org.xwiki.rendering.macro.script.AbstractScriptMacro.evaluateBlock(AbstractScriptMacro.java:286)
at org.xwiki.rendering.macro.script.AbstractScriptMacro.execute(AbstractScriptMacro.java:182)
at org.xwiki.rendering.macro.script.AbstractScriptMacro.execute(AbstractScriptMacro.java:58)
at org.xwiki.rendering.internal.transformation.macro.MacroTransformation.transform(MacroTransformation.java:269)
at org.xwiki.rendering.internal.transformation.DefaultRenderingContext.transformInContext(DefaultRenderingContext.java:183)
at org.xwiki.rendering.internal.transformation.DefaultTransformationManager.performTransformations(DefaultTransformationManager.java:94)
at org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:252)
at org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:125)
at org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:55)
at org.xwiki.display.internal.DefaultDocumentDisplayer.display(DefaultDocumentDisplayer.java:96)
at org.xwiki.display.internal.DefaultDocumentDisplayer.display(DefaultDocumentDisplayer.java:39)
at org.xwiki.sheet.internal.SheetDocumentDisplayer.display(SheetDocumentDisplayer.java:113)
at org.xwiki.sheet.internal.SheetDocumentDisplayer.display(SheetDocumentDisplayer.java:50)
at org.xwiki.display.internal.ConfiguredDocumentDisplayer.display(ConfiguredDocumentDisplayer.java:67)
at org.xwiki.display.internal.ConfiguredDocumentDisplayer.display(ConfiguredDocumentDisplayer.java:41)
at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:1164)
at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:1127)
at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:1179)
at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:683)
at sun.reflect.GeneratedMethodAccessor384.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:395)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:384)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:173)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:280)
at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:567)
at org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:71)
at org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:142)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.xwiki.velocity.introspection.TryCatchDirective.render(TryCatchDirective.java:72)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluateInternal(DefaultVelocityEngine.java:256)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:222)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:198)
at com.xpn.xwiki.internal.template.InternalTemplateManager.evaluateContent(InternalTemplateManager.java:729)
at com.xpn.xwiki.internal.template.InternalTemplateManager.render(InternalTemplateManager.java:627)
at com.xpn.xwiki.internal.template.InternalTemplateManager.renderFromSkin(InternalTemplateManager.java:605)
at com.xpn.xwiki.internal.template.InternalTemplateManager.renderFromSkin(InternalTemplateManager.java:571)
at com.xpn.xwiki.internal.template.InternalTemplateManager.render(InternalTemplateManager.java:557)
at com.xpn.xwiki.internal.template.DefaultTemplateManager.render(DefaultTemplateManager.java:65)
at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1822)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1800)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:820)
at sun.reflect.GeneratedMethodAccessor206.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:395)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:384)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:173)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:280)
at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:369)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:216)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:311)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:230)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluateInternal(DefaultVelocityEngine.java:256)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:222)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:198)
at com.xpn.xwiki.internal.template.InternalTemplateManager.evaluateContent(InternalTemplateManager.java:729)
at com.xpn.xwiki.internal.template.InternalTemplateManager.render(InternalTemplateManager.java:627)
at com.xpn.xwiki.internal.template.InternalTemplateManager.renderFromSkin(InternalTemplateManager.java:605)
at com.xpn.xwiki.internal.template.InternalTemplateManager.renderFromSkin(InternalTemplateManager.java:571)
at com.xpn.xwiki.internal.template.InternalTemplateManager.render(InternalTemplateManager.java:557)
at com.xpn.xwiki.internal.template.DefaultTemplateManager.render(DefaultTemplateManager.java:65)
at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1822)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:180)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:431)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:184)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:620)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:115)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:127)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.xwiki.resource.servlet.RoutingFilter.doFilter(RoutingFilter.java:137)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1041)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:315)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.xwiki.velocity.XWikiVelocityException: Failed to evaluate content with id [xwiki:Main.Search]
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:224)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:198)
at org.xwiki.rendering.internal.macro.velocity.VelocityMacro.evaluateString(VelocityMacro.java:124)
... 124 more
Caused by: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'resolve' in class org.xwiki.search.solr.script.SolrIndexScriptService threw exception java.lang.IllegalArgumentException: The resolver parameter doesn't contain an Entity Reference of type [SPACE] at 33:xwiki:Main.Search[line 365, column 47]
at org.apache.velocity.runtime.parser.node.ASTMethod.handleInvocationException(ASTMethod.java:243)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:187)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:280)
at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:567)
at org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:71)
at org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:142)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:216)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:311)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:230)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:420)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:216)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:311)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:230)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:216)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:311)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:230)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.parser.node.ASTElseIfStatement.render(ASTElseIfStatement.java:92)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:216)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:311)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:230)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluateInternal(DefaultVelocityEngine.java:256)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:222)
... 126 more
Caused by: java.lang.IllegalArgumentException: The resolver parameter doesn't contain an Entity Reference of type [SPACE]
at org.xwiki.model.internal.reference.ExplicitReferenceEntityReferenceResolver.getDefaultReference(ExplicitReferenceEntityReferenceResolver.java:45)
at org.xwiki.model.internal.reference.AbstractEntityReferenceResolver.resolveDefaultReference(AbstractEntityReferenceResolver.java:77)
at org.xwiki.model.internal.reference.AbstractReferenceEntityReferenceResolver.resolve(AbstractReferenceEntityReferenceResolver.java:67)
at org.xwiki.model.internal.reference.AbstractReferenceEntityReferenceResolver.resolve(AbstractReferenceEntityReferenceResolver.java:41)
at org.xwiki.search.solr.internal.reference.SolrEntityReferenceResolver.resolveMissingReference(SolrEntityReferenceResolver.java:173)
at org.xwiki.search.solr.internal.reference.SolrEntityReferenceResolver.getSpaceReference(SolrEntityReferenceResolver.java:111)
at org.xwiki.search.solr.internal.reference.SolrEntityReferenceResolver.getEntityReference(SolrEntityReferenceResolver.java:71)
at org.xwiki.search.solr.internal.reference.SolrEntityReferenceResolver.resolve(SolrEntityReferenceResolver.java:63)
at org.xwiki.search.solr.internal.reference.SolrEntityReferenceResolver.resolve(SolrEntityReferenceResolver.java:46)
at org.xwiki.search.solr.script.SolrIndexScriptService.resolve(SolrIndexScriptService.java:242)
at org.xwiki.search.solr.script.SolrIndexScriptService.resolve(SolrIndexScriptService.java:227)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:395)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:384)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:173)
... 161 more
Help please. Thanks ☺
Kind regards,
Mahomed Hussein
Custodian Data Centre
Email: Mahomed(a)CustodianDC.com
http://www.CustodianDC.com
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Hi
We upgraded to 7.2 today and I’m having a couple of issues that I hope someone can help me with. I’ve had a look through the recent mailing list topics and nothing seems to match.
· We have a custom skin based on Flamingo but the skin hasn’t picked up the new changes to the skin. I’ve tried searching for the tutorial for creating a custom skin and can’t find it. So can someone please help me with:
o Link to the tutorial/documentation for creating a custom skin
o The physical location on the file system where the custom skin is stored. I can’t seem to find it for some reason.
· More importantly, search appears to be broken. Any help in fixing would be greatly appreciated. The error is that it “Failed to execute the [velocity] Macro”. When I click for more detail, I get: (sorry for the length)
org.xwiki.rendering.macro.MacroExecutionException: Failed to evaluate Velocity Macro for content [#handleSolrSearchRequest]
at org.xwiki.rendering.internal.macro.velocity.VelocityMacro.evaluateString(VelocityMacro.java:131)
at org.xwiki.rendering.internal.macro.velocity.VelocityMacro.evaluateString(VelocityMacro.java:50)
at org.xwiki.rendering.macro.script.AbstractScriptMacro.evaluateBlock(AbstractScriptMacro.java:286)
at org.xwiki.rendering.macro.script.AbstractScriptMacro.execute(AbstractScriptMacro.java:182)
at org.xwiki.rendering.macro.script.AbstractScriptMacro.execute(AbstractScriptMacro.java:58)
at org.xwiki.rendering.internal.transformation.macro.MacroTransformation.transform(MacroTransformation.java:269)
at org.xwiki.rendering.internal.transformation.DefaultRenderingContext.transformInContext(DefaultRenderingContext.java:183)
at org.xwiki.rendering.internal.transformation.DefaultTransformationManager.performTransformations(DefaultTransformationManager.java:94)
at org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:252)
at org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:125)
at org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:55)
at org.xwiki.display.internal.DefaultDocumentDisplayer.display(DefaultDocumentDisplayer.java:96)
at org.xwiki.display.internal.DefaultDocumentDisplayer.display(DefaultDocumentDisplayer.java:39)
at org.xwiki.sheet.internal.SheetDocumentDisplayer.display(SheetDocumentDisplayer.java:113)
at org.xwiki.sheet.internal.SheetDocumentDisplayer.display(SheetDocumentDisplayer.java:50)
at org.xwiki.display.internal.ConfiguredDocumentDisplayer.display(ConfiguredDocumentDisplayer.java:67)
at org.xwiki.display.internal.ConfiguredDocumentDisplayer.display(ConfiguredDocumentDisplayer.java:41)
at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:1164)
at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:1127)
at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:1179)
at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:683)
at sun.reflect.GeneratedMethodAccessor384.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:395)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:384)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:173)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:280)
at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:567)
at org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:71)
at org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:142)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.xwiki.velocity.introspection.TryCatchDirective.render(TryCatchDirective.java:72)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluateInternal(DefaultVelocityEngine.java:256)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:222)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:198)
at com.xpn.xwiki.internal.template.InternalTemplateManager.evaluateContent(InternalTemplateManager.java:729)
at com.xpn.xwiki.internal.template.InternalTemplateManager.render(InternalTemplateManager.java:627)
at com.xpn.xwiki.internal.template.InternalTemplateManager.renderFromSkin(InternalTemplateManager.java:605)
at com.xpn.xwiki.internal.template.InternalTemplateManager.renderFromSkin(InternalTemplateManager.java:571)
at com.xpn.xwiki.internal.template.InternalTemplateManager.render(InternalTemplateManager.java:557)
at com.xpn.xwiki.internal.template.DefaultTemplateManager.render(DefaultTemplateManager.java:65)
at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1822)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1800)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:820)
at sun.reflect.GeneratedMethodAccessor206.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:395)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:384)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:173)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:280)
at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:369)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:216)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:311)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:230)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluateInternal(DefaultVelocityEngine.java:256)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:222)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:198)
at com.xpn.xwiki.internal.template.InternalTemplateManager.evaluateContent(InternalTemplateManager.java:729)
at com.xpn.xwiki.internal.template.InternalTemplateManager.render(InternalTemplateManager.java:627)
at com.xpn.xwiki.internal.template.InternalTemplateManager.renderFromSkin(InternalTemplateManager.java:605)
at com.xpn.xwiki.internal.template.InternalTemplateManager.renderFromSkin(InternalTemplateManager.java:571)
at com.xpn.xwiki.internal.template.InternalTemplateManager.render(InternalTemplateManager.java:557)
at com.xpn.xwiki.internal.template.DefaultTemplateManager.render(DefaultTemplateManager.java:65)
at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1822)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:180)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:431)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:184)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:620)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:115)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:127)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.xwiki.resource.servlet.RoutingFilter.doFilter(RoutingFilter.java:137)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1041)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:315)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.xwiki.velocity.XWikiVelocityException: Failed to evaluate content with id [xwiki:Main.Search]
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:224)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:198)
at org.xwiki.rendering.internal.macro.velocity.VelocityMacro.evaluateString(VelocityMacro.java:124)
... 124 more
Caused by: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'resolve' in class org.xwiki.search.solr.script.SolrIndexScriptService threw exception java.lang.IllegalArgumentException: The resolver parameter doesn't contain an Entity Reference of type [SPACE] at 33:xwiki:Main.Search[line 365, column 47]
at org.apache.velocity.runtime.parser.node.ASTMethod.handleInvocationException(ASTMethod.java:243)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:187)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:280)
at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:567)
at org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:71)
at org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:142)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:216)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:311)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:230)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:420)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:216)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:311)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:230)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:216)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:311)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:230)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.parser.node.ASTElseIfStatement.render(ASTElseIfStatement.java:92)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:216)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:311)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:230)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluateInternal(DefaultVelocityEngine.java:256)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:222)
... 126 more
Caused by: java.lang.IllegalArgumentException: The resolver parameter doesn't contain an Entity Reference of type [SPACE]
at org.xwiki.model.internal.reference.ExplicitReferenceEntityReferenceResolver.getDefaultReference(ExplicitReferenceEntityReferenceResolver.java:45)
at org.xwiki.model.internal.reference.AbstractEntityReferenceResolver.resolveDefaultReference(AbstractEntityReferenceResolver.java:77)
at org.xwiki.model.internal.reference.AbstractReferenceEntityReferenceResolver.resolve(AbstractReferenceEntityReferenceResolver.java:67)
at org.xwiki.model.internal.reference.AbstractReferenceEntityReferenceResolver.resolve(AbstractReferenceEntityReferenceResolver.java:41)
at org.xwiki.search.solr.internal.reference.SolrEntityReferenceResolver.resolveMissingReference(SolrEntityReferenceResolver.java:173)
at org.xwiki.search.solr.internal.reference.SolrEntityReferenceResolver.getSpaceReference(SolrEntityReferenceResolver.java:111)
at org.xwiki.search.solr.internal.reference.SolrEntityReferenceResolver.getEntityReference(SolrEntityReferenceResolver.java:71)
at org.xwiki.search.solr.internal.reference.SolrEntityReferenceResolver.resolve(SolrEntityReferenceResolver.java:63)
at org.xwiki.search.solr.internal.reference.SolrEntityReferenceResolver.resolve(SolrEntityReferenceResolver.java:46)
at org.xwiki.search.solr.script.SolrIndexScriptService.resolve(SolrIndexScriptService.java:242)
at org.xwiki.search.solr.script.SolrIndexScriptService.resolve(SolrIndexScriptService.java:227)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:395)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:384)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:173)
... 161 more
Help please. Thanks ☺
Kind regards,
Mahomed Hussein
Custodian Data Centre
Email: Mahomed(a)CustodianDC.com
http://www.CustodianDC.com
Hi,
I tried to install newly released XWiki 7.2. The same machine (Debian + Apache + Tomcat 7 + MySQL) was used to test testing versions of 7.2 without problems. Manual installation always used (no Debian package).
In Step 1 I received this error when trying install XWiki Enterprise Flavor - Main Wiki:
...
Installing document [Home > Macros > TreeTranslations]
[admin] access has been denied for user [xwiki:XWiki.Admin] on [xwiki]: security checkpoint
Access denied when checking [admin] access to [Wiki xwiki] for user [xwiki:XWiki.Admin]
class org.xwiki.security.authorization.AccessDeniedException: Access denied when checking [admin] access to [Wiki xwiki] for user [xwiki:XWiki.Admin]
at org.xwiki.security.authorization.DefaultAuthorizationManager.checkAccess(DefaultAuthorizationManager.java:94)
at org.xwiki.localization.wiki.internal.DocumentTranslationBundleFactory.checkRegistrationAuthorization(DocumentTranslationBundleFactory.java:442)
at org.xwiki.localization.wiki.internal.DocumentTranslationBundleFactory.registerTranslationBundle(DocumentTranslationBundleFactory.java:418)
at org.xwiki.localization.wiki.internal.DocumentTranslationBundleFactory.translationDocumentUpdated(DocumentTranslationBundleFactory.java:346)
at org.xwiki.localization.wiki.internal.DocumentTranslationBundleFactory.access$000(DocumentTranslationBundleFactory.java:86)
at org.xwiki.localization.wiki.internal.DocumentTranslationBundleFactory$1.onEvent(DocumentTranslationBundleFactory.java:156)
at org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:304)
at org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:269)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1529)
at org.xwiki.extension.xar.internal.handler.packager.DocumentMergeImporter.saveDocumentSetContextUser(DocumentMergeImporter.java:346)
at org.xwiki.extension.xar.internal.handler.packager.DocumentMergeImporter.saveDocument(DocumentMergeImporter.java:332)
at org.xwiki.extension.xar.internal.handler.packager.DocumentMergeImporter.saveDocument(DocumentMergeImporter.java:126)
at org.xwiki.extension.xar.internal.handler.packager.Packager.importDocumentToWiki(Packager.java:223)
at org.xwiki.extension.xar.internal.handler.packager.Packager.importXARToWiki(Packager.java:174)
at org.xwiki.extension.xar.internal.handler.packager.Packager.importXARToWiki(Packager.java:146)
at org.xwiki.extension.xar.internal.handler.packager.Packager.importXAR(Packager.java:136)
at org.xwiki.extension.xar.internal.handler.XarExtensionHandler.installInternal(XarExtensionHandler.java:203)
at org.xwiki.extension.xar.internal.handler.XarExtensionHandler.install(XarExtensionHandler.java:167)
at org.xwiki.extension.handler.internal.DefaultExtensionHandlerManager.install(DefaultExtensionHandlerManager.java:85)
at org.xwiki.extension.job.internal.AbstractExtensionJob.installExtension(AbstractExtensionJob.java:256)
at org.xwiki.extension.job.internal.AbstractExtensionJob.applyAction(AbstractExtensionJob.java:204)
at org.xwiki.extension.job.internal.AbstractExtensionJob.applyActions(AbstractExtensionJob.java:151)
at org.xwiki.extension.job.internal.InstallJob.runInternal(InstallJob.java:150)
at org.xwiki.job.internal.AbstractJob.runInContext(AbstractJob.java:209)
at org.xwiki.job.internal.AbstractJob.run(AbstractJob.java:192)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Done installing document [Home > Macros > TreeTranslations]
...
There are more problems reported in the list, all seems are "[admin] access has been denied for user [xwiki:XWiki.Admin] on [xwiki]: security checkpoint".
I guess I configured XWiki in the same way and old installation including cache were removed completely. Is there anything else I should check?
With regards,
Jan
Hi Eduard,
Apparently, the use of the following call is not working:
http://<url>/xwiki/bin/export/Space/Page&format=xar&pages=ws360vthwest:%25.%25&name=ws360vthwest&history=true&backup=true&author=XWiki.Admin <http://<url>/xwiki/bin/export/Space/Page&format=xar&pages=ws360vthwest:%.%&name=ws360vthwest&history=true&backup=true&author=XWiki.Admin>
Apparently, the export is able to find the pages, but not the history.
The one that works without any problem is:
http://<url>/xwiki/wiki/dutotest/export/Main/WebHome?format=xar&name=export&pages=%25.%25&history=true <http://<url>/xwiki/wiki/dutotest/export/Main/WebHome?format=xar&name=export&pages=%.%&history=true>
The difference between both calls is, that the first one is using the Main wiki, where the second one is using the Wiki that needs to be exported.
Did I misread the documentation on this? I’m happy that we have at least solved the problem. I’m sorry to have used up some your time for this but thanks for helping me get some understanding on the topic.
Br,
Peter
>
>>
>> You could maybe try to delete the version 11.1 and try exporting again.
>>
The XWiki development team is proud to announce the availability of XWiki
7.2.
This release is probably one of the biggest releases we have done in XWiki
for years (more than 900 commits)! We have worked hard during all the
summer to finally achieve the introduction of a new concept: Nested Pages.
This big change affects both the platform and the user interface, and you
will discover many differences while using XWiki.
For developers, this release also introduces a new Script right and some
changes in the REST, Job and Refactoring modules, just to list a few...
Finally, it also brings a lot of bugs fixes!
You can download it here: http://www.xwiki.org/xwiki/bin/view/Main/Download
Make sure to review the release notes:
http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki72
The following people have contributed code to this release:
* Caleb James DeLisle
* Clemens Robbenhaar
* Denis Gervalle
* Ecaterina Moraru (Valica)
* Eduard Moraru
* Gabriela Smeria
* Guillaume Delhumeau
* Jean Simard
* Marius Dumitru Florea
* Sergiu Dumitriu
* Thomas Mortagne
* Veronika Koltunova
* Vincent Massol
Thanks for your support
-The XWiki dev team
I have XWiki set up with Trusted LDAP (Kerberos + LDAP), and I am able to
log in and see that my LDAP information (like full name and email) is
populated in my user profile.
Group mapping, however, does not work.
Here is the relevant parts of my xwiki.cfg file:
(Notes:
- I have changed the real domain name to "mydomain" below
- The remote user gets set as username(a)ANT.MYDOMAIN.COM )
----------------------------
*xwiki.xfg:*
# Trusted LDAP
xwiki.authentication.authclass=com.xwiki.authentication.trustedldap.TrustedLDAPAuthServiceImpl
xwiki.authentication.trustedldap.remoteUserParser=([^@]+)@ANT\.(.+)
xwiki.authentication.trustedldap.remoteUserMapping.1=login
xwiki.authentication.trustedldap.remoteUserMapping.2=domain
# LDAP
xwiki.authentication.ldap.server=ldap.mydomain.com
xwiki.authentication.ldap.port=389
xwiki.authentication.ldap.bind_DN=
xwiki.authentication.ldap.bind_pass=
xwiki.authentication.ldap.base_DN=o=mydomain.com
xwiki.authentication.ldap.UID_attr=uid
xwiki.authentication.ldap.group_classes=posixgroup,group,groupofuniquenames
xwiki.authentication.ldap.group_memberfields=memberuid
xwiki.authentication.ldap.fields_mapping=last_name=sn,first_name=givenName,email=mail
xwiki.authentication.ldap.update_user=1
xwiki.authentication.ldap.group_mapping=XWiki.IntranetGroup=cn=intranet,ou=posix
groups,ou=infrastructure,o=mydomain.com
----------------------
For reference, I am able to query for a single user like this (using
anonymous access):
% /usr/bin/ldapsearch -x -h ldap.mydomain.com -p 389 -b "o=mydomain.com"
uid=username
Also, I can query for a group (called "intranet") like this:
% /usr/bin/ldapsearch -x -h ldap.mydomain.com -p 389 -b "ou=posix
groups,ou=infrastructure,o=mydomain.com" cn=intranet
I've spent a lot of time with different LDAP options, but I am not able to
get LDAP group mapping to work. Could anyone tell me what I am doing wrong
here?
Thanks in advance
Debajit
After I load the XWikiDocumentArchive, I can call the getArchive ((I used String h = e.getArchive(this.CONTEXT);). This gives me the complete archive of the versions. And I guess you are right about the content. Where any previous or later version is fully XML compliant, the 11.1 version shows the following content (I have replaced large text area’s with [a lot of text]:
<content>
11.1
log
@@
text
@d14 1
a14 1
<date>1442743679000</date>
d16 1
a16 1
<version>11.1</version>
d336 1
a336 1
<afgeleidPrincipe>Er zijn vertaaltabellen voor relevante combinaties van zowel gebruikte en in gebruik zijnde metainformatiestandaarden als van de daarbij horende waardenlijsten.</afgeleidPrincipe>
d378 1
a378 1
<toelichting>[a lot of text]
d380 1
a380 1
[a lot of text]
d382 3
a384 1
1. de metainformatiestandaard bevat zelf een waardetabel.
d386 1
a386 1
1. de metainformatiestandaard verwijst naar een classificatieschema.
d389 1
a389 1
1. de metainformatiestandaard verwijst naar een meer algemene registratie in de vorm van een database met gestandaardiseerde gegevens.
d396 1
a396 1
[a lot of text]
d398 1
a398 1
[a lot of text]
d400 1
a400 1
Meer concreet levert dit de volgende voorbeelden van toepassingen op:
d403 1
a403 2
[a lot of text]
d405 1
a405 1
[a lot of text]
</toelichting>
@
</content>
I am unable to make any sense of this - especially because since the listing of the object properties in the snippet below give me following data:
<data>
Versie = 11.1
identificatieString : AP_P9doA5GQpspPj
prefix : AP
nummer : 55
afgeleidPrincipe : Er zijn vertaaltabellen voor relevante combinaties van zowel gebruikte en in gebruik zijnde metainformatiestandaarden als van de daarbij horende waardenlijsten.
isAfgeleideVanBasisprincipe : []
toelichting : [a lot of text]
overweging : Dit nieuwe principe is bedoeld als vervanging van AP 23, 36 en 54.
voorbeelden :
standaarden : In ieder geval alle landelijke mclassificatieschema's en metainformatiestandaarden.
bronverwijzingen :
acties :
actiehouder : XWiki.AdrieSpruit
scoreBegrijpelijk : 0
scoreCorrect : 0
scoreWenselijk : 0
scoreUitvoerbaar :
heeftStatus : ST_6JgwAwqZungbE
</data>
What I can get out of this is:
- A lot of <xml> items are not present.
- the XML item in the <content> part (<toelichting>) is the only property that has indeed changed compared to the previous version (10.1). Some information is missing compared to the same item in the <data> block.
- the XML item in the <content> part (< afgeleidPrincipe> is according to what it should be.
- the XML item in the <content> part (<date>) could well be alright - I actually don’t know :-)
- I can make the 11.1 version the current version and it shows up as expected (version 15.1)
- Comparing the 11.1 with the 15.1 version shows that they are the same (except for the user)
Can you help me understand how this can be the case? And of course what I can do to correct this situation?
I’m sorry about the somewhat complex way of explaining but I hope you can help me out here.
Br,
Peter
>
> According to the error what is falling is the method
> XWikiDocumentArchive#getArchive when trying to load version 11.1. Did
> you tried executing it ? Is this version listed in your code ?
>
> On Thu, Sep 24, 2015 at 1:14 PM, Peter Huisman <p.huisman(a)ximm.nl <mailto:p.huisman@ximm.nl>> wrote:
>> I did some testing on this document and it’s history:
>>
>> LocalDocumentReference docLDR = new LocalDocumentReference(spaceName, pageName);
>> DocumentReference docRef = new DocumentReference(docLDR, new WikiReference(this.CONTEXT.getWikiId()));
>> XWikiDocument a = new XWikiDocument(docRef);
>> XWikiVersioningStoreInterface b = a.getVersioningStore(this.CONTEXT);
>> Version[] c = b.getXWikiDocVersions(a, this.CONTEXT);
>> XWikiDocumentArchive e = b.getXWikiDocumentArchive(a, this.CONTEXT);
>> for(Version version : c) {
>> XWikiDocument f = e.loadDocument(version, this.CONTEXT);
>> BaseObject g = f.getXObject(new DocumentReference(this.wiki.getName(), "DutoCode", "AfgeleidPrincipeClass"));
>> }
>>
>> This gives me all of the document versions that are available and there are no error showing the Object data (I’ve removed all the logging statements). So no documents are empty.
>>
>> Any suggestion on where to look for?
>>
>>>
>>>> From what I understand from the error it looks like some version(s) of
>>> the document have identifiers but no content.
>>>
>>> On Thu, Sep 24, 2015 at 11:01 AM, Thomas Mortagne
>>> <thomas.mortagne(a)xwiki.com <mailto:thomas.mortagne@xwiki.com> <mailto:thomas.mortagne@xwiki.com <mailto:thomas.mortagne@xwiki.com>>> wrote:
>>>> Actually it's a little more that than, it ask for a String version of
>>>> the history which is more what happen when a document is deleted.
>>>>
>>>> On Thu, Sep 24, 2015 at 10:59 AM, Thomas Mortagne
>>>> <thomas.mortagne(a)xwiki.com <mailto:thomas.mortagne@xwiki.com> <mailto:thomas.mortagne@xwiki.com <mailto:thomas.mortagne@xwiki.com>>> wrote:
>>>>> According to the trace it just ask for document version handler,
>>>>> nothing more. And that supposed to happen exactly the same way when
>>>>> you look at the document versions.
>>>>>
>>>>>
>>>>> On Thu, Sep 24, 2015 at 10:57 AM, Peter Huisman <p.huisman(a)ximm.nl <mailto:p.huisman@ximm.nl> <mailto:p.huisman@ximm.nl <mailto:p.huisman@ximm.nl>>> wrote:
>>>>>> That’s the point: As far as I can tell, everything seems to be in order. What really puzzles me is that - as per the first example - there is no version history present. The only available version is 1.2. Is the export function looking for versions earlier than the current function or is it just looking for “page version objects”?
>>>>>>
>>>>>> If I use the default Admin Export function, I do see all available versions for the documents. Importing the page also gives me a full list of all available versions which I can also revert. After this, it also show up with no errors in it.
>>>>>>
>>>>>>>
>>>>>>> Looks like the history of those object is not in a great shape. Are
>>>>>>> you able to view the history of those documents in error and access
>>>>>>> each version ?
>>>>>>>
>>>>>>> On Thu, Sep 24, 2015 at 10:14 AM, Peter Huisman <p.huisman(a)ximm.nl <mailto:p.huisman@ximm.nl> <mailto:p.huisman@ximm.nl <mailto:p.huisman@ximm.nl>>> wrote:
>>>>>>>> Hi Eduard,
>>>>>>>>
>>>>>>>> We have proceeded as per your advice and created a cron with the URL as explained on http://platform.xwiki.org/xwiki/bin/view/Features/Exports#HXARExport <http://platform.xwiki.org/xwiki/bin/view/Features/Exports#HXARExport> <http://platform.xwiki.org/xwiki/bin/view/Features/Exports#HXARExport <http://platform.xwiki.org/xwiki/bin/view/Features/Exports#HXARExport>> <http://platform.xwiki.org/xwiki/bin/view/Features/Exports#HXARExport <http://platform.xwiki.org/xwiki/bin/view/Features/Exports#HXARExport> <http://platform.xwiki.org/xwiki/bin/view/Features/Exports#HXARExport <http://platform.xwiki.org/xwiki/bin/view/Features/Exports#HXARExport>>>. It however generates a lot of (in my eyes) unexpected errors in the Log file (resulting in a Log file size of over 500Mb). When we do an export using the Admin panel, we do not encounter this problem.
>>>>>>>>
>>>>>>>> [example 1]
>>>>>>>> the Page (in Bold) has only 1 version (version 1.2) present (and no minor versions). There are no additional errors for this document.
>>>>>>>> [example 2]
>>>>>>>> This page (also Bold) actually has a version history. The document’s current version is 14.1 with 2 intermediate (lower) versions before 11.1 and quite a few below that. Apparently, the export indicates that there is an error in 11.1 but I’m unable to determine the error in the objects. The higher versions do not generate an error and I expect that he quits after the error.
>>>>>>>>
>>>>>>>> Note: Our pages only contain Custom Objects and Comment objects. There’s no actual content on the page.
>>>>>>>> Note: I can not find any version information in the XAR. It seems that only a single version is included in the Export.
>>>>>>>>
>>>>>>>> Can someone explain why this is happening or guide me towards a solution and (more important :-)) how to correct this?
>>>>>>>>
>>>>>>>> With kind regards,
>>>>>>>>
>>>>>>>> Peter
>>>>>>>>
>>>>>>>> [example 1]
>>>>>>>> 2015-09-23 03:10:40,084 [http://wiki.dkf.wiki/xwiki/bin/export/Space/Page?format=xar&pages=vr360brab… <http://wiki.dkf.wiki/xwiki/bin/export/Space/Page?format=xar&pages=vr360brab…> <http://wiki.dkf.wiki/xwiki/bin/export/Space/Page?format=xar&pages=vr360brab… <http://wiki.dkf.wiki/xwiki/bin/export/Space/Page?format=xar&pages=vr360brab…>> <http://wiki.dkf.wiki/xwiki/bin/export/Space/Page?format=xar&pages=vr360brab… <http://wiki.dkf.wiki/xwiki/bin/export/Space/Page?format=xar&pages=vr360brab…> <http://wiki.dkf.wiki/xwiki/bin/export/Space/Page?format=xar&pages=vr360brab… <http://wiki.dkf.wiki/xwiki/bin/export/Space/Page?format=xar&pages=vr360brab…>>>] ERROR kiDocumentLocaleEventGenerator - Document [vr360brabant:ZTCVR50348655.EIGSW_jq4Q8bdPCP7zE] has malformed history
>>>>>>>> com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute
>>>>>>>> at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:1305) ~[xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>>>>>>>> at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeRead(XWikiHibernateBaseStore.java:1338) ~[xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>>>>>>>> at com.xpn.xwiki.store.XWikiHibernateVersioningStore.loadRCSNodeContent(XWikiHibernateVersioningStore.java:291) ~[xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>>>>>>>> at com.xpn.xwiki.doc.rcs.XWikiRCSNodeInfo.getContent(XWikiRCSNodeInfo.java:194) ~[xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>>>>>>>> at com.xpn.xwiki.doc.rcs.XWikiRCSArchive.<init>(XWikiRCSArchive.java:79) ~[xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>>>>>>>> at com.xpn.xwiki.doc.XWikiDocumentArchive.getArchive(XWikiDocumentArchive.java:199) ~[xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>>>>>>>> at org.xwiki.filter.instance.internal.input.XWikiDocumentLocaleEventGenerator.write(XWikiDocumentLocaleEventGenerator.java:90) [xwiki-platform-filter-instance-oldcore-6.4.5.jar:na]
>>>>>>>> at org.xwiki.filter.instance.internal.input.XWikiDocumentLocaleEventGenerator.write(XWikiDocumentLocaleEventGenerator.java:55) [xwiki-platform-filter-instance-oldcore-6.4.5.jar:na]
>>>>>>>> at org.xwiki.filter.instance.internal.input.AbstractBeanEntityEventGenerator.write(AbstractBeanEntityEventGenerator.java:114) [xwiki-platform-filter-instance-api-6.4.5.jar:na]
>>>>>>>> at org.xwiki.filter.instance.input.AbstractEntityEventGenerator.write(AbstractEntityEventGenerator.java:77) [xwiki-platform-filter-instance-api-6.4.5.jar:na]
>>>>>>>> at org.xwiki.filter.instance.internal.input.DocumentInstanceInputEventGenerator.beginWikiDocument(DocumentInstanceInputEventGenerator.java:107) [xwiki-platform-filter-instance-oldcore-6.4.5.jar:na]
>>>>>>>> at org.xwiki.filter.instance.internal.input.InstanceInputFilterStream.writeDocument(InstanceInputFilterStream.java:213) [xwiki-platform-filter-instance-api-6.4.5.jar:na]
>>>>>>>> at org.xwiki.filter.instance.internal.input.InstanceInputFilterStream.writeSpace(InstanceInputFilterStream.java:186) [xwiki-platform-filter-instance-api-6.4.5.jar:na]
>>>>>>>> at org.xwiki.filter.instance.internal.input.InstanceInputFilterStream.writeWiki(InstanceInputFilterStream.java:158) [xwiki-platform-filter-instance-api-6.4.5.jar:na]
>>>>>>>> at org.xwiki.filter.instance.internal.input.InstanceInputFilterStream.read(InstanceInputFilterStream.java:131) [xwiki-platform-filter-instance-api-6.4.5.jar:na]
>>>>>>>> at org.xwiki.filter.instance.internal.input.InstanceInputFilterStream.read(InstanceInputFilterStream.java:53) [xwiki-platform-filter-instance-api-6.4.5.jar:na]
>>>>>>>> at org.xwiki.filter.input.AbstractBeanInputFilterStream.read(AbstractBeanInputFilterStream.java:80) [xwiki-commons-filter-api-6.4.5.jar:na]
>>>>>>>> at com.xpn.xwiki.web.ExportAction.exportXAR(ExportAction.java:332) [xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>>>>>>>> at com.xpn.xwiki.web.ExportAction.render(ExportAction.java:76) [xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>>>>>>>> at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:345) [xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>>>>>>>> at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:146) [xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>>>>>>>> at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425) [struts-core-1.3.10.jar:1.3.10]
>>>>>>>> at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228) [struts-core-1.3.10.jar:1.3.10]
>>>>>>>> at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913) [struts-core-1.3.10.jar:1.3.10]
>>>>>>>> at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449) [struts-core-1.3.10.jar:1.3.10]
>>>>>>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:620) [tomcat-servlet-3.0-api.jar:na]
>>>>>>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) [tomcat-servlet-3.0-api.jar:na]
>>>>>>>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) [catalina.jar:7.0.54]
>>>>>>>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.54]
>>>>>>>> at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:115) [xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>>>>>>>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.54]
>>>>>>>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.54]
>>>>>>>> at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:127) [xwiki-platform-wysiwyg-server-6.4.5.jar:na]
>>>>>>>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.54]
>>>>>>>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.54]
>>>>>>>> at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) [tomcat7-websocket.jar:7.0.54]
>>>>>>>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.54]
>>>>>>>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.54]
>>>>>>>> at org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63) [xwiki-platform-container-servlet-6.4.5.jar:na]
>>>>>>>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.54]
>>>>>>>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.54]
>>>>>>>> at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66) [xwiki-platform-webdav-server-6.4.5.jar:na]
>>>>>>>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.54]
>>>>>>>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.54]
>>>>>>>> at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208) [xwiki-platform-container-servlet-6.4.5.jar:na]
>>>>>>>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.54]
>>>>>>>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.54]
>>>>>>>> at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111) [xwiki-platform-container-servlet-6.4.5.jar:na]
>>>>>>>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.54]
>>>>>>>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.54]
>>>>>>>> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220) [catalina.jar:7.0.54]
>>>>>>>> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122) [catalina.jar:7.0.54]
>>>>>>>> at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501) [catalina.jar:7.0.54]
>>>>>>>> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) [catalina.jar:7.0.54]
>>>>>>>> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [catalina.jar:7.0.54]
>>>>>>>> at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950) [catalina.jar:7.0.54]
>>>>>>>> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) [catalina.jar:7.0.54]
>>>>>>>> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408) [catalina.jar:7.0.54]
>>>>>>>> at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:193) [tomcat-coyote.jar:7.0.54]
>>>>>>>> at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607) [tomcat-coyote.jar:7.0.54]
>>>>>>>> at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:314) [tomcat-coyote.jar:7.0.54]
>>>>>>>> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_85]
>>>>>>>> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_85]
>>>>>>>> at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-coyote.jar:7.0.54]
>>>>>>>> at java.lang.Thread.run(Thread.java:745) [na:1.7.0_85]
>>>>>>>> Caused by: org.hibernate.ObjectNotFoundException: No row with the given identifier exists: [com.xpn.xwiki.doc.rcs.XWikiRCSNodeContent#com.xpn.xwiki.doc.rcs.XWikiRCSNodeId(a)3241c34b[docId=4003338556527287548,version=1.2]]
>>>>>>>> at org.hibernate.impl.SessionFactoryImpl$2.handleEntityNotFound(SessionFactoryImpl.java:435) ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
>>>>>>>> at org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:233) ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
>>>>>>>> at org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:285) ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
>>>>>>>> at org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:152) ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
>>>>>>>> at org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:1090) ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
>>>>>>>> at org.hibernate.impl.SessionImpl.load(SessionImpl.java:974) ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
>>>>>>>> at com.xpn.xwiki.store.XWikiHibernateVersioningStore$4.doInHibernate(XWikiHibernateVersioningStore.java:297) ~[xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>>>>>>>> at com.xpn.xwiki.store.XWikiHibernateVersioningStore$4.doInHibernate(XWikiHibernateVersioningStore.java:292) ~[xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>>>>>>>> at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:1299) ~[xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>>>>>>>> ... 64 common frames omitted
>>>>>>>>
>>>>>>>>
>>>>>>>> [example 2]
>>>>>>>> 2015-09-23 03:15:09,925 [http://wiki.dkf.wiki/xwiki/bin/export/Space/Page?format=xar&pages=duto:%25.… <http://wiki.dkf.wiki/xwiki/bin/export/Space/Page?format=xar&pages=duto:%25.…> <http://wiki.dkf.wiki/xwiki/bin/export/Space/Page?format=xar&pages=duto:%25.… <http://wiki.dkf.wiki/xwiki/bin/export/Space/Page?format=xar&pages=duto:%25.…>> <http://wiki.dkf.wiki/xwiki/bin/export/Space/Page?format=xar&pages=duto:%25.… <http://wiki.dkf.wiki/xwiki/bin/export/Space/Page?format=xar&pages=duto:%25.…> <http://wiki.dkf.wiki/xwiki/bin/export/Space/Page?format=xar&pages=duto:%25.… <http://wiki.dkf.wiki/xwiki/bin/export/Space/Page?format=xar&pages=duto:%25.…>>>] ERROR kiDocumentLocaleEventGenerator - Document [duto:AfgeleidePrincipes.AP_P9doA5GQpspPj] has malformed history
>>>>>>>> com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute
>>>>>>>> at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:1305) ~[xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>>>>>>>> at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeRead(XWikiHibernateBaseStore.java:1338) ~[xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>>>>>>>> at com.xpn.xwiki.store.XWikiHibernateVersioningStore.loadRCSNodeContent(XWikiHibernateVersioningStore.java:291) ~[xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>>>>>>>> at com.xpn.xwiki.doc.rcs.XWikiRCSNodeInfo.getContent(XWikiRCSNodeInfo.java:194) ~[xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>>>>>>>> at com.xpn.xwiki.doc.rcs.XWikiRCSArchive.<init>(XWikiRCSArchive.java:79) ~[xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>>>>>>>> at com.xpn.xwiki.doc.XWikiDocumentArchive.getArchive(XWikiDocumentArchive.java:199) ~[xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>>>>>>>> at org.xwiki.filter.instance.internal.input.XWikiDocumentLocaleEventGenerator.write(XWikiDocumentLocaleEventGenerator.java:90) [xwiki-platform-filter-instance-oldcore-6.4.5.jar:na]
>>>>>>>> at org.xwiki.filter.instance.internal.input.XWikiDocumentLocaleEventGenerator.write(XWikiDocumentLocaleEventGenerator.java:55) [xwiki-platform-filter-instance-oldcore-6.4.5.jar:na]
>>>>>>>> at org.xwiki.filter.instance.internal.input.AbstractBeanEntityEventGenerator.write(AbstractBeanEntityEventGenerator.java:114) [xwiki-platform-filter-instance-api-6.4.5.jar:na]
>>>>>>>> at org.xwiki.filter.instance.input.AbstractEntityEventGenerator.write(AbstractEntityEventGenerator.java:77) [xwiki-platform-filter-instance-api-6.4.5.jar:na]
>>>>>>>> at org.xwiki.filter.instance.internal.input.DocumentInstanceInputEventGenerator.beginWikiDocument(DocumentInstanceInputEventGenerator.java:107) [xwiki-platform-filter-instance-oldcore-6.4.5.jar:na]
>>>>>>>> at org.xwiki.filter.instance.internal.input.InstanceInputFilterStream.writeDocument(InstanceInputFilterStream.java:213) [xwiki-platform-filter-instance-api-6.4.5.jar:na]
>>>>>>>> at org.xwiki.filter.instance.internal.input.InstanceInputFilterStream.writeSpace(InstanceInputFilterStream.java:186) [xwiki-platform-filter-instance-api-6.4.5.jar:na]
>>>>>>>> at org.xwiki.filter.instance.internal.input.InstanceInputFilterStream.writeWiki(InstanceInputFilterStream.java:158) [xwiki-platform-filter-instance-api-6.4.5.jar:na]
>>>>>>>> at org.xwiki.filter.instance.internal.input.InstanceInputFilterStream.read(InstanceInputFilterStream.java:131) [xwiki-platform-filter-instance-api-6.4.5.jar:na]
>>>>>>>> at org.xwiki.filter.instance.internal.input.InstanceInputFilterStream.read(InstanceInputFilterStream.java:53) [xwiki-platform-filter-instance-api-6.4.5.jar:na]
>>>>>>>> at org.xwiki.filter.input.AbstractBeanInputFilterStream.read(AbstractBeanInputFilterStream.java:80) [xwiki-commons-filter-api-6.4.5.jar:na]
>>>>>>>> at com.xpn.xwiki.web.ExportAction.exportXAR(ExportAction.java:332) [xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>>>>>>>> at com.xpn.xwiki.web.ExportAction.render(ExportAction.java:76) [xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>>>>>>>> at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:345) [xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>>>>>>>> at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:146) [xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>>>>>>>> at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425) [struts-core-1.3.10.jar:1.3.10]
>>>>>>>> at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228) [struts-core-1.3.10.jar:1.3.10]
>>>>>>>> at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913) [struts-core-1.3.10.jar:1.3.10]
>>>>>>>> at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449) [struts-core-1.3.10.jar:1.3.10]
>>>>>>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:620) [tomcat-servlet-3.0-api.jar:na]
>>>>>>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) [tomcat-servlet-3.0-api.jar:na]
>>>>>>>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) [catalina.jar:7.0.54]
>>>>>>>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.54]
>>>>>>>> at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:115) [xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>>>>>>>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.54]
>>>>>>>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.54]
>>>>>>>> at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:127) [xwiki-platform-wysiwyg-server-6.4.5.jar:na]
>>>>>>>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.54]
>>>>>>>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.54]
>>>>>>>> at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) [tomcat7-websocket.jar:7.0.54]
>>>>>>>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.54]
>>>>>>>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.54]
>>>>>>>> at org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63) [xwiki-platform-container-servlet-6.4.5.jar:na]
>>>>>>>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.54]
>>>>>>>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.54]
>>>>>>>> at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66) [xwiki-platform-webdav-server-6.4.5.jar:na]
>>>>>>>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.54]
>>>>>>>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.54]
>>>>>>>> at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208) [xwiki-platform-container-servlet-6.4.5.jar:na]
>>>>>>>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.54]
>>>>>>>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.54]
>>>>>>>> at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111) [xwiki-platform-container-servlet-6.4.5.jar:na]
>>>>>>>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.54]
>>>>>>>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.54]
>>>>>>>> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220) [catalina.jar:7.0.54]
>>>>>>>> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122) [catalina.jar:7.0.54]
>>>>>>>> at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501) [catalina.jar:7.0.54]
>>>>>>>> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) [catalina.jar:7.0.54]
>>>>>>>> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [catalina.jar:7.0.54]
>>>>>>>> at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950) [catalina.jar:7.0.54]
>>>>>>>> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) [catalina.jar:7.0.54]
>>>>>>>> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408) [catalina.jar:7.0.54]
>>>>>>>> at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:193) [tomcat-coyote.jar:7.0.54]
>>>>>>>> at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607) [tomcat-coyote.jar:7.0.54]
>>>>>>>> at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:314) [tomcat-coyote.jar:7.0.54]
>>>>>>>> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_85]
>>>>>>>> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_85]
>>>>>>>> at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-coyote.jar:7.0.54]
>>>>>>>> at java.lang.Thread.run(Thread.java:745) [na:1.7.0_85]
>>>>>>>> Caused by: org.hibernate.ObjectNotFoundException: No row with the given identifier exists: [com.xpn.xwiki.doc.rcs.XWikiRCSNodeContent#com.xpn.xwiki.doc.rcs.XWikiRCSNodeId(a)472d6673[docId=9066115529778850634,version=11.1]]
>>>>>>>> at org.hibernate.impl.SessionFactoryImpl$2.handleEntityNotFound(SessionFactoryImpl.java:435) ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
>>>>>>>> at org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:233) ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
>>>>>>>> at org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:285) ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
>>>>>>>> at org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:152) ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
>>>>>>>> at org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:1090) ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
>>>>>>>> at org.hibernate.impl.SessionImpl.load(SessionImpl.java:974) ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
>>>>>>>> at com.xpn.xwiki.store.XWikiHibernateVersioningStore$4.doInHibernate(XWikiHibernateVersioningStore.java:297) ~[xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>>>>>>>> at com.xpn.xwiki.store.XWikiHibernateVersioningStore$4.doInHibernate(XWikiHibernateVersioningStore.java:292) ~[xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>>>>>>>> at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:1299) ~[xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>>>>>>>> ... 64 common frames omitted
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>> Br,
>>>>>>>>>
>>>>>>>>> Peter
>>>>>>>>>
>>>>>>>>>> Hi Peter,
>>>>>>>>>>
>>>>>>>>>> Of course, though you might want to think a bit on the approach.
>>>>>>>>>>
>>>>>>>>>> 1) If you want to do it in XWiki using the scheduler plugin, you have to
>>>>>>>>>> write some groovy script [1] in the scheduled task that you create in
>>>>>>>>> order
>>>>>>>>>> to use the filter module [2] (or the old packager module [3], whichever
>>>>>>>>> you
>>>>>>>>>> choose) in order to export the pages you are interested in and save the
>>>>>>>>>> result (on the filesystem or as an attachment in a page).
>>>>>>>>>>
>>>>>>>>>> As inspiration, you could check out the source code (in java) of the
>>>>>>>>> export
>>>>>>>>>> action [4] which is exactly what is going on when you are exporting a
>>>>>>>>> page
>>>>>>>>>> from the UI.
>>>>>>>>>>
>>>>>>>>>> 2) A simpler choice, IMO, would be to schedule a cron [5] task on a linux
>>>>>>>>>> machine (possible the same one running the XWiki instance) and have that
>>>>>>>>>> task simply download (using something like cURL [6]) the result of a
>>>>>>>>>> manually crafter export URL (as detailed in our documentation [7])
>>>>>>>>>> containing the list of pages to export.
>>>>>>>>>>
>>>>>>>>>> Hope this helps,
>>>>>>>>>> Eduard
>>>>>>>>>>
>>>>>>>>>> ----------
>>>>>>>>>> [1] http://platform.xwiki.org/xwiki/bin/view/DevGuide/Scripting <http://platform.xwiki.org/xwiki/bin/view/DevGuide/Scripting> <http://platform.xwiki.org/xwiki/bin/view/DevGuide/Scripting <http://platform.xwiki.org/xwiki/bin/view/DevGuide/Scripting>> <http://platform.xwiki.org/xwiki/bin/view/DevGuide/Scripting <http://platform.xwiki.org/xwiki/bin/view/DevGuide/Scripting> <http://platform.xwiki.org/xwiki/bin/view/DevGuide/Scripting <http://platform.xwiki.org/xwiki/bin/view/DevGuide/Scripting>>>
>>>>>>>>>> [2] http://extensions.xwiki.org/xwiki/bin/view/Extension/Filter+Module <http://extensions.xwiki.org/xwiki/bin/view/Extension/Filter+Module> <http://extensions.xwiki.org/xwiki/bin/view/Extension/Filter+Module <http://extensions.xwiki.org/xwiki/bin/view/Extension/Filter+Module>> <http://extensions.xwiki.org/xwiki/bin/view/Extension/Filter+Module <http://extensions.xwiki.org/xwiki/bin/view/Extension/Filter+Module> <http://extensions.xwiki.org/xwiki/bin/view/Extension/Filter+Module <http://extensions.xwiki.org/xwiki/bin/view/Extension/Filter+Module>>>
>>>>>>>>>> [3]
>>>>>>>>>>
>>>>>>>>> https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwi… <https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwi…> <https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwi… <https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwi…>> <https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwi… <https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwi…> <https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwi… <https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwi…>>>
>>>>>>>>>> [4]
>>>>>>>>>>
>>>>>>>>> https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwi… <https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwi…> <https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwi… <https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwi…>>
>>>>>>>>>> [5] https://en.wikipedia.org/wiki/Cron <https://en.wikipedia.org/wiki/Cron>
>>>>>>>>>> [6] https://en.wikipedia.org/wiki/CURL <https://en.wikipedia.org/wiki/CURL>
>>>>>>>>>> [7] http://platform.xwiki.org/xwiki/bin/view/Features/Exports#HXARExport <http://platform.xwiki.org/xwiki/bin/view/Features/Exports#HXARExport>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> On Thu, Sep 17, 2015 at 3:49 PM, Peter Huisman <p.huisman(a)ximm.nl <mailto:p.huisman@ximm.nl>>
>>>>>>>>> wrote:
>>>>>>>>>>
>>>>>>>>>>> Hi,
>>>>>>>>>>>
>>>>>>>>>>> Is there a way to generate XAR’s using XWiki’s scheduling function? I’m
>>>>>>>>>>> not looking for a DB based backup but merely for a backup of spaces /
>>>>>>>>> pages.
>>>>>>>>>>>
>>>>>>>>>>> With kind regards,
>>>>>>>>>>>
>>>>>>>>>>> Peter
>>>>>>>>>>> _______________________________________________
>>>>>>>>>>> users mailing list
>>>>>>>>>>> users(a)xwiki.org <mailto:users@xwiki.org>
>>>>>>>>>>> http://lists.xwiki.org/mailman/listinfo/users
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>> _______________________________________________
>>>>>>>>> users mailing list
>>>>>>>>> users(a)xwiki.org <mailto:users@xwiki.org>
>>>>>>>>> http://lists.xwiki.org/mailman/listinfo/users
>>>>>>>>>
>>>>>>>> _______________________________________________
>>>>>>>> users mailing list
>>>>>>>> users(a)xwiki.org <mailto:users@xwiki.org> <mailto:users@xwiki.org <mailto:users@xwiki.org>>
>>>>>>>> http://lists.xwiki.org/mailman/listinfo/users <http://lists.xwiki.org/mailman/listinfo/users>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Thomas Mortagne
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> Van: Caleb James DeLisle <cjd(a)cjdns.fr <mailto:cjd@cjdns.fr> <mailto:cjd@cjdns.fr <mailto:cjd@cjdns.fr>>>
>>>>>>> Onderwerp: [xwiki-users] [myxwiki] Request for new wiki
>>>>>>> Datum: 24 september 2015 10:35:49 CEST
>>>>>>> Aan: XWiki Users <users(a)xwiki.org <mailto:users@xwiki.org> <mailto:users@xwiki.org <mailto:users@xwiki.org>>>
>>>>>>> Antwoord aan: XWiki Users <users(a)xwiki.org <mailto:users@xwiki.org> <mailto:users@xwiki.org <mailto:users@xwiki.org>>>
>>>>>>>
>>>>>>>
>>>>>>> Hi,
>>>>>>>
>>>>>>> I'd like to start a wiki for documenting a small sociological project
>>>>>>> which I'm doing with a few friends. It will be closed while the project
>>>>>>> is ongoing but we intend to make our findings usable to the outside world
>>>>>>> when the project is complete.
>>>>>>>
>>>>>>> My username is CalebJamesDeLisle and I'd like a wiki named 'grw'
>>>>>>>
>>>>>>> Thanks,
>>>>>>> Caleb
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> users mailing list
>>>>>>> users(a)xwiki.org <mailto:users@xwiki.org> <mailto:users@xwiki.org <mailto:users@xwiki.org>>
>>>>>>> http://lists.xwiki.org/mailman/listinfo/users <http://lists.xwiki.org/mailman/listinfo/users>
>>>>>>
>>>>>> _______________________________________________
>>>>>> users mailing list
>>>>>> users(a)xwiki.org <mailto:users@xwiki.org> <mailto:users@xwiki.org <mailto:users@xwiki.org>>
>>>>>> http://lists.xwiki.org/mailman/listinfo/users <http://lists.xwiki.org/mailman/listinfo/users>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Thomas Mortagne
>>>>
>>>>
>>>>
>>>> --
>>>> Thomas Mortagne
>>>
>>>
>>>
>>> --
>>> Thomas Mortagne
>>>
>>>
>>>
>>> _______________________________________________
>>> users mailing list
>>> users(a)xwiki.org <mailto:users@xwiki.org> <mailto:users@xwiki.org <mailto:users@xwiki.org>>
>>> http://lists.xwiki.org/mailman/listinfo/users <http://lists.xwiki.org/mailman/listinfo/users>
>>
>> _______________________________________________
>> users mailing list
>> users(a)xwiki.org <mailto:users@xwiki.org>
>> http://lists.xwiki.org/mailman/listinfo/users
>
>
>
> --
> Thomas Mortagne
>
>
>
> _______________________________________________
> users mailing list
> users(a)xwiki.org <mailto:users@xwiki.org>
> http://lists.xwiki.org/mailman/listinfo/users
I did some testing on this document and it’s history:
LocalDocumentReference docLDR = new LocalDocumentReference(spaceName, pageName);
DocumentReference docRef = new DocumentReference(docLDR, new WikiReference(this.CONTEXT.getWikiId()));
XWikiDocument a = new XWikiDocument(docRef);
XWikiVersioningStoreInterface b = a.getVersioningStore(this.CONTEXT);
Version[] c = b.getXWikiDocVersions(a, this.CONTEXT);
XWikiDocumentArchive e = b.getXWikiDocumentArchive(a, this.CONTEXT);
for(Version version : c) {
XWikiDocument f = e.loadDocument(version, this.CONTEXT);
BaseObject g = f.getXObject(new DocumentReference(this.wiki.getName(), "DutoCode", "AfgeleidPrincipeClass"));
}
This gives me all of the document versions that are available and there are no error showing the Object data (I’ve removed all the logging statements). So no documents are empty.
Any suggestion on where to look for?
>
>> From what I understand from the error it looks like some version(s) of
> the document have identifiers but no content.
>
> On Thu, Sep 24, 2015 at 11:01 AM, Thomas Mortagne
> <thomas.mortagne(a)xwiki.com <mailto:thomas.mortagne@xwiki.com>> wrote:
>> Actually it's a little more that than, it ask for a String version of
>> the history which is more what happen when a document is deleted.
>>
>> On Thu, Sep 24, 2015 at 10:59 AM, Thomas Mortagne
>> <thomas.mortagne(a)xwiki.com <mailto:thomas.mortagne@xwiki.com>> wrote:
>>> According to the trace it just ask for document version handler,
>>> nothing more. And that supposed to happen exactly the same way when
>>> you look at the document versions.
>>>
>>>
>>> On Thu, Sep 24, 2015 at 10:57 AM, Peter Huisman <p.huisman(a)ximm.nl <mailto:p.huisman@ximm.nl>> wrote:
>>>> That’s the point: As far as I can tell, everything seems to be in order. What really puzzles me is that - as per the first example - there is no version history present. The only available version is 1.2. Is the export function looking for versions earlier than the current function or is it just looking for “page version objects”?
>>>>
>>>> If I use the default Admin Export function, I do see all available versions for the documents. Importing the page also gives me a full list of all available versions which I can also revert. After this, it also show up with no errors in it.
>>>>
>>>>>
>>>>> Looks like the history of those object is not in a great shape. Are
>>>>> you able to view the history of those documents in error and access
>>>>> each version ?
>>>>>
>>>>> On Thu, Sep 24, 2015 at 10:14 AM, Peter Huisman <p.huisman(a)ximm.nl <mailto:p.huisman@ximm.nl>> wrote:
>>>>>> Hi Eduard,
>>>>>>
>>>>>> We have proceeded as per your advice and created a cron with the URL as explained on http://platform.xwiki.org/xwiki/bin/view/Features/Exports#HXARExport <http://platform.xwiki.org/xwiki/bin/view/Features/Exports#HXARExport> <http://platform.xwiki.org/xwiki/bin/view/Features/Exports#HXARExport <http://platform.xwiki.org/xwiki/bin/view/Features/Exports#HXARExport>>. It however generates a lot of (in my eyes) unexpected errors in the Log file (resulting in a Log file size of over 500Mb). When we do an export using the Admin panel, we do not encounter this problem.
>>>>>>
>>>>>> [example 1]
>>>>>> the Page (in Bold) has only 1 version (version 1.2) present (and no minor versions). There are no additional errors for this document.
>>>>>> [example 2]
>>>>>> This page (also Bold) actually has a version history. The document’s current version is 14.1 with 2 intermediate (lower) versions before 11.1 and quite a few below that. Apparently, the export indicates that there is an error in 11.1 but I’m unable to determine the error in the objects. The higher versions do not generate an error and I expect that he quits after the error.
>>>>>>
>>>>>> Note: Our pages only contain Custom Objects and Comment objects. There’s no actual content on the page.
>>>>>> Note: I can not find any version information in the XAR. It seems that only a single version is included in the Export.
>>>>>>
>>>>>> Can someone explain why this is happening or guide me towards a solution and (more important :-)) how to correct this?
>>>>>>
>>>>>> With kind regards,
>>>>>>
>>>>>> Peter
>>>>>>
>>>>>> [example 1]
>>>>>> 2015-09-23 03:10:40,084 [http://wiki.dkf.wiki/xwiki/bin/export/Space/Page?format=xar&pages=vr360brab… <http://wiki.dkf.wiki/xwiki/bin/export/Space/Page?format=xar&pages=vr360brab…> <http://wiki.dkf.wiki/xwiki/bin/export/Space/Page?format=xar&pages=vr360brab… <http://wiki.dkf.wiki/xwiki/bin/export/Space/Page?format=xar&pages=vr360brab…>>] ERROR kiDocumentLocaleEventGenerator - Document [vr360brabant:ZTCVR50348655.EIGSW_jq4Q8bdPCP7zE] has malformed history
>>>>>> com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute
>>>>>> at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:1305) ~[xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>>>>>> at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeRead(XWikiHibernateBaseStore.java:1338) ~[xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>>>>>> at com.xpn.xwiki.store.XWikiHibernateVersioningStore.loadRCSNodeContent(XWikiHibernateVersioningStore.java:291) ~[xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>>>>>> at com.xpn.xwiki.doc.rcs.XWikiRCSNodeInfo.getContent(XWikiRCSNodeInfo.java:194) ~[xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>>>>>> at com.xpn.xwiki.doc.rcs.XWikiRCSArchive.<init>(XWikiRCSArchive.java:79) ~[xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>>>>>> at com.xpn.xwiki.doc.XWikiDocumentArchive.getArchive(XWikiDocumentArchive.java:199) ~[xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>>>>>> at org.xwiki.filter.instance.internal.input.XWikiDocumentLocaleEventGenerator.write(XWikiDocumentLocaleEventGenerator.java:90) [xwiki-platform-filter-instance-oldcore-6.4.5.jar:na]
>>>>>> at org.xwiki.filter.instance.internal.input.XWikiDocumentLocaleEventGenerator.write(XWikiDocumentLocaleEventGenerator.java:55) [xwiki-platform-filter-instance-oldcore-6.4.5.jar:na]
>>>>>> at org.xwiki.filter.instance.internal.input.AbstractBeanEntityEventGenerator.write(AbstractBeanEntityEventGenerator.java:114) [xwiki-platform-filter-instance-api-6.4.5.jar:na]
>>>>>> at org.xwiki.filter.instance.input.AbstractEntityEventGenerator.write(AbstractEntityEventGenerator.java:77) [xwiki-platform-filter-instance-api-6.4.5.jar:na]
>>>>>> at org.xwiki.filter.instance.internal.input.DocumentInstanceInputEventGenerator.beginWikiDocument(DocumentInstanceInputEventGenerator.java:107) [xwiki-platform-filter-instance-oldcore-6.4.5.jar:na]
>>>>>> at org.xwiki.filter.instance.internal.input.InstanceInputFilterStream.writeDocument(InstanceInputFilterStream.java:213) [xwiki-platform-filter-instance-api-6.4.5.jar:na]
>>>>>> at org.xwiki.filter.instance.internal.input.InstanceInputFilterStream.writeSpace(InstanceInputFilterStream.java:186) [xwiki-platform-filter-instance-api-6.4.5.jar:na]
>>>>>> at org.xwiki.filter.instance.internal.input.InstanceInputFilterStream.writeWiki(InstanceInputFilterStream.java:158) [xwiki-platform-filter-instance-api-6.4.5.jar:na]
>>>>>> at org.xwiki.filter.instance.internal.input.InstanceInputFilterStream.read(InstanceInputFilterStream.java:131) [xwiki-platform-filter-instance-api-6.4.5.jar:na]
>>>>>> at org.xwiki.filter.instance.internal.input.InstanceInputFilterStream.read(InstanceInputFilterStream.java:53) [xwiki-platform-filter-instance-api-6.4.5.jar:na]
>>>>>> at org.xwiki.filter.input.AbstractBeanInputFilterStream.read(AbstractBeanInputFilterStream.java:80) [xwiki-commons-filter-api-6.4.5.jar:na]
>>>>>> at com.xpn.xwiki.web.ExportAction.exportXAR(ExportAction.java:332) [xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>>>>>> at com.xpn.xwiki.web.ExportAction.render(ExportAction.java:76) [xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>>>>>> at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:345) [xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>>>>>> at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:146) [xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>>>>>> at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425) [struts-core-1.3.10.jar:1.3.10]
>>>>>> at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228) [struts-core-1.3.10.jar:1.3.10]
>>>>>> at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913) [struts-core-1.3.10.jar:1.3.10]
>>>>>> at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449) [struts-core-1.3.10.jar:1.3.10]
>>>>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:620) [tomcat-servlet-3.0-api.jar:na]
>>>>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) [tomcat-servlet-3.0-api.jar:na]
>>>>>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) [catalina.jar:7.0.54]
>>>>>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.54]
>>>>>> at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:115) [xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>>>>>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.54]
>>>>>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.54]
>>>>>> at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:127) [xwiki-platform-wysiwyg-server-6.4.5.jar:na]
>>>>>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.54]
>>>>>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.54]
>>>>>> at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) [tomcat7-websocket.jar:7.0.54]
>>>>>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.54]
>>>>>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.54]
>>>>>> at org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63) [xwiki-platform-container-servlet-6.4.5.jar:na]
>>>>>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.54]
>>>>>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.54]
>>>>>> at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66) [xwiki-platform-webdav-server-6.4.5.jar:na]
>>>>>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.54]
>>>>>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.54]
>>>>>> at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208) [xwiki-platform-container-servlet-6.4.5.jar:na]
>>>>>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.54]
>>>>>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.54]
>>>>>> at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111) [xwiki-platform-container-servlet-6.4.5.jar:na]
>>>>>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.54]
>>>>>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.54]
>>>>>> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220) [catalina.jar:7.0.54]
>>>>>> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122) [catalina.jar:7.0.54]
>>>>>> at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501) [catalina.jar:7.0.54]
>>>>>> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) [catalina.jar:7.0.54]
>>>>>> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [catalina.jar:7.0.54]
>>>>>> at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950) [catalina.jar:7.0.54]
>>>>>> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) [catalina.jar:7.0.54]
>>>>>> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408) [catalina.jar:7.0.54]
>>>>>> at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:193) [tomcat-coyote.jar:7.0.54]
>>>>>> at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607) [tomcat-coyote.jar:7.0.54]
>>>>>> at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:314) [tomcat-coyote.jar:7.0.54]
>>>>>> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_85]
>>>>>> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_85]
>>>>>> at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-coyote.jar:7.0.54]
>>>>>> at java.lang.Thread.run(Thread.java:745) [na:1.7.0_85]
>>>>>> Caused by: org.hibernate.ObjectNotFoundException: No row with the given identifier exists: [com.xpn.xwiki.doc.rcs.XWikiRCSNodeContent#com.xpn.xwiki.doc.rcs.XWikiRCSNodeId(a)3241c34b[docId=4003338556527287548,version=1.2]]
>>>>>> at org.hibernate.impl.SessionFactoryImpl$2.handleEntityNotFound(SessionFactoryImpl.java:435) ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
>>>>>> at org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:233) ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
>>>>>> at org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:285) ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
>>>>>> at org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:152) ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
>>>>>> at org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:1090) ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
>>>>>> at org.hibernate.impl.SessionImpl.load(SessionImpl.java:974) ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
>>>>>> at com.xpn.xwiki.store.XWikiHibernateVersioningStore$4.doInHibernate(XWikiHibernateVersioningStore.java:297) ~[xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>>>>>> at com.xpn.xwiki.store.XWikiHibernateVersioningStore$4.doInHibernate(XWikiHibernateVersioningStore.java:292) ~[xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>>>>>> at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:1299) ~[xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>>>>>> ... 64 common frames omitted
>>>>>>
>>>>>>
>>>>>> [example 2]
>>>>>> 2015-09-23 03:15:09,925 [http://wiki.dkf.wiki/xwiki/bin/export/Space/Page?format=xar&pages=duto:%25.… <http://wiki.dkf.wiki/xwiki/bin/export/Space/Page?format=xar&pages=duto:%25.…> <http://wiki.dkf.wiki/xwiki/bin/export/Space/Page?format=xar&pages=duto:%25.… <http://wiki.dkf.wiki/xwiki/bin/export/Space/Page?format=xar&pages=duto:%25.…>>] ERROR kiDocumentLocaleEventGenerator - Document [duto:AfgeleidePrincipes.AP_P9doA5GQpspPj] has malformed history
>>>>>> com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute
>>>>>> at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:1305) ~[xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>>>>>> at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeRead(XWikiHibernateBaseStore.java:1338) ~[xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>>>>>> at com.xpn.xwiki.store.XWikiHibernateVersioningStore.loadRCSNodeContent(XWikiHibernateVersioningStore.java:291) ~[xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>>>>>> at com.xpn.xwiki.doc.rcs.XWikiRCSNodeInfo.getContent(XWikiRCSNodeInfo.java:194) ~[xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>>>>>> at com.xpn.xwiki.doc.rcs.XWikiRCSArchive.<init>(XWikiRCSArchive.java:79) ~[xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>>>>>> at com.xpn.xwiki.doc.XWikiDocumentArchive.getArchive(XWikiDocumentArchive.java:199) ~[xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>>>>>> at org.xwiki.filter.instance.internal.input.XWikiDocumentLocaleEventGenerator.write(XWikiDocumentLocaleEventGenerator.java:90) [xwiki-platform-filter-instance-oldcore-6.4.5.jar:na]
>>>>>> at org.xwiki.filter.instance.internal.input.XWikiDocumentLocaleEventGenerator.write(XWikiDocumentLocaleEventGenerator.java:55) [xwiki-platform-filter-instance-oldcore-6.4.5.jar:na]
>>>>>> at org.xwiki.filter.instance.internal.input.AbstractBeanEntityEventGenerator.write(AbstractBeanEntityEventGenerator.java:114) [xwiki-platform-filter-instance-api-6.4.5.jar:na]
>>>>>> at org.xwiki.filter.instance.input.AbstractEntityEventGenerator.write(AbstractEntityEventGenerator.java:77) [xwiki-platform-filter-instance-api-6.4.5.jar:na]
>>>>>> at org.xwiki.filter.instance.internal.input.DocumentInstanceInputEventGenerator.beginWikiDocument(DocumentInstanceInputEventGenerator.java:107) [xwiki-platform-filter-instance-oldcore-6.4.5.jar:na]
>>>>>> at org.xwiki.filter.instance.internal.input.InstanceInputFilterStream.writeDocument(InstanceInputFilterStream.java:213) [xwiki-platform-filter-instance-api-6.4.5.jar:na]
>>>>>> at org.xwiki.filter.instance.internal.input.InstanceInputFilterStream.writeSpace(InstanceInputFilterStream.java:186) [xwiki-platform-filter-instance-api-6.4.5.jar:na]
>>>>>> at org.xwiki.filter.instance.internal.input.InstanceInputFilterStream.writeWiki(InstanceInputFilterStream.java:158) [xwiki-platform-filter-instance-api-6.4.5.jar:na]
>>>>>> at org.xwiki.filter.instance.internal.input.InstanceInputFilterStream.read(InstanceInputFilterStream.java:131) [xwiki-platform-filter-instance-api-6.4.5.jar:na]
>>>>>> at org.xwiki.filter.instance.internal.input.InstanceInputFilterStream.read(InstanceInputFilterStream.java:53) [xwiki-platform-filter-instance-api-6.4.5.jar:na]
>>>>>> at org.xwiki.filter.input.AbstractBeanInputFilterStream.read(AbstractBeanInputFilterStream.java:80) [xwiki-commons-filter-api-6.4.5.jar:na]
>>>>>> at com.xpn.xwiki.web.ExportAction.exportXAR(ExportAction.java:332) [xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>>>>>> at com.xpn.xwiki.web.ExportAction.render(ExportAction.java:76) [xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>>>>>> at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:345) [xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>>>>>> at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:146) [xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>>>>>> at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425) [struts-core-1.3.10.jar:1.3.10]
>>>>>> at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228) [struts-core-1.3.10.jar:1.3.10]
>>>>>> at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913) [struts-core-1.3.10.jar:1.3.10]
>>>>>> at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449) [struts-core-1.3.10.jar:1.3.10]
>>>>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:620) [tomcat-servlet-3.0-api.jar:na]
>>>>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) [tomcat-servlet-3.0-api.jar:na]
>>>>>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) [catalina.jar:7.0.54]
>>>>>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.54]
>>>>>> at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:115) [xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>>>>>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.54]
>>>>>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.54]
>>>>>> at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:127) [xwiki-platform-wysiwyg-server-6.4.5.jar:na]
>>>>>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.54]
>>>>>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.54]
>>>>>> at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) [tomcat7-websocket.jar:7.0.54]
>>>>>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.54]
>>>>>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.54]
>>>>>> at org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63) [xwiki-platform-container-servlet-6.4.5.jar:na]
>>>>>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.54]
>>>>>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.54]
>>>>>> at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66) [xwiki-platform-webdav-server-6.4.5.jar:na]
>>>>>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.54]
>>>>>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.54]
>>>>>> at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208) [xwiki-platform-container-servlet-6.4.5.jar:na]
>>>>>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.54]
>>>>>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.54]
>>>>>> at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111) [xwiki-platform-container-servlet-6.4.5.jar:na]
>>>>>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.54]
>>>>>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.54]
>>>>>> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220) [catalina.jar:7.0.54]
>>>>>> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122) [catalina.jar:7.0.54]
>>>>>> at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501) [catalina.jar:7.0.54]
>>>>>> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) [catalina.jar:7.0.54]
>>>>>> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [catalina.jar:7.0.54]
>>>>>> at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950) [catalina.jar:7.0.54]
>>>>>> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) [catalina.jar:7.0.54]
>>>>>> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408) [catalina.jar:7.0.54]
>>>>>> at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:193) [tomcat-coyote.jar:7.0.54]
>>>>>> at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607) [tomcat-coyote.jar:7.0.54]
>>>>>> at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:314) [tomcat-coyote.jar:7.0.54]
>>>>>> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_85]
>>>>>> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_85]
>>>>>> at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-coyote.jar:7.0.54]
>>>>>> at java.lang.Thread.run(Thread.java:745) [na:1.7.0_85]
>>>>>> Caused by: org.hibernate.ObjectNotFoundException: No row with the given identifier exists: [com.xpn.xwiki.doc.rcs.XWikiRCSNodeContent#com.xpn.xwiki.doc.rcs.XWikiRCSNodeId(a)472d6673[docId=9066115529778850634,version=11.1]]
>>>>>> at org.hibernate.impl.SessionFactoryImpl$2.handleEntityNotFound(SessionFactoryImpl.java:435) ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
>>>>>> at org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:233) ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
>>>>>> at org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:285) ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
>>>>>> at org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:152) ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
>>>>>> at org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:1090) ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
>>>>>> at org.hibernate.impl.SessionImpl.load(SessionImpl.java:974) ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
>>>>>> at com.xpn.xwiki.store.XWikiHibernateVersioningStore$4.doInHibernate(XWikiHibernateVersioningStore.java:297) ~[xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>>>>>> at com.xpn.xwiki.store.XWikiHibernateVersioningStore$4.doInHibernate(XWikiHibernateVersioningStore.java:292) ~[xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>>>>>> at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:1299) ~[xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>>>>>> ... 64 common frames omitted
>>>>>>
>>>>>>
>>>>>>
>>>>>>> Br,
>>>>>>>
>>>>>>> Peter
>>>>>>>
>>>>>>>> Hi Peter,
>>>>>>>>
>>>>>>>> Of course, though you might want to think a bit on the approach.
>>>>>>>>
>>>>>>>> 1) If you want to do it in XWiki using the scheduler plugin, you have to
>>>>>>>> write some groovy script [1] in the scheduled task that you create in
>>>>>>> order
>>>>>>>> to use the filter module [2] (or the old packager module [3], whichever
>>>>>>> you
>>>>>>>> choose) in order to export the pages you are interested in and save the
>>>>>>>> result (on the filesystem or as an attachment in a page).
>>>>>>>>
>>>>>>>> As inspiration, you could check out the source code (in java) of the
>>>>>>> export
>>>>>>>> action [4] which is exactly what is going on when you are exporting a
>>>>>>> page
>>>>>>>> from the UI.
>>>>>>>>
>>>>>>>> 2) A simpler choice, IMO, would be to schedule a cron [5] task on a linux
>>>>>>>> machine (possible the same one running the XWiki instance) and have that
>>>>>>>> task simply download (using something like cURL [6]) the result of a
>>>>>>>> manually crafter export URL (as detailed in our documentation [7])
>>>>>>>> containing the list of pages to export.
>>>>>>>>
>>>>>>>> Hope this helps,
>>>>>>>> Eduard
>>>>>>>>
>>>>>>>> ----------
>>>>>>>> [1] http://platform.xwiki.org/xwiki/bin/view/DevGuide/Scripting <http://platform.xwiki.org/xwiki/bin/view/DevGuide/Scripting> <http://platform.xwiki.org/xwiki/bin/view/DevGuide/Scripting <http://platform.xwiki.org/xwiki/bin/view/DevGuide/Scripting>>
>>>>>>>> [2] http://extensions.xwiki.org/xwiki/bin/view/Extension/Filter+Module <http://extensions.xwiki.org/xwiki/bin/view/Extension/Filter+Module> <http://extensions.xwiki.org/xwiki/bin/view/Extension/Filter+Module <http://extensions.xwiki.org/xwiki/bin/view/Extension/Filter+Module>>
>>>>>>>> [3]
>>>>>>>>
>>>>>>> https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwi… <https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwi…> <https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwi… <https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwi…>>
>>>>>>>> [4]
>>>>>>>>
>>>>>>> https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwi… <https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwi…>
>>>>>>>> [5] https://en.wikipedia.org/wiki/Cron
>>>>>>>> [6] https://en.wikipedia.org/wiki/CURL
>>>>>>>> [7] http://platform.xwiki.org/xwiki/bin/view/Features/Exports#HXARExport
>>>>>>>>
>>>>>>>>
>>>>>>>> On Thu, Sep 17, 2015 at 3:49 PM, Peter Huisman <p.huisman(a)ximm.nl>
>>>>>>> wrote:
>>>>>>>>
>>>>>>>>> Hi,
>>>>>>>>>
>>>>>>>>> Is there a way to generate XAR’s using XWiki’s scheduling function? I’m
>>>>>>>>> not looking for a DB based backup but merely for a backup of spaces /
>>>>>>> pages.
>>>>>>>>>
>>>>>>>>> With kind regards,
>>>>>>>>>
>>>>>>>>> Peter
>>>>>>>>> _______________________________________________
>>>>>>>>> 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
>>>>>>>
>>>>>> _______________________________________________
>>>>>> users mailing list
>>>>>> users(a)xwiki.org <mailto:users@xwiki.org>
>>>>>> http://lists.xwiki.org/mailman/listinfo/users
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Thomas Mortagne
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> Van: Caleb James DeLisle <cjd(a)cjdns.fr <mailto:cjd@cjdns.fr>>
>>>>> Onderwerp: [xwiki-users] [myxwiki] Request for new wiki
>>>>> Datum: 24 september 2015 10:35:49 CEST
>>>>> Aan: XWiki Users <users(a)xwiki.org <mailto:users@xwiki.org>>
>>>>> Antwoord aan: XWiki Users <users(a)xwiki.org <mailto:users@xwiki.org>>
>>>>>
>>>>>
>>>>> Hi,
>>>>>
>>>>> I'd like to start a wiki for documenting a small sociological project
>>>>> which I'm doing with a few friends. It will be closed while the project
>>>>> is ongoing but we intend to make our findings usable to the outside world
>>>>> when the project is complete.
>>>>>
>>>>> My username is CalebJamesDeLisle and I'd like a wiki named 'grw'
>>>>>
>>>>> Thanks,
>>>>> Caleb
>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> users mailing list
>>>>> users(a)xwiki.org <mailto:users@xwiki.org>
>>>>> http://lists.xwiki.org/mailman/listinfo/users
>>>>
>>>> _______________________________________________
>>>> users mailing list
>>>> users(a)xwiki.org <mailto:users@xwiki.org>
>>>> http://lists.xwiki.org/mailman/listinfo/users
>>>
>>>
>>>
>>> --
>>> Thomas Mortagne
>>
>>
>>
>> --
>> Thomas Mortagne
>
>
>
> --
> Thomas Mortagne
>
>
>
> _______________________________________________
> users mailing list
> users(a)xwiki.org <mailto:users@xwiki.org>
> http://lists.xwiki.org/mailman/listinfo/users
That’s the point: As far as I can tell, everything seems to be in order. What really puzzles me is that - as per the first example - there is no version history present. The only available version is 1.2. Is the export function looking for versions earlier than the current function or is it just looking for “page version objects”?
If I use the default Admin Export function, I do see all available versions for the documents. Importing the page also gives me a full list of all available versions which I can also revert. After this, it also show up with no errors in it.
>
> Looks like the history of those object is not in a great shape. Are
> you able to view the history of those documents in error and access
> each version ?
>
> On Thu, Sep 24, 2015 at 10:14 AM, Peter Huisman <p.huisman(a)ximm.nl> wrote:
>> Hi Eduard,
>>
>> We have proceeded as per your advice and created a cron with the URL as explained on http://platform.xwiki.org/xwiki/bin/view/Features/Exports#HXARExport <http://platform.xwiki.org/xwiki/bin/view/Features/Exports#HXARExport>. It however generates a lot of (in my eyes) unexpected errors in the Log file (resulting in a Log file size of over 500Mb). When we do an export using the Admin panel, we do not encounter this problem.
>>
>> [example 1]
>> the Page (in Bold) has only 1 version (version 1.2) present (and no minor versions). There are no additional errors for this document.
>> [example 2]
>> This page (also Bold) actually has a version history. The document’s current version is 14.1 with 2 intermediate (lower) versions before 11.1 and quite a few below that. Apparently, the export indicates that there is an error in 11.1 but I’m unable to determine the error in the objects. The higher versions do not generate an error and I expect that he quits after the error.
>>
>> Note: Our pages only contain Custom Objects and Comment objects. There’s no actual content on the page.
>> Note: I can not find any version information in the XAR. It seems that only a single version is included in the Export.
>>
>> Can someone explain why this is happening or guide me towards a solution and (more important :-)) how to correct this?
>>
>> With kind regards,
>>
>> Peter
>>
>> [example 1]
>> 2015-09-23 03:10:40,084 [http://wiki.dkf.wiki/xwiki/bin/export/Space/Page?format=xar&pages=vr360brab… <http://wiki.dkf.wiki/xwiki/bin/export/Space/Page?format=xar&pages=vr360brab…>] ERROR kiDocumentLocaleEventGenerator - Document [vr360brabant:ZTCVR50348655.EIGSW_jq4Q8bdPCP7zE] has malformed history
>> com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute
>> at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:1305) ~[xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>> at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeRead(XWikiHibernateBaseStore.java:1338) ~[xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>> at com.xpn.xwiki.store.XWikiHibernateVersioningStore.loadRCSNodeContent(XWikiHibernateVersioningStore.java:291) ~[xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>> at com.xpn.xwiki.doc.rcs.XWikiRCSNodeInfo.getContent(XWikiRCSNodeInfo.java:194) ~[xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>> at com.xpn.xwiki.doc.rcs.XWikiRCSArchive.<init>(XWikiRCSArchive.java:79) ~[xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>> at com.xpn.xwiki.doc.XWikiDocumentArchive.getArchive(XWikiDocumentArchive.java:199) ~[xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>> at org.xwiki.filter.instance.internal.input.XWikiDocumentLocaleEventGenerator.write(XWikiDocumentLocaleEventGenerator.java:90) [xwiki-platform-filter-instance-oldcore-6.4.5.jar:na]
>> at org.xwiki.filter.instance.internal.input.XWikiDocumentLocaleEventGenerator.write(XWikiDocumentLocaleEventGenerator.java:55) [xwiki-platform-filter-instance-oldcore-6.4.5.jar:na]
>> at org.xwiki.filter.instance.internal.input.AbstractBeanEntityEventGenerator.write(AbstractBeanEntityEventGenerator.java:114) [xwiki-platform-filter-instance-api-6.4.5.jar:na]
>> at org.xwiki.filter.instance.input.AbstractEntityEventGenerator.write(AbstractEntityEventGenerator.java:77) [xwiki-platform-filter-instance-api-6.4.5.jar:na]
>> at org.xwiki.filter.instance.internal.input.DocumentInstanceInputEventGenerator.beginWikiDocument(DocumentInstanceInputEventGenerator.java:107) [xwiki-platform-filter-instance-oldcore-6.4.5.jar:na]
>> at org.xwiki.filter.instance.internal.input.InstanceInputFilterStream.writeDocument(InstanceInputFilterStream.java:213) [xwiki-platform-filter-instance-api-6.4.5.jar:na]
>> at org.xwiki.filter.instance.internal.input.InstanceInputFilterStream.writeSpace(InstanceInputFilterStream.java:186) [xwiki-platform-filter-instance-api-6.4.5.jar:na]
>> at org.xwiki.filter.instance.internal.input.InstanceInputFilterStream.writeWiki(InstanceInputFilterStream.java:158) [xwiki-platform-filter-instance-api-6.4.5.jar:na]
>> at org.xwiki.filter.instance.internal.input.InstanceInputFilterStream.read(InstanceInputFilterStream.java:131) [xwiki-platform-filter-instance-api-6.4.5.jar:na]
>> at org.xwiki.filter.instance.internal.input.InstanceInputFilterStream.read(InstanceInputFilterStream.java:53) [xwiki-platform-filter-instance-api-6.4.5.jar:na]
>> at org.xwiki.filter.input.AbstractBeanInputFilterStream.read(AbstractBeanInputFilterStream.java:80) [xwiki-commons-filter-api-6.4.5.jar:na]
>> at com.xpn.xwiki.web.ExportAction.exportXAR(ExportAction.java:332) [xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>> at com.xpn.xwiki.web.ExportAction.render(ExportAction.java:76) [xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>> at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:345) [xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>> at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:146) [xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>> at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425) [struts-core-1.3.10.jar:1.3.10]
>> at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228) [struts-core-1.3.10.jar:1.3.10]
>> at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913) [struts-core-1.3.10.jar:1.3.10]
>> at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449) [struts-core-1.3.10.jar:1.3.10]
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:620) [tomcat-servlet-3.0-api.jar:na]
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) [tomcat-servlet-3.0-api.jar:na]
>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) [catalina.jar:7.0.54]
>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.54]
>> at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:115) [xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.54]
>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.54]
>> at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:127) [xwiki-platform-wysiwyg-server-6.4.5.jar:na]
>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.54]
>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.54]
>> at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) [tomcat7-websocket.jar:7.0.54]
>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.54]
>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.54]
>> at org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63) [xwiki-platform-container-servlet-6.4.5.jar:na]
>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.54]
>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.54]
>> at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66) [xwiki-platform-webdav-server-6.4.5.jar:na]
>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.54]
>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.54]
>> at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208) [xwiki-platform-container-servlet-6.4.5.jar:na]
>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.54]
>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.54]
>> at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111) [xwiki-platform-container-servlet-6.4.5.jar:na]
>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.54]
>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.54]
>> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220) [catalina.jar:7.0.54]
>> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122) [catalina.jar:7.0.54]
>> at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501) [catalina.jar:7.0.54]
>> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) [catalina.jar:7.0.54]
>> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [catalina.jar:7.0.54]
>> at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950) [catalina.jar:7.0.54]
>> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) [catalina.jar:7.0.54]
>> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408) [catalina.jar:7.0.54]
>> at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:193) [tomcat-coyote.jar:7.0.54]
>> at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607) [tomcat-coyote.jar:7.0.54]
>> at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:314) [tomcat-coyote.jar:7.0.54]
>> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_85]
>> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_85]
>> at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-coyote.jar:7.0.54]
>> at java.lang.Thread.run(Thread.java:745) [na:1.7.0_85]
>> Caused by: org.hibernate.ObjectNotFoundException: No row with the given identifier exists: [com.xpn.xwiki.doc.rcs.XWikiRCSNodeContent#com.xpn.xwiki.doc.rcs.XWikiRCSNodeId(a)3241c34b[docId=4003338556527287548,version=1.2]]
>> at org.hibernate.impl.SessionFactoryImpl$2.handleEntityNotFound(SessionFactoryImpl.java:435) ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
>> at org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:233) ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
>> at org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:285) ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
>> at org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:152) ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
>> at org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:1090) ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
>> at org.hibernate.impl.SessionImpl.load(SessionImpl.java:974) ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
>> at com.xpn.xwiki.store.XWikiHibernateVersioningStore$4.doInHibernate(XWikiHibernateVersioningStore.java:297) ~[xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>> at com.xpn.xwiki.store.XWikiHibernateVersioningStore$4.doInHibernate(XWikiHibernateVersioningStore.java:292) ~[xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>> at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:1299) ~[xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>> ... 64 common frames omitted
>>
>>
>> [example 2]
>> 2015-09-23 03:15:09,925 [http://wiki.dkf.wiki/xwiki/bin/export/Space/Page?format=xar&pages=duto:%25.… <http://wiki.dkf.wiki/xwiki/bin/export/Space/Page?format=xar&pages=duto:%25.…>] ERROR kiDocumentLocaleEventGenerator - Document [duto:AfgeleidePrincipes.AP_P9doA5GQpspPj] has malformed history
>> com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute
>> at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:1305) ~[xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>> at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeRead(XWikiHibernateBaseStore.java:1338) ~[xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>> at com.xpn.xwiki.store.XWikiHibernateVersioningStore.loadRCSNodeContent(XWikiHibernateVersioningStore.java:291) ~[xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>> at com.xpn.xwiki.doc.rcs.XWikiRCSNodeInfo.getContent(XWikiRCSNodeInfo.java:194) ~[xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>> at com.xpn.xwiki.doc.rcs.XWikiRCSArchive.<init>(XWikiRCSArchive.java:79) ~[xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>> at com.xpn.xwiki.doc.XWikiDocumentArchive.getArchive(XWikiDocumentArchive.java:199) ~[xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>> at org.xwiki.filter.instance.internal.input.XWikiDocumentLocaleEventGenerator.write(XWikiDocumentLocaleEventGenerator.java:90) [xwiki-platform-filter-instance-oldcore-6.4.5.jar:na]
>> at org.xwiki.filter.instance.internal.input.XWikiDocumentLocaleEventGenerator.write(XWikiDocumentLocaleEventGenerator.java:55) [xwiki-platform-filter-instance-oldcore-6.4.5.jar:na]
>> at org.xwiki.filter.instance.internal.input.AbstractBeanEntityEventGenerator.write(AbstractBeanEntityEventGenerator.java:114) [xwiki-platform-filter-instance-api-6.4.5.jar:na]
>> at org.xwiki.filter.instance.input.AbstractEntityEventGenerator.write(AbstractEntityEventGenerator.java:77) [xwiki-platform-filter-instance-api-6.4.5.jar:na]
>> at org.xwiki.filter.instance.internal.input.DocumentInstanceInputEventGenerator.beginWikiDocument(DocumentInstanceInputEventGenerator.java:107) [xwiki-platform-filter-instance-oldcore-6.4.5.jar:na]
>> at org.xwiki.filter.instance.internal.input.InstanceInputFilterStream.writeDocument(InstanceInputFilterStream.java:213) [xwiki-platform-filter-instance-api-6.4.5.jar:na]
>> at org.xwiki.filter.instance.internal.input.InstanceInputFilterStream.writeSpace(InstanceInputFilterStream.java:186) [xwiki-platform-filter-instance-api-6.4.5.jar:na]
>> at org.xwiki.filter.instance.internal.input.InstanceInputFilterStream.writeWiki(InstanceInputFilterStream.java:158) [xwiki-platform-filter-instance-api-6.4.5.jar:na]
>> at org.xwiki.filter.instance.internal.input.InstanceInputFilterStream.read(InstanceInputFilterStream.java:131) [xwiki-platform-filter-instance-api-6.4.5.jar:na]
>> at org.xwiki.filter.instance.internal.input.InstanceInputFilterStream.read(InstanceInputFilterStream.java:53) [xwiki-platform-filter-instance-api-6.4.5.jar:na]
>> at org.xwiki.filter.input.AbstractBeanInputFilterStream.read(AbstractBeanInputFilterStream.java:80) [xwiki-commons-filter-api-6.4.5.jar:na]
>> at com.xpn.xwiki.web.ExportAction.exportXAR(ExportAction.java:332) [xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>> at com.xpn.xwiki.web.ExportAction.render(ExportAction.java:76) [xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>> at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:345) [xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>> at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:146) [xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>> at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425) [struts-core-1.3.10.jar:1.3.10]
>> at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228) [struts-core-1.3.10.jar:1.3.10]
>> at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913) [struts-core-1.3.10.jar:1.3.10]
>> at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449) [struts-core-1.3.10.jar:1.3.10]
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:620) [tomcat-servlet-3.0-api.jar:na]
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) [tomcat-servlet-3.0-api.jar:na]
>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) [catalina.jar:7.0.54]
>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.54]
>> at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:115) [xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.54]
>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.54]
>> at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:127) [xwiki-platform-wysiwyg-server-6.4.5.jar:na]
>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.54]
>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.54]
>> at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) [tomcat7-websocket.jar:7.0.54]
>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.54]
>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.54]
>> at org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63) [xwiki-platform-container-servlet-6.4.5.jar:na]
>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.54]
>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.54]
>> at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66) [xwiki-platform-webdav-server-6.4.5.jar:na]
>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.54]
>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.54]
>> at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208) [xwiki-platform-container-servlet-6.4.5.jar:na]
>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.54]
>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.54]
>> at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111) [xwiki-platform-container-servlet-6.4.5.jar:na]
>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.54]
>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.54]
>> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220) [catalina.jar:7.0.54]
>> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122) [catalina.jar:7.0.54]
>> at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501) [catalina.jar:7.0.54]
>> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) [catalina.jar:7.0.54]
>> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [catalina.jar:7.0.54]
>> at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950) [catalina.jar:7.0.54]
>> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) [catalina.jar:7.0.54]
>> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408) [catalina.jar:7.0.54]
>> at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:193) [tomcat-coyote.jar:7.0.54]
>> at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607) [tomcat-coyote.jar:7.0.54]
>> at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:314) [tomcat-coyote.jar:7.0.54]
>> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_85]
>> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_85]
>> at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-coyote.jar:7.0.54]
>> at java.lang.Thread.run(Thread.java:745) [na:1.7.0_85]
>> Caused by: org.hibernate.ObjectNotFoundException: No row with the given identifier exists: [com.xpn.xwiki.doc.rcs.XWikiRCSNodeContent#com.xpn.xwiki.doc.rcs.XWikiRCSNodeId(a)472d6673[docId=9066115529778850634,version=11.1]]
>> at org.hibernate.impl.SessionFactoryImpl$2.handleEntityNotFound(SessionFactoryImpl.java:435) ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
>> at org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:233) ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
>> at org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:285) ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
>> at org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:152) ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
>> at org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:1090) ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
>> at org.hibernate.impl.SessionImpl.load(SessionImpl.java:974) ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
>> at com.xpn.xwiki.store.XWikiHibernateVersioningStore$4.doInHibernate(XWikiHibernateVersioningStore.java:297) ~[xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>> at com.xpn.xwiki.store.XWikiHibernateVersioningStore$4.doInHibernate(XWikiHibernateVersioningStore.java:292) ~[xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>> at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:1299) ~[xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>> ... 64 common frames omitted
>>
>>
>>
>>> Br,
>>>
>>> Peter
>>>
>>>> Hi Peter,
>>>>
>>>> Of course, though you might want to think a bit on the approach.
>>>>
>>>> 1) If you want to do it in XWiki using the scheduler plugin, you have to
>>>> write some groovy script [1] in the scheduled task that you create in
>>> order
>>>> to use the filter module [2] (or the old packager module [3], whichever
>>> you
>>>> choose) in order to export the pages you are interested in and save the
>>>> result (on the filesystem or as an attachment in a page).
>>>>
>>>> As inspiration, you could check out the source code (in java) of the
>>> export
>>>> action [4] which is exactly what is going on when you are exporting a
>>> page
>>>> from the UI.
>>>>
>>>> 2) A simpler choice, IMO, would be to schedule a cron [5] task on a linux
>>>> machine (possible the same one running the XWiki instance) and have that
>>>> task simply download (using something like cURL [6]) the result of a
>>>> manually crafter export URL (as detailed in our documentation [7])
>>>> containing the list of pages to export.
>>>>
>>>> Hope this helps,
>>>> Eduard
>>>>
>>>> ----------
>>>> [1] http://platform.xwiki.org/xwiki/bin/view/DevGuide/Scripting <http://platform.xwiki.org/xwiki/bin/view/DevGuide/Scripting>
>>>> [2] http://extensions.xwiki.org/xwiki/bin/view/Extension/Filter+Module <http://extensions.xwiki.org/xwiki/bin/view/Extension/Filter+Module>
>>>> [3]
>>>>
>>> https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwi… <https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwi…>
>>>> [4]
>>>>
>>> https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwi…
>>>> [5] https://en.wikipedia.org/wiki/Cron
>>>> [6] https://en.wikipedia.org/wiki/CURL
>>>> [7] http://platform.xwiki.org/xwiki/bin/view/Features/Exports#HXARExport
>>>>
>>>>
>>>> On Thu, Sep 17, 2015 at 3:49 PM, Peter Huisman <p.huisman(a)ximm.nl>
>>> wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> Is there a way to generate XAR’s using XWiki’s scheduling function? I’m
>>>>> not looking for a DB based backup but merely for a backup of spaces /
>>> pages.
>>>>>
>>>>> With kind regards,
>>>>>
>>>>> Peter
>>>>> _______________________________________________
>>>>> 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
>>>
>> _______________________________________________
>> users mailing list
>> users(a)xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/users
>
>
>
> --
> Thomas Mortagne
>
>
>
>
> Van: Caleb James DeLisle <cjd(a)cjdns.fr>
> Onderwerp: [xwiki-users] [myxwiki] Request for new wiki
> Datum: 24 september 2015 10:35:49 CEST
> Aan: XWiki Users <users(a)xwiki.org>
> Antwoord aan: XWiki Users <users(a)xwiki.org>
>
>
> Hi,
>
> I'd like to start a wiki for documenting a small sociological project
> which I'm doing with a few friends. It will be closed while the project
> is ongoing but we intend to make our findings usable to the outside world
> when the project is complete.
>
> My username is CalebJamesDeLisle and I'd like a wiki named 'grw'
>
> Thanks,
> Caleb
>
>
>
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users