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=vr360…
<http://wiki.dkf.wiki/xwiki/bin/export/Space/Page?format=xar&pages=vr360brabant:%25.%25&name=vr360brabant&history=true&backup=true&author=XWiki.Admin>]
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:…
<http://wiki.dkf.wiki/xwiki/bin/export/Space/Page?format=xar&pages=duto:%25.%25&name=duto&history=true&backup=true&author=XWiki.Admin>]
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/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/plugin/packaging/PackageAPI.java>
>>> [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
_______________________________________________
users mailing list
users(a)xwiki.org