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: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org]On 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 <richard.goldring(a)uk.thalesgroup.com>:
> 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: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org]On 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
> 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
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: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org]On 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
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
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
Hi,
I have to deal some external data in my XE 1.3.2. I am using Mysql 5.0
and Jetty 5.1.5. I followed this
http://xwikisql.gradsoft.ua/docs/XWikiSqlPluginGuide.html and write the
code
##receive database
#set($mydb=$xwiki.sql.getDatabase("test"))
#set($result=$mydb.executeUpdate("update student set Name = ? where RNo =
?", ["Happy", 28]))
When I saved this, nothing on the page but in the start console it shows:-
2008-05-21 12:53:54,781 [http://localhost:8181/xwiki/bin/view/main/amma]
[P1-18]
ERROR xwikisql.SqlPlugin - exception during creation of
datasource
test
javax.naming.NoInitialContextException: Need to specify class name in
environmen
t or system property, or as an applet parameter, or in an application
resource f
ile: java.naming.factory.initial
at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
at javax.naming.InitialContext.getURLOrDefaultInitCtx(Unknown Source)
at javax.naming.InitialContext.lookup(Unknown Source)
at ua.gradsoft.xwikisql.SqlPlugin.createDataSource(SqlPlugin.java:95)
at ua.gradsoft.xwikisql.SqlPlugin.createDatabase(SqlPlugin.java:84)
at
ua.gradsoft.xwikisql.SqlPluginApi.getDatabase(SqlPluginApi.java:30)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.in
voke(UberspectImpl.java:295)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.j
ava:245)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTRefer
ence.java:203)
at
org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReferen
ce.java:419)
at
org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpres
sion.java:73)
at
org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSet
Directive.java:125)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.
java:318)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRend
erer.java:241)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRend
erer.java:155)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.render(XWikiVelocityRender
er.java:95)
at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXW
ikiRenderingEngine.java:252)
at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXW
ikiRenderingEngine.java:176)
at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXW
ikiRenderingEngine.java:145)
at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderDocument(Defau
ltXWikiRenderingEngine.java:134)
at
com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java
:418)
at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:371)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.in
voke(UberspectImpl.java:295)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.j
ava:245)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTRefer
ence.java:203)
at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTRefere
nce.java:294)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.
java:318)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRend
erer.java:241)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRend
erer.java:155)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1429)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:598)
at sun.reflect.GeneratedMethodAccessor83.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.in
voke(UberspectImpl.java:295)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.j
ava:245)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTRefer
ence.java:203)
at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTRefere
nce.java:294)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.
java:318)
at
org.apache.velocity.runtime.directive.VelocimacroProxy.render(Velocim
acroProxy.java:194)
at
org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirect
ive.java:170)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java
:74)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfSt
atement.java:88)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java
:74)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.
java:318)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfSt
atement.java:107)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.
java:318)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRend
erer.java:241)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRend
erer.java:155)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1429)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:108)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:208)
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)
Where is my fault?
Regards,
Project trainees.
Hi,
We are trying to configure and get xWiki up and running for collaboration at
my organization. We have an issue because for some reason when a new space
is created and new pages within that space, the WYSIWYG Editor is not
working as it does on other public pages.
Instead of the formatting buttons, we only have a textarea to type in. Am I
missing something?
We have already tried to alter all the default editor options specifically
to wysiwyg with no luck.
Any advice?
Thanks,
--Kim
Sergiu,
Which bit is fixed? The generation of the empty file in the XAR on export OR
the import failing on the reading of an empty file in the XAR? Or both!?!
Thanks.
Richard
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org]On Behalf
Of Sergiu Dumitriu
Sent: 20 May 2008 13:38
To: XWiki Users
Subject: Re: [xwiki-users] Import problem
project_trainees(a)amritatech.com wrote:
> Hi Richard,
>
> I had an empty file in my XAR and that was the problem. Thank You very
> much.
This error is (supposed to be) fixed in 1.4.
--
Sergiu Dumitriu
http://purl.org/net/sergiu/
_______________________________________________
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
hallo
i am currently trying to setup xwiki on taomcat 5.5/mysql. until now its
doing quite well :)
my next step is to get ldap authentication against an active directory
working. i followed
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Authentication#HLDAPCon…
and some postings on the mailing list but i cant get it to work.
i either end up with:
com.xpn.xwiki.plugin.ldap.XWikiLDAPException: Error number 0 in 5: LDAP
bind failed with LDAPException.
Wrapped Exception: Invalid Credentials
or worse (with in my eyes the propper config):
WARN LDAP.XWikiLDAPAuthS
erviceImpl - LDAP authentication failed.
java.lang.NullPointerException
at
com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.ldapAuthenticate(XWikiLDAPAuthServiceImpl.java:256)
at
com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.authenticate(XWikiLDAPAuthServiceImpl.java:107)
at
com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.authenticate(MyFormAuthenticator.java:194)
at
com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.processLogin(MyFormAuthenticator.java:127)
at
com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.processLogin(MyFormAuthenticator.java:112)
at
com.xpn.xwiki.user.impl.xwiki.XWikiAuthServiceImpl.checkAuth(XWikiAuthServiceImpl.java:214)
at com.xpn.xwiki.XWiki.checkAuth(XWiki.java:3307)
at
com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImpl.checkAccess(XWikiRightServiceImpl.java:136)
at com.xpn.xwiki.XWiki.checkAccess(XWiki.java:3315)
at com.xpn.xwiki.XWiki.prepareDocuments(XWiki.java:4259)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:173)
...
i've done ldap auth on several other tools (apache/subversion,
bugzilla). there i used two accounts: one allowed to bind to the active
directory and do searches and the useraccount itself.
in the xwiki config i can only see the user logging in is used to bind
to the ldap server?
is the documentation current for xwiki 1.3.2.9174? or can someone give
me a hint to make this work?
thanks a lot
regards
werner
Thanks a lot
Original Message:
Have you tried googling about it or reading the doc? :)
<br />
<br />FYI the doc is at:
<br />http://platform.xwiki.org/xwiki/bin/view/AdminGuide/ImportExport
<br />
<br />Thanks
<br />-Vincent
<br />
<br />On May 20, 2008, at 4:51 PM, Hosam Hassan wrote:
<br />
<br />> Hello all,
<br />>
<br />> Java Heap Space Out Of Memory Exception !
<br />>
<br />> I got that exception while trying to attach an xar file.
<br />>
<br />> Many thanks,
<br />>
<br />> Hosam
<br />_______________________________________________
<br />users mailing list
<br />users(a)xwiki.org
<br />http://lists.xwiki.org/mailman/listinfo/users
<br />
--
If you have an empty file in your XAR then delete that file (open in WinZip
to do this) - I have known empty files in a XAR cause the errors below.
Hope that helps.
Regards,
Richard
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org]On Behalf
Of project_trainees(a)amritatech.com
Sent: 20 May 2008 10:51
To: XWiki Users
Subject: Re: [xwiki-users] Import problem
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 project_trainees(a)amritatech.com [1]: >
>>> On May 19, 2008, at 9:22 AM, project_trainees(a)amritatech.com
>> 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, project_trainees(a)amritatech.com
>> 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(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