Hi,
  Now it shows:-  (I didn't change the XAR )  What should I do!

2008-05-20 15:54:08,968
[http://localhost:8181/xwiki/bin/import/XWiki/Import?act
ion=getPackageInfos&name=xwiki-enterprise-installer-windows-1.3.2.xar&xpage=plai
n&_=] [P1-18] WARN  web.XWikiAction                 - Uncaught exception:
Error
number 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)
        at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.ja
va:236)
        at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:119
6)
        at
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:596)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
        at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428
)
        at
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(
WebApplicationHandler.java:830)
        at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEnc
odingFilter.java:117)
        at
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(
WebApplicationHandler.java:821)
        at
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicati
onHandler.java:471)
        at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:5
68)
        at org.mortbay.http.HttpContext.handle(HttpContext.java:1565)
        at
org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplication
Context.java:633)
        at org.mortbay.http.HttpContext.handle(HttpContext.java:1517)
        at org.mortbay.http.HttpServer.service(HttpServer.java:954)
        at org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
        at
org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:983)
        at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
        at
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:
244)
        at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
        at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)


Wrapped Exception:


com.xpn.xwiki.XWikiException: 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.doc.XWikiDocument.fromXML(XWikiDocument.java:2357)
        at
com.xpn.xwiki.plugin.packaging.Package.readFromXML(Package.java:715)
        at com.xpn.xwiki.plugin.packaging.Package.Import(Package.java:388)
        at
com.xpn.xwiki.plugin.packaging.PackageAPI.Import(PackageAPI.java:173)

        at com.xpn.xwiki.web.ImportAction.render(ImportAction.java:42)
        at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:198)
        at
org.apache.struts.action.RequestProcessor.processActionPerform(Reques
tProcessor.java:431)
        at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.ja
va:236)
        at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:119
6)
        at
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:596)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
        at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428
)
        at
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(
WebApplicationHandler.java:830)
        at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEnc
odingFilter.java:117)
        at
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(
WebApplicationHandler.java:821)
        at
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicati
onHandler.java:471)
        at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:5
68)
        at org.mortbay.http.HttpContext.handle(HttpContext.java:1565)
        at
org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplication
Context.java:633)
        at org.mortbay.http.HttpContext.handle(HttpContext.java:1517)
        at org.mortbay.http.HttpServer.service(HttpServer.java:954)
        at org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
        at
org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:983)
        at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
        at
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:
244)
        at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
        at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)


Wrapped Exception:


org.dom4j.DocumentException: Error on line -1 of document  : Premature end
of fi
le. Nested exception: Premature end of file.
        at org.dom4j.io.SAXReader.read(SAXReader.java:482)
        at org.dom4j.io.SAXReader.read(SAXReader.java:343)
        at com.xpn.xwiki.doc.XWikiDocument.fromXML(XWikiDocument.java:2355)
        at
com.xpn.xwiki.plugin.packaging.Package.readFromXML(Package.java:715)
        at com.xpn.xwiki.plugin.packaging.Package.Import(Package.java:388)
        at
com.xpn.xwiki.plugin.packaging.PackageAPI.Import(PackageAPI.java:173)

        at com.xpn.xwiki.web.ImportAction.render(ImportAction.java:42)
        at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:198)
        at
org.apache.struts.action.RequestProcessor.processActionPerform(Reques
tProcessor.java:431)
        at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.ja
va:236)
        at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:119
6)
        at
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:596)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
        at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428
)
        at
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(
WebApplicationHandler.java:830)
        at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEnc
odingFilter.java:117)
        at
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(
WebApplicationHandler.java:821)
        at
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicati
onHandler.java:471)
        at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:5
68)
        at org.mortbay.http.HttpContext.handle(HttpContext.java:1565)
        at
org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplication
Context.java:633)
        at org.mortbay.http.HttpContext.handle(HttpContext.java:1517)
        at org.mortbay.http.HttpServer.service(HttpServer.java:954)
        at org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
        at
org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:983)
        at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
        at
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:
244)
        at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
        at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
Nested exception:
org.xml.sax.SAXParseException: Premature end of file.
        at
org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.j
ava:1183)
        at org.dom4j.io.SAXReader.read(SAXReader.java:465)
        at org.dom4j.io.SAXReader.read(SAXReader.java:343)
        at com.xpn.xwiki.doc.XWikiDocument.fromXML(XWikiDocument.java:2355)
        at
com.xpn.xwiki.plugin.packaging.Package.readFromXML(Package.java:715)
        at com.xpn.xwiki.plugin.packaging.Package.Import(Package.java:388)
        at
com.xpn.xwiki.plugin.packaging.PackageAPI.Import(PackageAPI.java:173)

        at com.xpn.xwiki.web.ImportAction.render(ImportAction.java:42)
        at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:198)
        at
org.apache.struts.action.RequestProcessor.processActionPerform(Reques
tProcessor.java:431)
        at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.ja
va:236)
        at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:119
6)
        at
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:596)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
        at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428
)
        at
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(
WebApplicationHandler.java:830)
        at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEnc
