On 07/01/2010 02:53 PM, Thomas Hoeschele wrote:
Hallo Everybody,
downloaded and installed the new XWiki 2.4 Milestone to test it. However i did not get
past the page import from the milestone.xar (actually its a .zip)
My set up is:
Windows XP Professionel
XAMPP for
Tomcat 6
MySQL
I did the Installation and Configuration based on the online Guide.
However, if try the pageimport i get the following error msg:
Error number 0 in 11: Uncaught exception
Wrapped Exception: Java heap space
com.xpn.xwiki.XWikiException: Error number 0 in 11: Uncaught exception
Wrapped Exception: Java heap space
What's the size of the xar you try to import?
xwiki-enterprise-wiki-2.4-milestone-2.xar (
http://maven.xwiki.org/releases/com/xpn/xwiki/products/xwiki-enterprise-wik…
) has only 715K which shouldn't cause Java heap space exception.
Marius
at
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:239)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:129)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:304)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:859)
at
org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:574)
at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1527)
at java.lang.Thread.run(Thread.java:595)
Wrapped Exception:
java.lang.OutOfMemoryError: Java heap space
at java.lang.String.<init>(String.java:208)
at
org.wikimodel.wem.xwiki.xwiki20.javacc.SimpleCharStream.GetImage(SimpleCharStream.java:402)
at
org.wikimodel.wem.xwiki.xwiki20.javacc.XWikiScannerTokenManager.jjFillToken(XWikiScannerTokenManager.java:5762)
at
org.wikimodel.wem.xwiki.xwiki20.javacc.XWikiScannerTokenManager.getNextToken(XWikiScannerTokenManager.java:5854)
at org.wikimodel.wem.xwiki.xwiki20.javacc.XWikiScanner.jj_ntk(XWikiScanner.java:1321)
at org.wikimodel.wem.xwiki.xwiki20.javacc.XWikiScanner.macro(XWikiScanner.java:351)
at
org.wikimodel.wem.xwiki.xwiki20.javacc.XWikiScanner.docElements(XWikiScanner.java:266)
at org.wikimodel.wem.xwiki.xwiki20.javacc.XWikiScanner.doParse(XWikiScanner.java:198)
at org.wikimodel.wem.xwiki.xwiki20.javacc.XWikiScanner.parse(XWikiScanner.java:41)
at org.wikimodel.wem.xwiki.xwiki20.XWikiParser.parse(XWikiParser.java:43)
at
org.xwiki.rendering.internal.parser.wikimodel.AbstractWikiModelParser.parse(AbstractWikiModelParser.java:134)
at
org.xwiki.rendering.internal.parser.wikimodel.AbstractWikiModelParser.parse(AbstractWikiModelParser.java:97)
at com.xpn.xwiki.doc.XWikiDocument.parseContent(XWikiDocument.java:7371)
at com.xpn.xwiki.doc.XWikiDocument.parseContent(XWikiDocument.java:7363)
at com.xpn.xwiki.doc.XWikiDocument.getXDOM(XWikiDocument.java:7197)
at com.xpn.xwiki.doc.XWikiDocument.getUniqueLinkedPages(XWikiDocument.java:4401)
at com.xpn.xwiki.doc.XWikiDocument.getUniqueWikiLinkedPages(XWikiDocument.java:4280)
at com.xpn.xwiki.store.XWikiHibernateStore.saveLinks(XWikiHibernateStore.java:1921)
at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:632)
at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:182)
at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:175)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1395)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1357)
at com.xpn.xwiki.plugin.packaging.Package.installDocument(Package.java:701)
at com.xpn.xwiki.plugin.packaging.Package.install(Package.java:566)
at com.xpn.xwiki.plugin.packaging.PackageAPI.install(PackageAPI.java:305)
at com.xpn.xwiki.web.ImportAction.render(ImportAction.java:137)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:215)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
Same is in the xwiki.log