BL,
You think the export failed and produced an empty WebHome file? Everything
else seemed to be exported correctly, and once I deleted the empty WebHome
file I was able to import the archive.
Regards,
Richard
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org]On Behalf
Of Benjamin K Leung
Sent: 01 May 2008 14:33
To: 'XWiki Users'
Subject: Re: [xwiki-users] Import/Export
Hi,
I think the export failed due to insufficient memory. Increasing the memory
pool available the container would solve this.
I agree the export code should definitely generate an error message
appropriately.
BL
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On Behalf Of
goldring, richard
Sent: Thursday, May 01, 2008 3:54 AM
To: 'XWiki Users'
Subject: Re: [xwiki-users] Import/Export
Vincent,
I had this exception while (having first attached the file) importing
(clicking on the file) (even when I exported from 1.3.2 and then tried to
import again)
er 11015 in 11: Exception while importing
Wrapped Exception: Error number 2002 in 2: Error parsing xml
Wrapped Exception: Error on line -1 of document : Premature end of file.
Nested
exception: Premature end of file.
com.xpn.xwiki.XWikiException: Error number 11015 in 11: Exception while
importin
g
Wrapped Exception: Error number 2002 in 2: Error parsing xml
Wrapped Exception: Error on line -1 of document : Premature end of file.
Nested
exception: Premature end of file.
at com.xpn.xwiki.web.ImportAction.render(ImportAction.java:94)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:198)
at
org.apache.struts.action.RequestProcessor.processActionPerform(Reques
tProcessor.java:431)
...and then a message saying there was no documents in the file!
I eventually traced it down to an empty "WebHome" file in the archive - I
deleted this from the archive and the import worked. Why the export produced
an empty WebHome file - I don't know!? But I hope this information helps
other users with similar difficulties.
Maybe the export code needs refactoring so it can't produce empty files, and
maybe the import code needs to be more robust so it doesn't produce an
exception if it fails to read anyone file, but produces an message to flag
up the problem but continues processing the other files so the import
doesn't fail completely because of one file. I wish I had some to time to
help fix this at this time ... maybe these issues can be addressed later in
the year.
Best Regards,
Richard
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org]On Behalf
Of Vincent Massol
Sent: 29 April 2008 07:31
To: XWiki Users
Subject: Re: [xwiki-users] Import/Export
On Apr 29, 2008, at 8:25 AM, goldring, richard wrote:
Hi all,
I've exported from xwiki enterprise hsqldb 1.2 milestone 2 and tried
to
import into xwiki enterprise hsqldb 1.3.2 by attaching the exported
file,
but when I click on the attached file it doesn't list the exported
files
within so I can import them.
That should work fine. So you need to tell us what error you get in
the xwiki logs.
Also make sure you click only once and you wait enough. If your XAR is
large it'll take time to display the items.
BTW what's the size of your XAR?
Anyone know how to get my pages from 1.2 to 1.3.2?
See
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Backup
Thanks
-Vincent
_______________________________________________
users mailing list
users(a)xwiki.org
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
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
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