Hi,
I am currently developing a program documentation system based on xwiki.
I am able to create pages which describes programs. For each program
which has to be described I programatically creates a page and populate
a object with static program information. But I need to document which
database files the program uses, with links to the relevant database
file descriptions (a list). For that I want to use a database list
class. I also want to show a call graph. for that I want to use a
database tree class. But I am not able to find any documentation on
these class properties. Can anyone give an example of use for each of
these two properties or give pointers to relevant examples.
The article http://www.theserverside.com/tt/articles/article.tss?l=XWiki
on the server side were a very good introduction! But it didn't treat
the property Custom Display. Are there any documentation on this property?
Cheers
/Thorbjørn Konstantinovitz
--
W: http://kodefabrikken.dk
If you failing to plan, then you´re planning to fail.
I am using xWiki behind an apache server and using Mod proxy to proxy
https requests to the tomcat server.
The problem is that xWiki rewrites the urls to http://host... so they
have to get bounced off the http default server host configuration that
redirects them to https://host.... Therefore the posts do not work
because the redirect breaks the session.
How can I turn off the url rewriting in xwiki so that the urls use the
relative reference not the full absolute reference? Or is there a way
to tell it to rewrite urls with the https (not http) protocal?
Thanks in advance for any help,
Doug Culnane
SNAP Consulting
Systemnahe Anwendungsprogrammierung und Beratung GmbH
Altmannsdorferstra?e 23A
1120 Wien, Osterreich
www.snapconsult.com
Firmenbuch: FN193058i
Firmenbuchgericht: Handelsgericht Wien
UID-Nr.: ATU48838904
DVR-Nr.: 1049933
Wichtiger Hinweis: Diese E-Mail ist fur den Gebrauch durch die Person oder die Firma/Organisation bestimmt, die in der Empfangeradresse benannt ist und unterliegt u. U. dem Berufsgeheimnis oder anderweitigen rechtlichem Schutz. Wenn Sie nicht der angegebene Empfanger sind, nehmen Sie bitte zur Kenntnis, dass Weitergabe, Kopieren, Verteilung oder Nutzung des Inhalts dieser E-Mail-Ubertragung unzulassig ist. Falls Sie diese E-Mail irrtumlich erhalten haben, benachrichtigen Sie den Absender bitte unverzuglich.
Important Note: This e-mail may contain trade secrets or privileged, undisclosed or confidential information or otherwise protected by work product immunity or other legal rules. If you have received this e-mail in error, you are hereby notified that any review, copying or distribution of it is strictly prohibited. Please inform us immediately and destroy the original transmittal.
Hi,
I am querying for all the users whose addresses are matching a
particular pattern. (there is an "address" property in the UserClass).
Also I want to the results to be sorted by another property, "username".
I found a similar query in this mailing list thread :
http://www.nabble.com/select-objects-by-class-and-sort-by-property-tf710844…
I tried forming the following query but it is wrong.
, BaseObject as obj, StringProperty as prop, StringProperty as otherprop
join obj.id=otherprop.id.id and otherprop.id.name='username' where
obj.name=doc.fullName and obj.className='Users.UserClass' and
obj.id=prop.id.id and prop.id.name='address' and prop.value like
'%someaddress%' order by otherprop.value
Can anyone tell me what the correct query should be like.
Thanks in advance
Roopesh
------------------
DigitalGlue, India
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
Hello All,
With Vincent's help I have migrated from the standalone wiki to the xwiki on
a remote server.
But, I am not able to import
· Main.LuceneSearch
· Panels.SyntaxHelp
· Photos.NewAlbum
pages, alongwith some other pages that I created and also my ow user
profile.
I also tried to import the above mentioned 3 pages from "
xwiki-enterprise-wiki-1.3~.xar <javascript:void()>" but it still gives
error: (for all 3 of these)
12:04:17,007 [
http://crntsbox01/xwiki/bin/import/XWiki/Import?editor=import&space=XWiki]
[http-80-Processor20] ERROR packaging.Package - Failed to save
document Photos.NewAlbum
12:04:17,304 [
http://crntsbox01/xwiki/bin/import/XWiki/Import?editor=import&space=XWiki]
[http-80-Processor20] ERROR .AbstractFlushingEventListener - Could not
synchronize database state with session
org.hibernate.StaleStateException: Batch update returned unexpected row
count from update [0]; actual row count: 0; expected: 1
Also, another weird thing that is happening is that all my groups show the
number of members - 1 more than the actual number of members in the group. I
know that each group has the blank XWiki.XwikiGroups object and one each for
a particular member. But, this was not a problem for me in my standalone
version (1.4-SNAPSHOT). In the new setup (which is 1.3.2.9174), it seems
like it is counting that blank object also as a member! Do I need to change
something for it to show the correct number of members in every group?
Thanks
Hi all,
XE 1.3.8295, Internet Explorer 7.0.5730.11
The rigth side column panels don't appear when accessing Main.WebHome
In any other place, it appears without any problem. For instance, in
Main.WebSearch or Panels.WebHome.
The same is true with either Albatross or Toucan skins, or whatever
other skin is defined in this box. Other virtual wikis in the same
installation are doing just fine. Safari, OmniWeb and Firefox correctly
show page.
Please, any idea? Thanks!
Ricardo
--
Ricardo Rodríguez
Your EPEC Network ICT Team
Hi everyone,
A few months ago we had discussed the possibility of offering a free
community-managed farm for non-business critical projects.
See http://tinyurl.com/69blgy
In short the ideas are:
1) No support guarantee. All support done on the xwiki.org user
mailing list by the community.
2) No stability guarantee. We would always install the latest Platform/
XE/XEM version on it and it would serve as a stability test for the
xwiki development team. Obviously the community will always try to
make it as stable as possible but that's not guaranteed. It's also
possible that the farm will be down a few days now and then. We'll try
to reduce this but no warranties.
3) There will be several members of the community who'll have admin
access on the farm.
4) It will be open to anyone. However the target users will be
technical people who can support themselves to some extent. We won't
control that but it'll be mentioned on the registration page. In any
case points 1) and 2) make it obvious that it shouldn't be used for
any business-critical wiki.
We're now announcing the myxwiki.org community farm at http://myxwiki.org
Note that the machine was donated by the XPertNet company (http://xwiki.com
). Thanks XPertNet! :)
Right now the following persons are admin on this farm:
* ThomasMortagne
* Marta
* Sergiu
* GuillaumeLerouge
* amelentev (Artem)
* Jerome Velociter
* jvdrean (Jean-Vincent)
* VincentMassol
Please note that all these people are doing this in their free time
and thus we're looking for more admins. If you're interested in
helping us manage this farm (and we hope there'll be plenty of you
interested) then please register a user and let me know and I'll make
you admin.
Here's what admins should do:
* work on improving the community farm content in general
* work on improving the way information is presented and navigation
* watch the recent changes and undo graffitis where needed
* create wikis for people who request them (there's a HTML form to
fill) - we'll need to decide if we want to make that self service or
not. Right now I suggest that people interested in getting a wiki
there send an email to the xwiki users list explaining what they want
to do with their new wiki and then one admin creates it for them.
* watch out for security holes
* suggest ideas to improve the farm
What everyone can do:
* edit and improve content for the non admins parts of the farm
* spread the word, blog about it, etc
Thanks
-Vincent on behalf of the XWiki community
Hi,
I've just upgraded the XWiki of my company from version 0.9.840 to
version 1.3.2 (latest stable version), using the "database copy" method
to copy data. Everything is OK now, but I cannot rollback any page to a
previous version in the history , even if the page is created in the new
installation (1.3.2).
I've got this error:
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) and Tomcat (v. 6.0.16) as servlet container.
Any suggestion?
Thanks a lot!
Diego