Antw: Re: [xwiki-users] Import XAR file
Virginie Lemoine
vlemoine at fircosoft.com
Fri May 25 16:02:38 CEST 2007
Hi,
Gunter, you were right. I found a pagename containing a '!'. I removed
it. I removed imported xars on import page also.
Then, the export page creates the .xar file faster but I still can't
open it with WinZip.
My backup file is only 327Ko.
Any help is appreciated.
Virginie
Gunter Leeb wrote:
> Hi Virginie,
>
> I managed to get it to work in my environment after I made sure no
> extensivly big documents will be exported. In my case, on the import
> page I had multiple xars attached that I had tried to import before.
> After removing these xars, my export worked fine and then the import
> also. Also, you should check the xar before importing. At one time I got
> a pagename containing a '?'. The exporter just created a filename with a
> ?. Obviously, this is an invalid file name and the importer died on it.
> I assume on later versions this has already been resolved.
>
> I hope this helps you further,
>
> Gunter
>
>
>>>> Virginie Lemoine <vlemoine at fircosoft.com> 24.05.2007 13:04 >>>
>>>>
> Hi Vincent,
>
> you're right. My XAR file is corrupted. Thanks.
> But I import many times and it's always corrupted.
>
> I put :
>
> * a package name
> * a description
> * Author (I didn't change it)
> * NOT CHECKED for With history
> * CHECKED for Backup Pack (Author preserved)
>
> What can I do to export correctly ?
>
> Virginie
>
> Vincent Massol wrote:
>
>> Hi Virigine,
>>
>> It seems that your XAR file is corrupted. try to open it with a zip
>> tool to check that its content is fine.
>>
>> Thanks
>> -Vincent
>>
>> On May 24, 2007, at 10:49 AM, vlemoine at fircosoft.com wrote:
>>
>>
>>> Hello,
>>>
>>> I'll try to import a XAR file. It seems like the wiki does nothing.
>>>
>
>
>>> But I found these logs (see below).
>>> I work on xwiki 1.0 beta 5 but I also try on 1.0 RC4. It doesn't
>>>
> work
>
>>> neither.
>>> Any help would be appreciated.
>>>
>>> Thanks.
>>> Virginie
>>>
>>> ___
>>>
>>>
>>> 17:41:23,843 WARN http-8081-2
>>>
>>>
> http://127.0.0.1:8081/xwiki/bin/import/XWiki/Import?action=getPackageInfos&name=Backup.xar&xpage=plain&_=
>
>
>>> XWikiAction:execute:188 - Uncaught exception: Error number 11015 in
>>>
>
>
>>> 11: Exception while importing
>>> Wrapped Exception: Unexpected end of ZLIB input stream
>>> com.xpn.xwiki.XWikiException: Error number 11015 in 11: Exception
>>> while importing
>>> Wrapped Exception: Unexpected end of ZLIB input stream
>>> at com.xpn.xwiki.web.ImportAction.render(ImportAction.java:95)
>>> at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:150)
>>> 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.doGet(ActionServlet.java:414)
>
>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
>>> 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.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:121)
>
>
>>> 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:228)
>
>
>>> at
>>>
>>>
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
>
>
>>> at
>>>
>>>
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
>
>
>>> at
>>>
>>>
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
>
>
>>> at
>>>
>>>
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>
>
>>> at
>>>
>>>
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:216)
>
>
>>> at
>>>
>>>
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
>
>
>>> at
>>>
>>>
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:634)
>
>
>>> at
>>>
>>>
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:445)
>
>>> at java.lang.Thread.run(Thread.java:595)
>>>
>>>
>>> Wrapped Exception:
>>>
>>>
>>> java.io.EOFException: Unexpected end of ZLIB input stream
>>> at
>>>
>>>
> java.util.zip.InflaterInputStream.fill(InflaterInputStream.java:216)
>
>>> at
>>>
>>>
> java.util.zip.InflaterInputStream.read(InflaterInputStream.java:134)
>
>>> at java.util.zip.ZipInputStream.read(ZipInputStream.java:139)
>>> at
>>>
> java.util.zip.ZipInputStream.closeEntry(ZipInputStream.java:91)
>
>>> at
>>>
> java.util.zip.ZipInputStream.getNextEntry(ZipInputStream.java:69)
>
>>> at
>>>
>>>
> com.xpn.xwiki.plugin.packaging.Package.ReadZipInfoFile(Package.java:661)
>
>>> at
>>>
> com.xpn.xwiki.plugin.packaging.Package.Import(Package.java:336)
>
>>> at
>>>
>>>
> com.xpn.xwiki.plugin.packaging.PackageAPI.Import(PackageAPI.java:167)
>
>>> at com.xpn.xwiki.web.ImportAction.render(ImportAction.java:46)
>>> at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:150)
>>> 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.doGet(ActionServlet.java:414)
>
>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
>>> 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.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:121)
>
>
>>> 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:228)
>
>
>>> at
>>>
>>>
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
>
>
>>> at
>>>
>>>
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
>
>
>>> at
>>>
>>>
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
>
>
>>> at
>>>
>>>
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>
>
>>> at
>>>
>>>
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:216)
>
>
>>> at
>>>
>>>
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
>
>
>>> at
>>>
>>>
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:634)
>
>
>>> at
>>>
>>>
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:445)
>
>>> at java.lang.Thread.run(Thread.java:595)
>>> 17:41:24,031 ERROR http-8081-2
>>>
>>>
> http://127.0.0.1:8081/xwiki/bin/import/XWiki/Import?action=getPackageInfos&name=Backup.xar&xpage=plain&_=
>
>
>>> SimpleLog4JLogSystem:logVelocityMessage:154 - Left side
>>> ($!hidecolumns) of '==' operation has null value. If a reference, it
>>>
>
>
>>> may not be in the context. Operation not possible. [line 9, column
>>>
> 21]
>
>>> 17:41:24,281 WARN http-8081-2
>>>
>>>
> http://127.0.0.1:8081/xwiki/bin/import/XWiki/Import?action=getPackageInfos&name=Backup.xar&xpage=plain&_=
>
>
>>> MonitorData:log:183 - MONITOR XWiki.Import: 547ms
>>>
>>>
>>> --
>>> You receive this message as a subscriber of the
>>> xwiki-users at objectweb.org mailing list.
>>> To unsubscribe: mailto:xwiki-users-unsubscribe at objectweb.org
>>> For general help: mailto:sympa at objectweb.org?subject=help
>>> ObjectWeb mailing lists service home page:
>>>
> http://www.objectweb.org/wws
>
>>
>>
>> __________ Information NOD32 2289 (20070524) __________
>>
>> Ce message a ete verifie par NOD32 Antivirus System.
>> http://www.nod32.com
>>
>>
>>
> ------------------------------------------------------------------------
>
>> --
>> You receive this message as a subscriber of the
>>
> xwiki-users at objectweb.org mailing list.
>
>> To unsubscribe: mailto:xwiki-users-unsubscribe at objectweb.org
>> For general help: mailto:sympa at objectweb.org?subject=help
>> ObjectWeb mailing lists service home page:
>>
> http://www.objectweb.org/wws
>
>> __________ Information NOD32 2289 (20070524) __________
>>
>> Ce message a ete verifie par NOD32 Antivirus System.
>> http://www.nod32.com
>>
>>
>>
>
>
> ------------------------------------------------------------------------
>
>
> --
> You receive this message as a subscriber of the xwiki-users at objectweb.org mailing list.
> To unsubscribe: mailto:xwiki-users-unsubscribe at objectweb.org
> For general help: mailto:sympa at objectweb.org?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>
>
> __________ Information NOD32 2289 (20070524) __________
>
> Ce message a ete verifie par NOD32 Antivirus System.
> http://www.nod32.com
>
>
--
Virginie LEMOINE
Software Engineer
FircoSoft SAS
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.xwiki.org/pipermail/users/attachments/20070525/f9941f83/attachment-0001.htm
More information about the users
mailing list