odingFilter.java:117)
        at
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(
WebApplicationHandler.java:821)
        at
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicati
onHandler.java:471)
        at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:5
68)
        at org.mortbay.http.HttpContext.handle(HttpContext.java:1565)
        at
org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplication
Context.java:633)
        at org.mortbay.http.HttpContext.handle(HttpContext.java:1517)
        at org.mortbay.http.HttpServer.service(HttpServer.java:954)
        at org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
        at
org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:983)
        at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
        at
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:
244)
        at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
        at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
2008-05-20 15:54:09,390
[http://localhost:8181/xwiki/bin/import/XWiki/Import?act
ion=getPackageInfos&name=xwiki-enterprise-installer-windows-1.3.2.xar&xpage=plai
n&_=] [P1-18] WARN  doc.XWikiDocument               - Failed to display
field [c
ontent] in [view] mode for Object [Panels.Search]
2008-05-20 15:54:09,390
[http://localhost:8181/xwiki/bin/import/XWiki/Import?act
ion=getPackageInfos&name=xwiki-enterprise-installer-windows-1.3.2.xar&xpage=plai
n&_=] [P1-18] WARN  doc.XWikiDocument               - Failed to display
field [c
ontent] in [view] mode for Object [Panels.QuickLinks]
2008-05-20 15:54:09,390
[http://localhost:8181/xwiki/bin/import/XWiki/Import?act
ion=getPackageInfos&name=xwiki-enterprise-installer-windows-1.3.2.xar&xpage=plai
n&_=] [P1-18] WARN  doc.XWikiDocument               - Failed to display
field [c
ontent] in [view] mode for Object [Panels.MyRecentModifications]
2008-05-20 15:54:09,390
[http://localhost:8181/xwiki/bin/import/XWiki/Import?act
ion=getPackageInfos&name=xwiki-enterprise-installer-windows-1.3.2.xar&xpage=plai
n&_=] [P1-18] WARN  doc.XWikiDocument               - Failed to display
field [c
ontent] in [view] mode for Object [Panels.NewPage]

Thanks,
Project trainees.

> On May 19, 2008, at 4:39 PM, goldring, richard wrote:
>
>> Hi,
>>
>> Maybe there needs to be a progress indicator or log window listing
>> each wiki
>> page as its added to the wiki so the user knows something is
>> happening!
>
> Definitely, this should be improved.
>
> However please note that the Import feature is not meant to import
> large XARs. Right now the solution is to use database import and
> exports.
> See http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Backup
>
> Note: I've personally never waited more than 10-20 seconds for the
> list of XAR documents to be displayed (this is before the actual
> import happens).
>
> Thanks
> -Vincent

>> Hi! Importing large XARs takes very long time, so you should really
>> wait :). In my case, importing ~9mb XAR took about ~1 hour.
>> Quoting [EMAIL PROTECTED] [1]: >
>>> On May 19, 2008, at 9:22 AM, [EMAIL PROTECTED]
>> wrote:
>>>
>>>>> Hi,
>>>>
>>>>  In the logs it shows :-
>>>>
>>>> 127.0.0.1 - - [19/May/2008:08:02:00 +0000]
>>>>
>> "GET/xwiki/bin/import/XWiki/Import?action=getPackageInfos&name=xwiki-
>>>> enterprise-installer-windows-1.3.2.xar&xpage=plain&_=
>>>> HTTP/1.1" 200 8748  750
>>>>
>>>> In the start console it shows:-
>>>>
>>>> 2008-05-19 13:34:53,687
>>>>
>> [http://localhost:8181/xwiki/bin/import/XWiki/Import?action=getPackageInfos&;
>> name=xwiki-enterprise-installer-windows-1.3.2.xar&xpage=plai
>>>> n&_=] [P1-18] WARN  doc.XWikiDocument - Failed to display field
>>>> [content]
>>>> in [view] mode for Object [Panels.NewPage]
>>>>
>>>> I think the size is large (1893835)
>>>> What should be my next step?
>>>
>>> Did you wait enough? The logs don't show anything wrong I think.
>>>
>>> What version of "XWiki" are you using?
>> Hi,
>> I waited enough and nothing happens.I am  using XE 1.3.2 and Mysql
>> 5.0
>> Thanks,
>> project trainees.
>>>>> On May 19, 2008, at 8:46 AM, [EMAIL PROTECTED]
>> wrote:
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> I attached a XAR file to upload and when I select the file to
>>>>>> import, it
>>>>>> doesn't shows any documents. But when I attached and selected a
>> TODO
>>>>>> application, it shows all documents of TODO. Why it is so? How
>> can I
>>>>>> import my XAR file? Can any one help?
>>>>>
>>>>> It means one of 2 things:
>>>>> 1) Your XAR is invalid/corrupted. Check the console logs on your
>>>>> xwiki
>>>>> server instance.
>>>>> 2) Your XAR was large and you have not waited enough (it takes
>> some
>>>>> time to display the content of a large XAR)
>>>>>
>>>>> Hope it helps,
>>>>> -Vincent


_______________________________________________
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to