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
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
>
Thanks, I was able to set it up successfully.
I want to check if the currently logged-in user ($xwiki.getUser()) is a
member of a particular LDAP group. What is the best way to do this with the
"Trusted LDAP" setup?
*Option 1:*
I could map the LDAP groups to XWiki groups.
*Option 2:*
Can I do this dynamically without having to map the LDAP groups? (i.e. is
there an easy way to check if a user belongs to an LDAP group without
having to map the LDAP group to an XWiki group?)
On Fri, Sep 18, 2015 at 12:47 AM, Thomas Mortagne <thomas.mortagne(a)xwiki.com
> wrote:
> If you have an authenticator in front of XWiki that populate the
> REMOTE_USER request property you could use
>
> http://extensions.xwiki.org/xwiki/bin/view/Extension/XWiki+Authenticator+Tr…
> which has been designed specifically for this use case.
>
> On Fri, Sep 18, 2015 at 3:05 AM, Debajit Adhikary <debajit1(a)gmail.com>
> wrote:
> > I have an XWiki setup that uses Kerberos for authentication.
> >
> > I would like to continue using Kerberos, but use LDAP groups for
> > controlling page access rights.
> >
> > How could I do this?
> >
> > (If you could point me in the right direction, or to any appropriate
> > documentation, that would be a big help)
> >
> > Thanks in advance
> > —Debajit
> > _______________________________________________
> > users mailing list
> > users(a)xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/users
>
>
>
> --
> Thomas Mortagne
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
I have several scripts (Groovy and Velocity) that generate output that should not be rendered as a Wiki page. This is necessary, for example, when rendering JSON. As documented before (http://extensions.xwiki.org/xwiki/bin/view/Extension/Output+JSON) , it's possible to allow such content by including request parameters xpage=plain and outputSyntax=plain. However, this approach requires all pages that refer to the script to remember to include these parameters, which is rather error prone.
Is there a way for a script to explicitly disable rendering instead?
Hello all,
I have a Database List which items are XWiki pages. Is there a way to make these items displayed as links so that one can access the related page by clicking on it?
Thanks in advance,
Sylvain
Any time someone performs a search the link comes back displaying "." instead of "/"
Example: Procedures.Bidding.Job Type Specific Information.Bidding Single Mode Fiber Optic Testing
So if they attempt to follow the link it goes to a dead page.
If I replace the "." with "/" it functions perfectly.
Has anyone had this issue or know a resolution?
I am having trouble getting custom properties from a user profile.
I have added a property of type String called "Code"
{{velocity}}
#set($fn= $userObj.getXWikiObject().get("first_name").value)
$fn
#set($c= $userObj.getXWikiObject().get("Code").value)
$c
{{/velocity}}
When the code runs it displays
--------------------
Jeff
$c
--------------------
If I go to the user profile the property Code has a value. I have checked the capitalization and it is correct.
What is the correct way of doing this?
On 21 Sep 2015 at 10:16:00, PATEL, ABDULKADAR (abdulkadar.patel@capgemini.com(mailto:abdulkadar.patel@capgemini.com)) wrote:
>
> Hi Vincent,
>
>
>
>
>
> Thanks for your response.
>
>
> I know it might be very trivial issue but as I am working on xwiki first time,
>
>
> I don’t know basic things and that’s why bugging all of you with my silly doubts.
>
>
>
>
>
> To achieve this use case, I have followed below steps :
>
>
>
>
>
> 1. Modified xwiki-min.js file to bind a javascript code which will display a popup dialog on click of ctrl+shift+N
You shouldn’t do that. You should use a Javascript Extension instead, see http://platform.xwiki.org/xwiki/bin/view/DevGuide/SkinExtensionsTutorial
> 2. This dialog fetches projects and issue types from jira server and displays as dropdown
ok
> 3. Once user clicks on submit, a jira issue is created
ok
> 4. Now I need to display a link near text selected by user in step 1 but don’t know how to do it.
This is not really related to XWiki (unless you wish to reuse the Annotation code but then I don’t now this code enough to know if you can do this or not).
In any case you could check the Annotation code to understand how it’s done there, basically how to find the location of some text in the content.
I guess there are at least 2 ways:
* Do that using JS and thus insert your link using JS
* Do it on the server side using the Rendering engine (this is what Annotation is doing I think) and add some specific HTML marker so that by using JS you can easily insert the link.
In any case what you wish to do is something complex and requires good knowledge of JS (and possibly of XWiki’s Rendering if you choose this solution).
Thanks
-Vincent
> I have attached code I have added in xwiki-min.js
>
>
>
>
>
> You can also suggest if this is a right approach and if I can follow some other approach.
>
>
>
>
>
> Thanks & Regards,
>
>
> Abdulkadar Patel
>
>
>
>
>
>
>
>
>
> P.S. I have not kept xwiki developers mail list since this mail becomes huge and will need approval from list moderator.
>
>
>
>
>
>
>
>
> From: Vincent Massol [mailto:vmassol@gmail.com] On Behalf Of vincent(a)massol.net
> Sent: Monday, September 21, 2015 12:52 PM
> To: XWiki Developers
> Cc: PATEL, ABDULKADAR
> Subject: Re: [xwiki-devs] Display link on xwiki page
>
>
>
>
>
>
>
> Hi there,
>
>
>
>
>
>
>
>
> On 18 Sep 2015 at 15:25:44, PATEL, ABDULKADAR (abdulkadar.patel@capgemini.com(mailto:abdulkadar.patel@capgemini.com))(mailto:abdulkadar.patel@capgemini.com(mailto:abdulkadar.patel@capgemini.com))) wrote:
>
> > Hi all,
> >
> > Sorry to bug all of you again and again with the same requirement.
> > But I am also helpless till I get it done.
> >
> > I have ebelow use case :
> >
> > 1. User selects some text on an xwiki page and hits some keyboard shortcut say Alt+ctrl+N
> >
> > 2. This opens a popup dialog like shown below :
> >
> > [file:///Users/vmassol/Library/Containers/it.bloop.airmail.beta11/Data/Library/Application Support/Airmail/General/Local/1442819908355112192/Attachments/image004.jpg@01D0F242.DD794520(mailto:Support/Airmail/General/Local/1442819908355112192/Attachments/image004.jpg@01D0F242.DD794520)]
> >
> >
> >
> > 3. As you can see in the screenshot, it displays list of projects, issue types from JIRA server.
> >
> > Issue summary field is pre-populated with the selected text from xwiki page.
> >
> > 4. Once user submits this dialog, an issue is created in JIRA and a link will be created on xwiki page besides selected
> >
> > text.
> >
> > So far I have achieved 1,2 and 3 but not able to achieve 4
> > One option I thought of is to create an annotation for the selected text with text as a link to JIRA issue
> > But I don't understand how to achive this from javascript code.
> > I have written javascript code in webapps/xwiki/resources/js/xwiki/xwiki-min.js file
> >
> > Please suggest me an approach to achive point no 4.
> > Also suggest me if there is a better and cleaner approach.
>
>
>
>
>
>
> I’m not sure I understand the problem. Step 4 seems easy. You just need a form action which calls a wiki page (possibly the current page passing some parameter) and then using Velocity for example to create the JIRA issue using the JIRA REST API.
>
>
>
>
>
>
>
> Thanks
>
>
>
> -Vincent
>
>
>
>
> > Thanks & Regards,
> > ____________________________________________________________________
> > [file:///Users/vmassol/Library/Containers/it.bloop.airmail.beta11/Data/Library/Application Support/Airmail/General/Local/1442819908355112192/Attachments/image001.gif@01D0F241.1B349010]Abdulkadar(mailto:Support/Airmail/General/Local/1442819908355112192/Attachments/image001.gif@01D0F241.1B349010%5dAbdulkadar) Patel
> > Consultant | GESBU
>
>
>
>
>
>
>
>
Hi Eduard,
Thanks for the explanation and the links.
I am not looking for the Java way since we already have a XML exporter in place that is exporting the information in our environment (which is heavily object based) in a way that can be used by third parties. This is the way we are looking for a more final solution. We were looking for an easy and quick (intermediate) solution to bridge the gap so to speak.
The strange thing is, that I use google to search extensively for things before i ask for info in this group. I was somewhat surprised to see the link (no 7) which is exactly what I needed! I thank you again for the help and I’m sorry that I have not been able to find it myself.
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
> [2] http://extensions.xwiki.org/xwiki/bin/view/Extension/Filter+Module
> [3]
> 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
>>
>