I just had a problem with an export/import.

I had the same symptoms as you during import but the problem was an 
OutOfMemoryException during the export.
In that case, there is a bug and the export seems to work like a charm, 
I don't know if there is a JIRA issue about that.

But in my case the XAR was corrupt, the command "jar tvf export.xar" 
reported a corruption problem.
After I increased the max memory of Tomcat, the export run fine.

Hope this help,
Nico

goldring, richard wrote:
> Loris,
>
> Maybe one of the files in the XAR is corrupt - by process of elimination you
> could delete the files in the XAR and add them back one at a time and see if
> the import works ... but if you have hundreds of files in the XAR then its
> not a very practical thing to do. If a XWiki developer were able to use your
> XAR then they could debug the import code to see where it falls over to
> identify the problem, but that could take awhile and won't help you solve
> the problem in the short term.
>
> Regards,
>
> Richard
>
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf
> Of Loris Conedera
> Sent: 21 May 2008 11:39
> To: XWiki Users
> Subject: Re: [xwiki-users] Problems importing 1.4 default XAR
>
>
> Thanks for help but...
> ... I checked the XAR package and there aren't empty files.
>
> Loris
>
> 2008/5/21 goldring, richard <[EMAIL PROTECTED]>:
>   
>> Loris,
>>
>> In WinZip check if the XAR contains an empty file - if so delete it and
>> reattach the XAR and click on the link again. If that doesn't fix it then
>>     
> I
>   
>> don't know what could be the problem. So I hope it works!
>>
>> Regards,
>> Richard
>>
>> -----Original Message-----
>> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf
>> Of Loris Conedera
>> Sent: 21 May 2008 11:21
>> To: XWiki Users
>> Subject: [xwiki-users] Problems importing 1.4 default XAR
>>
>>
>> Hi,
>>
>> I have some problems importing the 1.4 default XAR. I just upgraded
>> Xwiki to 1.4 Release and all seems to work fine, the problem is that
>> when I attach a XAR to import contents and after I click on the link
>> to show Documents contained, nothing appens!
>> I checked in "xwiki.log" and in Tomcat logs but I can't find any error
>> line...
>> It seems that the browser doesn't send any request to Server...
>> I never experienced this kind of problem before and I hope someone can
>> give me a solution.
>> Thanks,
>>
>> Loris Conedera
>> _______________________________________________
>> users mailing list
>> [email protected]
>> http://lists.xwiki.org/mailman/listinfo/users
>>
>> Thales UK Ltd (Wells) DISCLAIMER: The information contained in this e-mail
>> is confidential. It may also be legally privileged. It is intended only
>>     
> for
>   
>> the stated addressee(s) and access to it by any other person is
>> unauthorised. If you are not an addressee, you must not disclose, copy,
>> circulate or in any other way use or rely on the information contained in
>> this e-mail. Such unauthorised use may be unlawful. We may monitor all
>> e-mail communications through our networks. If you have received this
>>     
> e-mail
>   
>> in error, please inform us immediately on +44 (0) 1749 672081 and delete
>>     
> it
>   
>> and all copies from your system. We accept no responsibility for changes
>>     
> to
>   
>> any e-mail which occur after it has been sent.  Attachments to this e-mail
>> may contain software viruses which could damage your system.  We therefore
>> recommend you virus-check all attachments before opening. A business of
>> Thales UK Ltd. Registered Office: 2 Dashwood Lang Road, The Bourne
>>     
> Business
>   
>> Park, Addlestone, Weybridge, Surrey KT15 2NX Registered in England No.
>> 868273
>> _______________________________________________
>> users mailing list
>> [email protected]
>> http://lists.xwiki.org/mailman/listinfo/users
>>
>>     
> _______________________________________________
> users mailing list
> [email protected]
> http://lists.xwiki.org/mailman/listinfo/users
>
> Thales UK Ltd (Wells) DISCLAIMER: The information contained in this e-mail
> is confidential. It may also be legally privileged. It is intended only for
> the stated addressee(s) and access to it by any other person is
> unauthorised. If you are not an addressee, you must not disclose, copy,
> circulate or in any other way use or rely on the information contained in
> this e-mail. Such unauthorised use may be unlawful. We may monitor all
> e-mail communications through our networks. If you have received this e-mail
> in error, please inform us immediately on +44 (0) 1749 672081 and delete it
> and all copies from your system. We accept no responsibility for changes to
> any e-mail which occur after it has been sent.  Attachments to this e-mail
> may contain software viruses which could damage your system.  We therefore
> recommend you virus-check all attachments before opening. A business of
> Thales UK Ltd. Registered Office: 2 Dashwood Lang Road, The Bourne Business
> Park, Addlestone, Weybridge, Surrey KT15 2NX Registered in England No.
> 868273
> _______________________________________________
> users mailing list
> [email protected]
> http://lists.xwiki.org/mailman/listinfo/users
>   

_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to