I'm trying to upgrade XWiki from 1.0 to 1.2. The problem comes when I want to import my .xar file (6Mb) and get a Java Heap Space Out Of Memory Exception.
I've checked your admin page
http://www.xwiki.org/xwiki/bin/view/FAQ/Howtoincreasethemaximumattachmentsize
and it looks like for my problem (file < 10Mb), only MySQL should be changed. So I've changed the max_allowed_packet parameter but the problem still occurs. I don't have anything in Tomcat or MySQL logs, which is a bit strange. The only trace I get is the one bellow. It looks like Lucene breaks because of the file upload not working. Any idea ? How could I get more details in the log ?
{grouplist={xwiki:XWiki.XWikiGuest=[], xwiki:xwiki:XWiki.XWikiGuest=[]}, fileuploadlist=[name=null, StoreLocation=D:\Servers\Tomcat\apache-tomcat-5.5.23\temp\upload_662feb76_117990b87e0__8000_00000000.tmp, size=77bytes, isFormField=true
, FieldName=xredirect, name=null, StoreLocation=D:\Servers\Tomcat\apache-tomcat-5.5.23\temp\upload_662feb76_117990b87e0__8000_00000001.tmp,
size=20bytes, isFormField=true, FieldName=filename, name=Backup2008-01-20.xar
, StoreLocation=D:\Servers\Tomcat\apache-tomcat-5.5.23\temp\upl
oad_662feb76_117990b87e0__8000_00000002.tmp, size=6639095bytes, isFormField=false, FieldName=filepath], msg=com.xpn.xwiki.web.XWikiMessageTo
ol@1171e30,
util=com.xpn.xwiki.util.Util@bf1a4a, baseskin=albatross, tdoc=XWiki.Import, ajax=false, locale=fr, doc=
XWiki.Import, mainxwiki=x
wiki, skin=albatross, message=javaheapspace,
fileuploadplugin=com.xpn.xwiki.plugin.fileupload.FileUploadPlugin@571cc4, vcontext=org.apache.v
elocity.VelocityContext@1219665}