Yes the standard import is not very good and we need to work on that.
In the meantime you can use
script.
On Thu, Jul 5, 2012 at 10:29 AM, David Delbecq <david.delbecq(a)meteo.be> wrote:
Hello,
i am migrating a small wiki that is expected to grow in the future (more pages, more
documents). Currently, the wiki is small, the xar is about 50M.
To my surprise, xwiki was unable to load it with 1G heap space. Actually, it consumed
2.5G memory just to upload this xar, which make a ration of 50x (a big problem by
itself).
And then, when i select this archive, i am greeted with "There was an error reading
the file MainWiki.xar. Truncated ZIP file" and the error below in the console. What
is the recommanded way to some pages from an existing old xwiki to another more recent
xwiki since the xar is not working? Is there some plan to recode this xar importer so that
it becomes far less greedy?
08:17:52,271 INFO [stdout]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
2012-07-05 08:17:52,271
[
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…]
WARN c.x.x.p.p.Package - Failed to parse document [XWiki/XWikiAdminGroup.xml] from XML
during import, thus
it will not be installed. The error was: Error number 2002 in 2: Error parsing xml
08:17:52,274 INFO [stdout]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
Wrapped Exception: Truncated ZIP file Nested exception: Truncated ZIP file
08:17:52,514 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
java.lang.NullPointerException: Cannot invoke method collate() on null object
08:17:52,516 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at org.codehaus.groovy.runtime.NullObject.invokeMethod(NullObject.java:77)
08:17:52,521 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:45)
08:17:52,524 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42)
08:17:52,528 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at org.codehaus.groovy.runtime.callsite.NullCallSite.call(NullCallSite.java:32)
08:17:52,532 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42)
08:17:52,536 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
08:17:52,539 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
08:17:52,543 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at Script14.createHtmlStructure(Script14.groovy:80)
08:17:52,546 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
08:17:52,550 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
08:17:52,553 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
08:17:52,557 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at java.lang.reflect.Method.invoke(Method.java:601)
08:17:52,561 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
08:17:52,564 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
08:17:52,567 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1047)
08:17:52,571 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:877)
08:17:52,574 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at groovy.lang.DelegatingMetaClass.invokeMethod(DelegatingMetaClass.java:149)
08:17:52,578 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at
org.codehaus.groovy.jsr223.GroovyScriptEngineImpl$2.invokeMethod(GroovyScriptEngineImpl.java:304)
08:17:52,582 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at
org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:66)
08:17:52,585 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at
org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:46)
08:17:52,589 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:133)
08:17:52,593 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at Script14.run(Script14.groovy:165)
08:17:52,596 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at
org.codehaus.groovy.jsr223.GroovyScriptEngineImpl.eval(GroovyScriptEngineImpl.java:320)
08:17:52,600 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at
org.codehaus.groovy.jsr223.GroovyScriptEngineImpl.eval(GroovyScriptEngineImpl.java:116)
08:17:52,603 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at
org.xwiki.rendering.macro.script.AbstractJSR223ScriptMacro.eval(AbstractJSR223ScriptMacro.java:280)
08:17:52,607 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at
org.xwiki.rendering.macro.script.AbstractJSR223ScriptMacro.evaluateBlock(AbstractJSR223ScriptMacro.java:213)
08:17:52,612 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at
org.xwiki.rendering.macro.script.AbstractJSR223ScriptMacro.evaluateBlock(AbstractJSR223ScriptMacro.java:173)
08:17:52,616 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at
org.xwiki.rendering.macro.script.AbstractJSR223ScriptMacro.evaluateBlock(AbstractJSR223ScriptMacro.java:53)
08:17:52,620 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at
org.xwiki.rendering.macro.script.AbstractScriptMacro.execute(AbstractScriptMacro.java:198)
08:17:52,623 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at
org.xwiki.rendering.macro.script.AbstractScriptMacro.execute(AbstractScriptMacro.java:59)
08:17:52,627 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at
org.xwiki.rendering.internal.transformation.macro.MacroTransformation.transformOnce(MacroTransformation.java:190)
08:17:52,632 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at
org.xwiki.rendering.internal.transformation.macro.MacroTransformation.transform(MacroTransformation.java:135)
08:17:52,636 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at
org.xwiki.rendering.internal.macro.wikibridge.DefaultWikiMacro.execute(DefaultWikiMacro.java:217)
08:17:52,640 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at
org.xwiki.rendering.internal.macro.wikibridge.DefaultWikiMacro.execute(DefaultWikiMacro.java:59)
08:17:52,644 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at
org.xwiki.rendering.internal.transformation.macro.MacroTransformation.transformOnce(MacroTransformation.java:190)
08:17:52,649 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at
org.xwiki.rendering.internal.transformation.macro.MacroTransformation.transform(MacroTransformation.java:135)
08:17:52,653 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at
org.xwiki.rendering.internal.transformation.DefaultTransformationManager.performTransformations(DefaultTransformationManager.java:83)
08:17:52,658 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at
org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:248)
08:17:52,662 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at
org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:124)
08:17:52,666 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at
org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:54)
08:17:52,670 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at
org.xwiki.display.internal.DefaultDocumentDisplayer.display(DefaultDocumentDisplayer.java:80)
08:17:52,677 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at
org.xwiki.display.internal.DefaultDocumentDisplayer.display(DefaultDocumentDisplayer.java:38)
08:17:52,681 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at
org.xwiki.sheet.internal.SheetDocumentDisplayer.display(SheetDocumentDisplayer.java:111)
08:17:52,685 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at
org.xwiki.sheet.internal.SheetDocumentDisplayer.display(SheetDocumentDisplayer.java:50)
08:17:52,689 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at
org.xwiki.display.internal.ConfiguredDocumentDisplayer.display(ConfiguredDocumentDisplayer.java:67)
08:17:52,694 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at
org.xwiki.display.internal.ConfiguredDocumentDisplayer.display(ConfiguredDocumentDisplayer.java:41)
08:17:52,700 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:957)
08:17:52,705 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:923)
08:17:52,713 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at com.xpn.xwiki.doc.XWikiDocument.display(XWikiDocument.java:2727)
08:17:52,716 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at com.xpn.xwiki.doc.XWikiDocument.display(XWikiDocument.java:2688)
08:17:52,720 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at com.xpn.xwiki.doc.XWikiDocument.display(XWikiDocument.java:2637)
08:17:52,723 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at com.xpn.xwiki.api.Document.display(Document.java:1244)
08:17:52,727 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
08:17:52,730 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
08:17:52,734 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
08:17:52,738 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at java.lang.reflect.Method.invoke(Method.java:601)
08:17:52,742 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:395)
08:17:52,746 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:384)
08:17:52,750 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:173)
08:17:52,754 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:280)
08:17:52,758 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:369)
08:17:52,762 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
08:17:52,765 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87)
08:17:52,769 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
08:17:52,771 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87)
08:17:52,773 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
08:17:52,778 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at
org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:216)
08:17:52,783 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:311)
08:17:52,788 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:230)
08:17:52,793 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207)
08:17:52,797 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
08:17:52,802 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:420)
08:17:52,807 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207)
08:17:52,812 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
08:17:52,818 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87)
08:17:52,823 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
08:17:52,828 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:224)
08:17:52,834 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:184)
08:17:52,835 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:105)
08:17:52,836 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1800)
08:17:52,837 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1740)
08:17:52,838 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:854)
08:17:52,839 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at sun.reflect.GeneratedMethodAccessor145.invoke(Unknown Source)
08:17:52,840 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
08:17:52,841 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at java.lang.reflect.Method.invoke(Method.java:601)
08:17:52,842 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:395)
08:17:52,843 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:384)
08:17:52,844 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:173)
08:17:52,846 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:280)
08:17:52,847 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:369)
08:17:52,848 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
08:17:52,849 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at
org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:216)
08:17:52,850 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:311)
08:17:52,851 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:230)
08:17:52,853 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207)
08:17:52,854 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
08:17:52,855 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:224)
08:17:52,856 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:184)
08:17:52,857 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:105)
08:17:52,858 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1800)
08:17:52,859 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1740)
08:17:52,860 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:854)
08:17:52,861 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at sun.reflect.GeneratedMethodAccessor145.invoke(Unknown Source)
08:17:52,862 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
08:17:52,863 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at java.lang.reflect.Method.invoke(Method.java:601)
08:17:52,864 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:395)
08:17:52,865 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:384)
08:17:52,867 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:173)
08:17:52,868 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:280)
08:17:52,869 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:369)
08:17:52,870 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
08:17:52,871 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at
org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:216)
08:17:52,873 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:311)
08:17:52,874 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:230)
08:17:52,875 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207)
08:17:52,876 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
08:17:52,877 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:224)
08:17:52,878 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:184)
08:17:52,879 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:105)
08:17:52,881 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1800)
08:17:52,882 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:155)
08:17:52,883 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:241)
08:17:52,884 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116)
08:17:52,885 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
08:17:52,886 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
08:17:52,887 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
08:17:52,888 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
08:17:52,889 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:734)
08:17:52,890 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
08:17:52,891 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)
08:17:52,893 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
08:17:52,894 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:120)
08:17:52,895 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
08:17:52,896 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
08:17:52,897 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144)
08:17:52,899 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
08:17:52,900 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
08:17:52,901 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)
08:17:52,902 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
08:17:52,903 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
08:17:52,904 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at
org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
08:17:52,906 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
08:17:52,907 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
08:17:52,908 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at
org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
08:17:52,909 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
08:17:52,910 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
08:17:52,911 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
08:17:52,912 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
08:17:52,914 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:489)
08:17:52,915 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at
org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153)
08:17:52,916 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155)
08:17:52,917 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
08:17:52,919 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
08:17:52,920 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368)
08:17:52,921 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
08:17:52,922 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671)
08:17:52,923 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930)
08:17:52,925 ERROR [stderr]
(
http://intraweb-me.oma.be:10080/xwiki/bin/import/XWiki/XWikiPreferences?edi…)
at java.lang.Thread.run(Thread.java:722)
I would have expected an import / export tool to consume much less memory (load only
parts of documents, one segment at a time, not loading everything in memory)
This mean that, in the future, if my wiki has 300M worth of data, i will need a server
with 15G or ram. This is crazy, even if i had so much memory available, the java gc will
have very poor performances on it.
Are there any forseen revamping of the import tool so that it consumes
David Delbecq
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users