Hello,
I'dl like to have a myxwiki opened.
What for : it's been a while i try to foster (my 2 cents) the use of wikis,
and today mainly through the Explorateursduweb'collective's actions, that
consist into explaining potential users, the advantages of some of the web
tools and technologies (basically it's all about trying to explain things in
a plain language). With that in mind, i am from time to time led to answer
that question :"which wiki should or could i use ?". And because i am a
consciensous guy, i only talk about what i know, so when i 've not had the
opportunity to play around with a tool/software, i just don't talk about it.
And i fell it's quite a pitty regarding XWiki, because i) it's a french team
; ii) it seems to be a nice bunch of people ; and iii) the programmable
facet of XWiki surely makes it a must... and some people have already asked
me for that kind of functionnalities... but again i need to play with it
first, before talking about it.
2nd potential use : for the Explorateursduweb themselves (though not sure at
all, yet)
My myxwiki.org's username : SebastienSauteur
Thanks in advance,
Yours
----
Sébastien Sauteur
(who tried his best to make its request plain english ;-)
I downloaded the Xwiki Workspaces Windows installer today (5.21.2008)
I installed the XWiki Workspaces
I started XWiki
I logged in as Admin and created a new Space
I edited the default page and saved it.
I got the following runtime error and I continue to get it every time I save
the page. I have shutdown and restarted XWiki and my browser and I still
get the error. The changes seem to save correctly.
Error number 13007 in 3: Exception while loading lock
Wrapped Exception: a different object with the same identifier value was
already associated with the session:
[com.xpn.xwiki.doc.XWikiLock#-891181972]
com.xpn.xwiki.XWikiException: Error number 13007 in 3: Exception while
loading lock
Wrapped Exception: a different object with the same identifier value was
already associated with the session:
[com.xpn.xwiki.doc.XWikiLock#-891181972]
at
com.xpn.xwiki.store.XWikiHibernateStore.loadLock(XWikiHibernateStore.java:1674)
at
com.xpn.xwiki.store.XWikiCacheStore.loadLock(XWikiCacheStore.java:385)
at
com.xpn.xwiki.doc.XWikiDocument.removeLock(XWikiDocument.java:3651)
at com.xpn.xwiki.web.SaveAction.save(SaveAction.java:133)
at com.xpn.xwiki.web.SaveAction.action(SaveAction.java:140)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:204)
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.doPost(ActionServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:616)
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(SetCharacterEncodingFilter.java:112)
at
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
at
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:471)
at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1565)
at
org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.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.hibernate.NonUniqueObjectException: a different object with the same
identifier value was already associated with the session:
[com.xpn.xwiki.doc.XWikiLock#-891181972]
at
org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:150)
at
org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:195)
at
org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:103)
at org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:878)
at org.hibernate.impl.SessionImpl.load(SessionImpl.java:784)
at
com.xpn.xwiki.store.XWikiHibernateStore.loadLock(XWikiHibernateStore.java:1668)
at
com.xpn.xwiki.store.XWikiCacheStore.loadLock(XWikiCacheStore.java:385)
at
com.xpn.xwiki.doc.XWikiDocument.removeLock(XWikiDocument.java:3651)
at com.xpn.xwiki.web.SaveAction.save(SaveAction.java:133)
at com.xpn.xwiki.web.SaveAction.action(SaveAction.java:140)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:204)
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.doPost(ActionServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:616)
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(SetCharacterEncodingFilter.java:112)
at
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
at
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:471)
at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1565)
at
org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.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)
--
View this message in context: http://www.nabble.com/Runtime-Exception-in-XWiki-Workspaces-tp17366227p1736…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi,
I just had the problem describe in XWIKI-2339.
Now, it is not clear which column of which table I have to modify.
Would it be possible to have an example of SQL query to alter the column
for MySQL ?
It would be nice to have this info in the jira issue and/or in the faq.
Thanks,
Nico
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
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!
Regards,
Richard
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org]On Behalf Of
Mihails Agafonovs
Sent: 19 May 2008 15:25
To: XWiki Users
Subject: Re: [xwiki-users] Import problem
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
>
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Ar cieņu, Mihails
Links:
------
[1] mailto:project_trainees@amritatech.com
Advertisement:
prasi mammai!
www.mama.lv
_______________________________________________
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
the tree thing works following the example from the website.
i have an idea and i would like to ask for your feedback. i wanna make the tree dynamic. from(only) the user interface the user to be capable of creating new pages and children to the pages.(and delete them)
to autodetect where i am as a user, and when i press the 'add button' to make a new page that is a child of the page i am in. and so on. n levels.
i hope i have explained myself,...i reallly wanna know if you think this is possible in xwiki. thx
Take care ,
Gabriela Radu :)
www.gabrielaradu.com
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?
Regards,
Project Trainees.
Hi everyone!
I have upgraded XWiki from version 0.9.840 to version 1.3.2, using
"database copy" way to import data. The upgrade process gave me no
errors, everything is OK, but now I cannot rollback any page to a
previous version in the history, even if the page is created in the new
installation (v. 1.3.2).
In the log file there is this Java exception:
WARN web.XWikiAction - Uncaught exception: Error number 3004 in 3:
Exception while manipulating the archive for file new.jpg
Wrapped Exception: Error number 2002 in 2: Error parsing xml
Wrapped Exception: Error on line 1 of document : Content is not allowed
in prolog. Nested exception: Content is not allowed in prolog.
com.xpn.xwiki.XWikiException: Error number 3004 in 3: Exception while
manipulating the archive for file new.jpg
Wrapped Exception: Error number 2002 in 2: Error parsing xml
Wrapped Exception: Error on line 1 of document : Content is not allowed
in prolog. Nested exception: Content is not allowed in prolog.
at
com.xpn.xwiki.doc.XWikiAttachment.getAttachmentRevision(XWikiAttachment.java:513)
at com.xpn.xwiki.XWiki.rollback(XWiki.java:6127)
at com.xpn.xwiki.web.RollbackAction.action(RollbackAction.java:59)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:197)
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:117)
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:233)
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:102)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at
org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
at
org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767)
at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697)
at
org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
at java.lang.Thread.run(Thread.java:595)
Wrapped Exception:
com.xpn.xwiki.XWikiException: Error number 2002 in 2: Error parsing xml
Wrapped Exception: Error on line 1 of document : Content is not allowed
in prolog. Nested exception: Content is not allowed in prolog.
at
com.xpn.xwiki.doc.XWikiAttachment.fromXML(XWikiAttachment.java:327)
at
com.xpn.xwiki.doc.XWikiAttachment.getAttachmentRevision(XWikiAttachment.java:507)
at com.xpn.xwiki.XWiki.rollback(XWiki.java:6127)
at com.xpn.xwiki.web.RollbackAction.action(RollbackAction.java:59)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:197)
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:117)
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:233)
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:102)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at
org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
at
org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767)
at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697)
at
org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
at java.lang.Thread.run(Thread.java:595)
Wrapped Exception:
org.dom4j.DocumentException: Error on line 1 of document : Content is
not allowed in prolog. Nested exception: Content is not allowed in prolog.
at org.dom4j.io.SAXReader.read(SAXReader.java:482)
at org.dom4j.io.SAXReader.read(SAXReader.java:365)
at
com.xpn.xwiki.doc.XWikiAttachment.fromXML(XWikiAttachment.java:325)
at
com.xpn.xwiki.doc.XWikiAttachment.getAttachmentRevision(XWikiAttachment.java:507)
at com.xpn.xwiki.XWiki.rollback(XWiki.java:6127)
at com.xpn.xwiki.web.RollbackAction.action(RollbackAction.java:59)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:197)
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:117)
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:233)
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:102)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at
org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
at
org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767)
at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697)
at
org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
at java.lang.Thread.run(Thread.java:595)
Nested exception:
org.xml.sax.SAXParseException: Content is not allowed in prolog.
at
org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1183)
at org.dom4j.io.SAXReader.read(SAXReader.java:465)
at org.dom4j.io.SAXReader.read(SAXReader.java:365)
at
com.xpn.xwiki.doc.XWikiAttachment.fromXML(XWikiAttachment.java:325)
at
com.xpn.xwiki.doc.XWikiAttachment.getAttachmentRevision(XWikiAttachment.java:507)
at com.xpn.xwiki.XWiki.rollback(XWiki.java:6127)
at com.xpn.xwiki.web.RollbackAction.action(RollbackAction.java:59)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:197)
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:117)
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:233)
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:102)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at
org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
at
org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767)
at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697)
at
org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
at java.lang.Thread.run(Thread.java:595)
I use a MySQL database (v. 5.0), Tomcat (v. 6.0.16) as servlet
container, JDK 1.6.0_06 and Linux.
Any suggestion?
Thanks a lot!
Diego
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Hello fellow XWikiers,
for those of you interested, we're taking part into the next French Wiki
Wednesday here in Paris this wednesday.
More info over here :
- In French : Wiki Wednesday France website :
http://www.wikiwednesday.fr/xwiki/bin/view/Evenements/yexNp
- The facebook event page :
http://www.facebook.com/event.php?eid=22358645019
We'd be glad to see some of you coming along to talk about wikis and how you
use them...
Non-French speakers and users, I hereby present my fullest apologies for the
unnecessary noise :-)
Looking forward meeting some of you there,
Guillaume
Hi,
I wish to add some velocity tools which can be using from my velocity
context.
To start with I would like to add some generic tools like ListTool provided
by org.apache.velocity.tools.generic.
In future I would also like to add my custom tools.
So is there any way that I can add these to xwiki via some config files and
use them in my .vm templates or wiki code.
Thanks
Sachin
-----
http://www.assembla.com/wiki/show/sachin_mittal about me:
--
View this message in context: http://www.nabble.com/Adding-velocity-tools-tp17315159p17315159.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello friends,
I wish to create a wiki for hosting informations about a party we're organizing.
How do i choose my wiki name / how do i know if it's available ? I'd
like to use "cinqtulipes"
user zuzur.
Thanks in advance,
Erwan
Hello,
How is it possible to define programing rights for a page?. I just know how to give programming rights to the users not on the page itself.
It is the same problem for all the pages nearly.
Thanks again,
Hosam
Original Message:
Hosam Hassan wrote:
<br />> Hello all,
<br />>
<br />> I recently moved my wiki from my local pc to the webserver. The problem is that in the /xwiki/bin/view/FAQs/NumberedSections in the wiki on the webserver the
<br />>
<br />> {code}
<br />> #set($context.tocNumbered = true)
<br />> #set($context.tocData = $tdoc.getTOC(2, 6, true))
<br />>
<br />> {code}
<br />>
<br />> Is not working it's just displayed empty, While on my local pc its working fine.
<br />> The database is the same in both and the wiki is the exact one.
<br />>
<br />> The only difference is that the web server version is running on tomcat 5 instead of tomcat 6 which I am running on my local pc. Is this the problem?
<br />>
<br />
<br />The page does not have programming rights.
<br />--
<br />Sergiu Dumitriu
<br />http://purl.org/net/sergiu/
<br />_______________________________________________
<br />users mailing list
<br />users(a)xwiki.org
<br />http://lists.xwiki.org/mailman/listinfo/users
<br />
--
Hello all,
I recently moved my wiki from my local pc to the webserver. The problem is that in the /xwiki/bin/view/FAQs/NumberedSections in the wiki on the webserver the
{code}
#set($context.tocNumbered = true)
#set($context.tocData = $tdoc.getTOC(2, 6, true))
{code}
Is not working it's just displayed empty, While on my local pc its working fine.
The database is the same in both and the wiki is the exact one.
The only difference is that the web server version is running on tomcat 5 instead of tomcat 6 which I am running on my local pc. Is this the problem?
Many thanks