[xwiki-users] Import XAR file
Roopesh P Raj
roopesh at digitalglue.in
Thu May 24 15:26:58 CEST 2007
As far as I remember I faced problem when I tried to import a xar file
created from xwiki of an older version to an xwiki of newer version. (I
am not sure you are also facing the same problem though)
Regards
Roopesh
> On May 24, 2007, at 1:04 PM, Virginie Lemoine wrote:
>
>> 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 ?
>
> hmm... try without the backup pack checked. Maybe there's a pb with it.
>
> Thanks
> -Vincent
>
>> 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
>>>> <http://web.ImportAction.render>(ImportAction.java:95)
>>>> at com.xpn.xwiki.web.XWikiAction.execute
>>>> <http://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
>>>> <http://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
>>>> <http://web.ImportAction.render>(ImportAction.java:46)
>>>> at com.xpn.xwiki.web.XWikiAction.execute
>>>> <http://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
>>>> <http://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
>>>
>>>
>>
>> --
>> Virginie LEMOINE
>> Software Engineer
>> FircoSoft SAS
>>
>>
>> --
>> You receive this message as a subscriber of the
>> xwiki-users at objectweb.org <mailto: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
>
> ------------------------------------------------------------------------
>
>
> --
> 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
>
------------------
DigitalGlue, India
More information about the users
mailing list