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