dear all,
I am having trouble restricting the access of a document to my XWiki
registerd users only.
If i apply the edit, view rights to XWiki.XWikiAllGroup at the last document
published, I get the following error message when logout :
Error number 4001 in 4: Error while parsing velocity page Main.WebHome
Wrapped Exception: Invocation of method 'formatDate' in class
com.xpn.xwiki.api.XWiki threw exception class
java.lang.NullPointerException : null
While when I do the same for an older document, this document is
effectively hidden when I logout but the others appear in double!
Any idea?
Many thanks in advance,
--
Arnaud Béchet
Station biologique de la Tour du Valat
Le Sambuc - 13 200 Arles - France
Tel : +33 (0)4 90 97 29 73
Fax : +33 (0)4 90 97 20 19
www.tourduvalat.org
It must be a bad day for XWiki. I experienced the same.
It affects my mood!
-------------- Original message ----------------------
From: "Robin Fernandes" <rewbs.soal(a)gmail.com>
> Are there more spam attacks on xwiki.com at the moment? Pages are
> taking over 30s to load on soal.xwiki.com - quite annoying since I'm
> playing with some fiddly skin stuff that requires a lot of save &
> reload... :)
>
> On 02/06/06, wangwh(a)att.net <wangwh(a)att.net> wrote:
> > Hi,
> >
> > The Performance of these XWikis may impact the decisions of many people and
> many other projects...
> >
> > eitc2006 ... for an international high tech conference, very visible, other
> tech groups and conferences may learn from this site
> >
> > sos ... new site, a model site for volunteer work finder, design and run by
> teens, huge impact on teen population
> >
> > swrrg ... new site, for environmental groups, could have impact all over New
> Jersey
> >
> > princetongirlscouts ... new site, if this one works well, a huge number of
> girl scouts sites may follow, big publicity
> >
> > Wei-hsing
> >
> >
> >
> > -------------- Original message ----------------------
> > From: Ludovic Dubost <ludovic(a)xwiki.com>
> > >
> > > While we work on this issue, for those who have an interesting and open
> > > wiki (not private), please let me know here.
> > > We can move these wikis to separate servers.
> > >
> > > Ludovic
> > >
> > > wangwh(a)att.net a écrit :
> > > > Hi, Ludovic,
> > > >
> > > > Bravo! The performance issue is THE worry I have before getting more
> important
> > > tasks (and groups) on XWiki.
> > > >
> > > > Wei-hsing
> > > >
> > > > -------------- Original message ----------------------
> > > > From: Ludovic Dubost <ludovic(a)xwiki.com>
> > > >
> > > >> Hi,
> > > >>
> > > >> We are still getting some spam attack. I'm looking to plan the upgrade
> > > >> to xwiki.com very soon (the new version has big performance
> improvements).
> > > >> This would also allow to start testing the cluster mode
> > > >>
> > > >> Ludovic
> > > >>
> > > >> Brian Knorr a écrit :
> > > >>
> > > >>> Are all the xwiki.com <http://xwiki.com> sites down?
> > > >>> ------------------------------------------------------------------------
> > > >>>
> > > >>>
> > > >>> --
> > > >>> You receive this message as a subscriber of the
> xwiki-users(a)objectweb.org
> > > >>>
> > > >> mailing list.
> > > >>
> > > >>> To unsubscribe: mailto:xwiki-users-unsubscribe@objectweb.org
> > > >>> For general help: mailto:sympa@objectweb.org?subject=help
> > > >>> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
> > > >>>
> > > >>>
> > > >> --
> > > >> Ludovic Dubost
> > > >> XPertNet: http://www.xpertnet.fr/
> > > >> Blog: http://www.ludovic.org/blog/
> > > >> XWiki: http://www.xwiki.com
> > > >> Skype: ldubost AIM: nvludo Yahoo: ludovic
> > > >>
> > > >>
> > > >>
> > > >>
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > ------------------------------------------------------------------------
> > > >
> > > > Sujet:
> > > > Re: [xwiki-users] all the xwiki.com sites seem to be down?
> > > > Expéditeur:
> > > > Ludovic Dubost <ludovic(a)xwiki.com>
> > > > Date:
> > > > Thu, 1 Jun 2006 11:10:27 +0000
> > > > Destinataire:
> > > > xwiki-users(a)objectweb.org
> > > >
> > > > Destinataire:
> > > > xwiki-users(a)objectweb.org
> > > >
> > > >
> > > > --
> > > > You receive this message as a subscriber of the xwiki-users(a)objectweb.org
> > > mailing list.
> > > > To unsubscribe: mailto:xwiki-users-unsubscribe@objectweb.org
> > > > For general help: mailto:sympa@objectweb.org?subject=help
> > > > ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
> > > >
> > > > ------------------------------------------------------------------------
> > > >
> > > >
> > > > --
> > > > You receive this message as a subscriber of the xwiki-users(a)objectweb.org
> > > mailing list.
> > > > To unsubscribe: mailto:xwiki-users-unsubscribe@objectweb.org
> > > > For general help: mailto:sympa@objectweb.org?subject=help
> > > > ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
> > > >
> > >
> > >
> > > --
> > > Ludovic Dubost
> > > XPertNet: http://www.xpertnet.fr/
> > > Blog: http://www.ludovic.org/blog/
> > > XWiki: http://www.xwiki.com
> > > Skype: ldubost AIM: nvludo Yahoo: ludovic
> > >
> > >
> > >
> >
> >
> >
> >
> >
> >
> > ---------- Forwarded message ----------
> > From: Ludovic Dubost <ludovic(a)xwiki.com>
> > To: xwiki-users(a)objectweb.org
> > Date: Thu, 1 Jun 2006 16:53:29 +0000
> > Subject: Re: [xwiki-users] all the xwiki.com sites seem to be down?
> >
> > --
> > You receive this message as a subscriber of the xwiki-users(a)objectweb.org
> mailing list.
> > To unsubscribe: mailto:xwiki-users-unsubscribe@objectweb.org
> > For general help: mailto:sympa@objectweb.org?subject=help
> > ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
> >
> >
> >
> > --
> > You receive this message as a subscriber of the xwiki-users(a)objectweb.org
> mailing list.
> > To unsubscribe: mailto:xwiki-users-unsubscribe@objectweb.org
> > For general help: mailto:sympa@objectweb.org?subject=help
> > ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
> >
> >
> >
>
>
Hi,
The Performance of these XWikis may impact the decisions of many people and many other projects...
eitc2006 ... for an international high tech conference, very visible, other tech groups and conferences may learn from this site
sos ... new site, a model site for volunteer work finder, design and run by teens, huge impact on teen population
swrrg ... new site, for environmental groups, could have impact all over New Jersey
princetongirlscouts ... new site, if this one works well, a huge number of girl scouts sites may follow, big publicity
Wei-hsing
-------------- Original message ----------------------
From: Ludovic Dubost <ludovic(a)xwiki.com>
>
> While we work on this issue, for those who have an interesting and open
> wiki (not private), please let me know here.
> We can move these wikis to separate servers.
>
> Ludovic
>
> wangwh(a)att.net a écrit :
> > Hi, Ludovic,
> >
> > Bravo! The performance issue is THE worry I have before getting more important
> tasks (and groups) on XWiki.
> >
> > Wei-hsing
> >
> > -------------- Original message ----------------------
> > From: Ludovic Dubost <ludovic(a)xwiki.com>
> >
> >> Hi,
> >>
> >> We are still getting some spam attack. I'm looking to plan the upgrade
> >> to xwiki.com very soon (the new version has big performance improvements).
> >> This would also allow to start testing the cluster mode
> >>
> >> Ludovic
> >>
> >> Brian Knorr a écrit :
> >>
> >>> Are all the xwiki.com <http://xwiki.com> sites down?
> >>> ------------------------------------------------------------------------
> >>>
> >>>
> >>> --
> >>> You receive this message as a subscriber of the xwiki-users(a)objectweb.org
> >>>
> >> mailing list.
> >>
> >>> To unsubscribe: mailto:xwiki-users-unsubscribe@objectweb.org
> >>> For general help: mailto:sympa@objectweb.org?subject=help
> >>> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
> >>>
> >>>
> >> --
> >> Ludovic Dubost
> >> XPertNet: http://www.xpertnet.fr/
> >> Blog: http://www.ludovic.org/blog/
> >> XWiki: http://www.xwiki.com
> >> Skype: ldubost AIM: nvludo Yahoo: ludovic
> >>
> >>
> >>
> >>
> >
> >
> >
> >
> >
> > ------------------------------------------------------------------------
> >
> > Sujet:
> > Re: [xwiki-users] all the xwiki.com sites seem to be down?
> > Expéditeur:
> > Ludovic Dubost <ludovic(a)xwiki.com>
> > Date:
> > Thu, 1 Jun 2006 11:10:27 +0000
> > Destinataire:
> > xwiki-users(a)objectweb.org
> >
> > Destinataire:
> > xwiki-users(a)objectweb.org
> >
> >
> > --
> > You receive this message as a subscriber of the xwiki-users(a)objectweb.org
> mailing list.
> > To unsubscribe: mailto:xwiki-users-unsubscribe@objectweb.org
> > For general help: mailto:sympa@objectweb.org?subject=help
> > ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
> >
> > ------------------------------------------------------------------------
> >
> >
> > --
> > You receive this message as a subscriber of the xwiki-users(a)objectweb.org
> mailing list.
> > To unsubscribe: mailto:xwiki-users-unsubscribe@objectweb.org
> > For general help: mailto:sympa@objectweb.org?subject=help
> > ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
> >
>
>
> --
> Ludovic Dubost
> XPertNet: http://www.xpertnet.fr/
> Blog: http://www.ludovic.org/blog/
> XWiki: http://www.xwiki.com
> Skype: ldubost AIM: nvludo Yahoo: ludovic
>
>
>
Hello,
Is there a way to create the XWD_ID via a script. A script that runs
in Linux for example? I need the ability to move documents around and
this seems like the bigest hurdle.
Also, is there a reason for having the XWD_ID based on columns in the table?
Thanks,
-jeff
Sorry guys,
My response is in portuguese.
I fix the problem using the rollback function.
-----Original Message-----
From: Filipe [mailto:Filipe@drive.com.br]
Sent: quinta-feira, 8 de junho de 2006 12:39
To: xwiki-users(a)objectweb.org
Subject: RE: [xwiki-users] syntax page?
Dei uma olhada lá e concertei!!
-----Original Message-----
From: Dave Mangot [mailto:dmangot@terracottatech.com]
Sent: quinta-feira, 8 de junho de 2006 12:05
To: xwiki-users(a)objectweb.org
Subject: [xwiki-users] syntax page?
Seems wrong...
http://www.xwiki.com/xwiki/bin/view/Doc/XWikiSyntax
-Dave
Dei uma olhada lá e concertei!!
-----Original Message-----
From: Dave Mangot [mailto:dmangot@terracottatech.com]
Sent: quinta-feira, 8 de junho de 2006 12:05
To: xwiki-users(a)objectweb.org
Subject: [xwiki-users] syntax page?
Seems wrong...
http://www.xwiki.com/xwiki/bin/view/Doc/XWikiSyntax
-Dave
Hi,
Thks a lot, I will have to connect Xwiki to a Document Image processing DB.
People provide documents which are stored in a DIP but I am looking for an easy-to-use presentation system so as to view docs, edit annotations etc..
So, I think a xwiki could be a good solution.
Bruno
-----Message d'origine-----
De : Filipe [mailto:Filipe@drive.com.br]
Envoyé : jeudi 8 juin 2006 16:42
À : xwiki-users(a)objectweb.org
Objet : RE: [xwiki-users] how to connect wiki to an external database
Bruno,
If i'm right you can edit this conection in Hibernate configuration. The file is in $xwiki\WEB-INF\hibernate.cfg.xml
-----Original Message-----
From: bruno.grandjean(a)mife90.org [mailto:bruno.grandjean@mife90.org]
Sent: quinta-feira, 8 de junho de 2006 11:37
To: xwiki-users(a)objectweb.org
Subject: [xwiki-users] how to connect wiki to an external database
Hi,
newbie, I would like to know if it is possible to connect a wiki to another Database. I am using a mysql database so as to store my different documents (pdf, jpg, word..) and I would access to these docs from a wiki.
thks
bruno
Bruno,
If i'm right you can edit this conection in Hibernate configuration. The file is in $xwiki\WEB-INF\hibernate.cfg.xml
-----Original Message-----
From: bruno.grandjean(a)mife90.org [mailto:bruno.grandjean@mife90.org]
Sent: quinta-feira, 8 de junho de 2006 11:37
To: xwiki-users(a)objectweb.org
Subject: [xwiki-users] how to connect wiki to an external database
Hi,
newbie, I would like to know if it is possible to connect a wiki to another Database. I am using a mysql database so as to store my different documents (pdf, jpg, word..) and I would access to these docs from a wiki.
thks
bruno
Hi,
newbie, I would like to know if it is possible to connect a wiki to another Database. I am using a mysql database so as to store my different documents (pdf, jpg, word..) and I would access to these docs from a wiki.
thks
bruno
I have a portal application that authenticates users and redirects to XWiki
(within a frame). Is it possible to pass the credentials to XWiki so users
dont have to re-authenticate again?
Thanks
Duke
I'll explain.
I've got a class with a date attribute. This class is represented through a form to the user, so he/she has to set this date. Now I want, on a separate page, to create an overview of all objects of that class which fall in a given period. But not from the current date to 1 month back. Rather from a set start date to a set end date. And yes I want to do this with a Velocity script.
Hope that explains a bit more.
Joep Janssen
-----Original Message-----
From: jeremi joslin [mailto:jeremi23@gmail.com]
Sent: Wednesday, June 07, 2006 8:22 AM
To: xwiki-users(a)objectweb.org
Subject: Re: [xwiki-users] Date value compare (the sequal)
Hi,
I don't really understand what you want. Are you trying to do it in a
velocity script? Do you mean, in your class, adding a constraint to
refuse every object which have a date not in your period?
Can you send use more infomation?
Jérémi
On 6/7/06, jjanssen(a)nl.swets.com <jjanssen(a)nl.swets.com> wrote:
> Hello,
>
> I've asked a question before on this subject (http://www.objectweb.org/wws/arc/xwiki-users/2006-03/msg00131.html), but now a slightly different one:
>
> Dates in Xwiki are of type java.util.Calendar. This allows me to go back in time from the current date/time a certain amount. But suppose I want all objects, of a class with a date attribute, where the date attribute has a value from a start date to an end date. For instance: all object where date between 01-05-2006 and 31-05-2006. Is this possible as well? I haven't succeeded yet. So any help would be appreciated.
>
> Thanks again,
>
> Joep Janssen
>
>
>
>
> --
> You receive this message as a subscriber of the xwiki-users(a)objectweb.org mailing list.
> To unsubscribe: mailto:xwiki-users-unsubscribe@objectweb.org
> For general help: mailto:sympa@objectweb.org?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>
>
>
Hello,
I've asked a question before on this subject (http://www.objectweb.org/wws/arc/xwiki-users/2006-03/msg00131.html), but now a slightly different one:
Dates in Xwiki are of type java.util.Calendar. This allows me to go back in time from the current date/time a certain amount. But suppose I want all objects, of a class with a date attribute, where the date attribute has a value from a start date to an end date. For instance: all object where date between 01-05-2006 and 31-05-2006. Is this possible as well? I haven't succeeded yet. So any help would be appreciated.
Thanks again,
Joep Janssen
Hello,
I sometimes see strange behaviour in my applications. I'm using a lot of templates, where users fill in forms. But when saving I don't see the object in my presentation sheet, I rather get back an empty page. It seems to be happening at random. Has somebody experienced this kind of behaviour as well?
Cheers,
Joep Janssen
Hi,
Anyone tried these?
-- adjust the time on event calendar, so that the shaded 'today' matches local time?
-- modify the upper right corner of the s5-xwiki presentation to show local logo?
Thanks.
Wei-hsing
I am *very* new to xwiki. I am trying to install it on a server which
already has a postgres
install. In order to start, I would therefore prefer something full java
i.e. with hsqldb. Is there
an existing archive *ready* to use with this kind of setting ? Or does
somebody can point me to
the modification I should do for this to work based on the standard war
file.
Thanks
PS: I am running tomcat 5.0.28
PS2: I remember that such a version was available in the past - but
can't find it now.
--
Guillaume ALLEON
http://guillaume.alleon.free.fr/
I'm getting the following exception. Any suggestion what I should be looking
at:
2006-06-02 15:43:23 StandardWrapperValve[action]: Servlet.service() for
servlet
action threw exception
java.lang.NoSuchMethodError:
org.apache.commons.dbcp.BasicDataSourceFactory.crea
teDataSource(Ljava/util/Properties;)Ljavax/sql/DataSource;
at com.xpn.xwiki.store.DBCPConnectionProvider.configure
(DBCPConnectionPr
ovider.java:174)
at
org.hibernate.connection.ConnectionProviderFactory.newConnectionProvi
der(ConnectionProviderFactory.java:80)
at org.hibernate.cfg.SettingsFactory.createConnectionProvider
(SettingsFa
ctory.java:349)
at org.hibernate.cfg.SettingsFactory.buildSettings(
SettingsFactory.java:
58)
at org.hibernate.cfg.Configuration.buildSettings(Configuration.java
:1509
)
at org.hibernate.cfg.Configuration.buildSessionFactory(
Configuration.jav
...
Thanks
Duke
Hi,
Relevant Stats:
Fedora Core 4 / JBoss 4.0.4 / XWiki 0.9.840 / MySQL
5.0
I want to be able to introduce a new tag - like {table}, but
with a different style. {table style="foo"} as an extension would be good.
I found things like TableMacro, TableBuilder, as starting points but could
not find Table.java (which they use).
So, two questions
1) Am I on the right track with the TableBuilder and Table classes?
2) Is there docs on how to include a new macro (via a plugin,
perhaps?)
-Adrian
Adrian Hall
Sr. Product Line Manager
Technology Partnerships
ahall(a)mirapoint.com
Ph: (408) 667-4977
MSN: ahall(a)mirapoint.com
Skype: adrianhall
Tom Stone
Network Administrator
Hi,
Thanks for all your help I successfully moved my XWiki installation from my PC to A Windows 2003 server.
I used Brandon's instructions which included installing all of the sever software, downloading the war file and then putting this in the webapps folder.
At this point I restored the database - then created a user and gave it full rights to the database.
This got me up and running.
Cheers
Tom
Hi all, thanks for the constant updates and info.
I'm trying to view the xwikiattachment_content table rows and columns in
the windows command line but I don't get any meaningful results. The
MySql command is select * from xwikiattachment_content. I get a series
of several dotted lines followed by endless characters and the computer
starts beeping endlessly until I have to close the command line
interface. I'm doing a project on xwiki and I need to document the
contents of each table. What can I do?
Hi,
I have been running an XWiki server on my PC for about 3 weeks and have been entering a lot of useful information about our companies IT Systems.
This is currently on a Windows XP machine running Tomcat and MySQL.
I am in the process of setting up a Dell server running either aLinux or Debian Linux to act as a permanent home for the XWiki.
If I follow the installation instructions on setting up a new XWiki - can I then just copy the XWiki database over from the Windows PC and set access rights to the XWiki user or is it more complicated than that (if so can anyone point me in the direction of any documentation)
Cheers
Tom Stone
Network Administrator
Skins are pretty much simple to setup once you've found out about
classes and how they work.
There is a FAQ for skins (listed under how to change image I think), but
the FAQ has not been loading for the last few days.
In a nutshell then (and I hope I got it all right - been awhile):
Preparation:
Open two explorer windows; both connected to Xwiki as Administrator. On
the one, open the Default Skin (normally called "Xwiki.MySkin") and
go to "More Actions", and select "Edit Objects".
I'll refer to that window as the Default Skin.
Unless noted, the following steps are done on the other window.
1) Create new document under the XWiki webhome, call it "SkinName" -
replace SkinName for your own name.
2) Click on "More Actions" and select "Edit Objects"
3) Under "Add Object" select "Xwiki.XwikiSkins"; and click "Add Object
from this Class".
4) Now on the Default Skin window, copy all the content under Style.
5) On the new skin, paste the text you just copied into the empty Style
field.
6) Name your skin the same as your document name (eg "Xwiki.SkinName")
7) Click Save Objects, and go back to your content page (click on the
document name)
8) Edit the content now ("Edit this Page" link).
9) For ease of use, paste the following into the text box:
__________________
1 Skin
To active this skin by default, user "Edit XWiki Preferences" in the
"More Actions" menu and enter XWiki.(skinname) in the skin field.
* <a href="$doc.getURL("edit","xpage=editobject")">Edit this skin</a>
* [Test this skin>Main.WebHome?skin=${doc.fullName}]
1.1 Current styles and templates
* <a href="/xwiki/templates/">Template</a>
* <a href="/xwiki/skins/default/">Styles</a>
____________
10) Click Save. You can test your skin by clicking the "Test this skin"
link.
11) To use the skin, simply follow instructions in the content above.
OK, I know it's probably not very clear.. But it should help you get
there. Hope this works for ya!
-----Original Message-----
From: Raven Demeyer [mailto:poeffie@eml.cc]
Sent: 31 May 2006 17:53
To: xwiki-users(a)objectweb.org
Subject: [xwiki-users] Skins
I've been looking for premade skins or howto's to edit skins in an
effective way, but the only thing I came up with is:
http://www.xwiki.org/xwiki/bin/view/AdminGuide/Top+Menu+Example+with
+Flatlook
I decided to try it out, but somehow I dont find where I can edit my
stylesheet document.
Does somebody else have a skin I can use? Or maybe a guide?
--
Raven Demeyer
Roses are #FF0000, Violets are #0000FF,
All my base are belong to you.
I've been looking for premade skins or howto's to edit skins in an
effective way, but the only thing I came up with is:
http://www.xwiki.org/xwiki/bin/view/AdminGuide/Top+Menu+Example+with
+Flatlook
I decided to try it out, but somehow I dont find where I can edit my
stylesheet document.
Does somebody else have a skin I can use? Or maybe a guide?
--
Raven Demeyer
Roses are #FF0000, Violets are #0000FF,
All my base are belong to you.
Ludovic,
Sorry if I was posting short questions not datailing the problem and the obstacle that I found.
About my knowledge, I guess the objective of a mail list is to help somebody that don't have so much knowledge. Whatever...
I will not be tedios giving excuses.
So, I ask for apologies for the inconvenience.
I will try to give so much details in my next questions to the xWiki communit.
Sorry again.
Cheers,
Filipe Fumaux
-----Original Message-----
From: Ludovic Dubost [mailto:ludovic@xwiki.com]
Sent: terça-feira, 30 de maio de 2006 20:01
To: xwiki-users(a)objectweb.org
Subject: Re: [xwiki-users] [OFF TOPIC] Sadness
To detail more,
The core XWiki team is highly busy in trying to improve the XWiki core
and finding and executing business contracts allowing to grow the
permanent team of people working on XWiki, allowing to improve even more
this software shared with the Open Source community.
Thus the core XWiki team is relying on volunteers to answer most
questions asked in these mailing list. I'd like by the way to thank our
users who find the time to answer them and tell them that it's a great
help. It really allows us to focus on working on the code and still
allow users to get answers about XWiki especially when the documentation
is not up to date.
However as is stating Yoav, people answer when they have the time
knowledge and the inclination. Nobody should expect real-time answers
from these mailing lists (at XWiki.com we do have support contracts for
that -> http://www.xwiki.com/xwiki/bin/view/Company/Support+Contracts)
Often the inclination comes from the idea that answering will globally
help the community. Community members do not only answer questions
because they are purely generous (although they are) but also because
they believe it will boomerang back to them positively by growing and
improving the global community knowledge. This is very subjective I know
and I don't want to guess to much what motivates other users to answer
and neither go too much into detail about what motivates me to answer.
However I can list a few reasons why your questions Filipe, are not
highly motivating for people to answer:
- You questions are too short, they don't give enough context. They
don't tell what you have researched on your end and why you did not find
the answer yourself.
- Some questions have been repeated (when will a new build available
following new commits)
and most importantly, your questions don't show how you will bring back
to the community. They feel like somebody only looking for answers and
not necessarly looking to help back. Also they feel like you have not an
in deep knowledge of Java and Tomcat and that therefore there is a good
chance you will keep asking for more questions before starting to help
anybody else.
This brings back to the objective of xwiki-users and xwiki-dev. These
are not support forums. These mailing lists are here to exchange
information and share knowledge about xwiki. Share means both ways.
Support is one way.
I hope my answer was not to rude and will help you understand why maybe
your questions have not been answered. I'm sure you don't mean any harm
and that you are truly excited about XWiki and using it in your company.
We are very happy about that but the community is still growing and
cannot help without feeling it will be something that will accelerate
the project's reach and future. Maybe you can show how you are willing
to help out the community and then I'm sure some members will be happy
to help you out.
Ludovic
> Filipe,
> Don't worry about your English, it's fine ;) Like other open-source
> projects, XWiki relies on volunteers to help answer questions and
> contribute to the community. People answer if/when they have the
> time, the knowledge, and the inclination. It may take a long time...
>
> Yoav
>
> On 5/30/06, Filipe <Filipe(a)drive.com.br> wrote:
>> I'm so unhappy because nobody's answering my questions.
>> I ask for excuses for my terrible english, but I'm trying to be
>> better that I can.
>> So, sorry if nobody understand me.
>> I'm so enthusiastic for the xWiki, but I'm having couple doubts about
>> configuration, developing and management. I've some ideas to
>> implement in xwiki but don't know if is import to the all project.
>> Whatever...
>> Sorry, but I'm feeling a little alone to learn about xWIKI and
>> implant in my company.
>> If I'm wrong sorry for this. Is just a relief.
>> Regards to all.
>>
>>
>> Att,
>> Filipe Fumaux
>>
>>
>>
>>
>>
>> --
>> You receive this message as a subscriber of the
>> xwiki-users(a)objectweb.org mailing list.
>> To unsubscribe: mailto:xwiki-users-unsubscribe@objectweb.org
>> For general help: mailto:sympa@objectweb.org?subject=help
>> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>>
>>
>>
>
>
> ------------------------------------------------------------------------
>
>
> --
> You receive this message as a subscriber of the xwiki-users(a)objectweb.org mailing list.
> To unsubscribe: mailto:xwiki-users-unsubscribe@objectweb.org
> For general help: mailto:sympa@objectweb.org?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>
--
Ludovic Dubost
XPertNet: http://www.xpertnet.fr/
Blog: http://www.ludovic.org/blog/
XWiki: http://www.xwiki.com
Skype: ldubost AIM: nvludo Yahoo: ludovic
Yeh I renamed to "Changed subject: moving installation"
-----Original Message-----
From: Tom Stone [mailto:Tom.Stone@KLEENEZE.co.uk]
Sent: 31 May 2006 10:48
To: 'xwiki-users(a)objectweb.org'
Subject: [xwiki-users] Apologies
Tom Stone
Network Administrator
Sorry I forgot to change the topic on my first email I sent
Tom
Hi Tom,
Here's what I did when I moved servers:
1) Backup xwiki database using the administrator.
2) Install all applications required on new svr - JDK5, tomcat5, mySQL4.
You must set the Max Packet Size to a large number to accommodate the
import at step4.
3) Install the Xwiki as new on the next system; BUT stop when you get
the the .sql import (last step for me usually on installation).
4) Now use the backup file created at step1 instead of the .sql file
downloaded from the Xwiki site.
You should be able to start the xwiki and login practically immediately.
Permissions needed: Tomcat will require one of the files to be given
permission to all users, iirc - not too sure on that sorry. Win2k3 was
a nightmare to do in this regard, but patience got me thru
I've done the move twice, once from my own pc to a temp server, and once
from the temp server to a new server - both times I managed to get the
xwiki up in around 30 minutes or so as I just moved the xwiki files
straight to the new server (don't think you can do this with Linux?).
I have not moved from windows to Linux YET (next move), but I would
assume since the mySQL is common source, there should be no problem
using a windows mySQL backup.
-----Original Message-----
From: Tom Stone [mailto:Tom.Stone@KLEENEZE.co.uk]
Sent: 31 May 2006 10:35
To: 'xwiki-users(a)objectweb.org'
Subject: RE: [xwiki-users] [OFF TOPIC] Sadness
Hi,
I have been running an XWiki server on my PC for about 3 weeks and have
been entering a lot of useful information about our companies IT
Systems.
This is currently on a Windows XP machine running Tomcat and MySQL.
I am in the process of setting up a Dell server running either aLinux or
Debian Linux to act as a permanent home for the XWiki.
If I follow the installation instructions on setting up a new XWiki -
can I then just copy the XWiki database over from the Windows PC and set
access rights to the XWiki user or is it more complicated than that (if
so can anyone point me in the direction of any documentation)
Cheers
Tom Stone
Network Administrator
I'm so unhappy because nobody's answering my questions.
I ask for excuses for my terrible english, but I'm trying to be better that I can.
So, sorry if nobody understand me.
I'm so enthusiastic for the xWiki, but I'm having couple doubts about configuration, developing and management. I've some ideas to implement in xwiki but don't know if is import to the all project.
Whatever...
Sorry, but I'm feeling a little alone to learn about xWIKI and implant in my company.
If I'm wrong sorry for this. Is just a relief.
Regards to all.
Att,
Filipe Fumaux
Hi
I have downloaded the latest XWiki as eXo war and tried to deploy it. I was
able to add it as portlet in the portlet administration. (Click on "import
portlet" works fine). But when I try to actually add it to a container
(Click on "add portlet") I can see xwiki in the list and also select it but
then I get exceptions. (See the two screenshots I attached to this mail)
Here is what I have done:
1. Install J2SDK 1.5.0.6 and set JAVA_HOME
2. Install the latest eXo-tomcat (Version 1.1.1 or so)
3. Install MySQL (the latest MySQL 4.1.x)
4. Create a user xwiki/xwiki in it
5. Dump the XWiki SQL script into it
6. Grant all privileges of user xwiki to that database
7. Rename the eXo download thing to xwiki.war
8. Throw that into /exo-tomcat/webapps
9. Download the MySQL driver version 3.1 (or so) and throw the jar into the
common/lib directory of tomcat
10. Start exo-tomcat
11. Log in as exoadmin and import new portlets -> the folder xwiki with item
xwiki appears
12. Log in as exo and try to add the xwiki to a container
That is the moment where I get the exceptions as shown in the screenshots.
Any ideas?
Thanks
scrut
Hello,
Ever since our XWiki Systems Admin upgraded our installation to 0.1, the
following error is displayed over the top menu that runs horizontally across
every page:
Error number 4001 in 4: Error while parsing velocity page Main.pageNameGrid
Wrapped Exception: Encountered "style" at line 13, column 38. Was expecting
one of: "," ... ")" ... Error number 4001 in 4: Error while parsing velocity
page Main.pageNameGrid
Wrapped Exception: Encountered "style" at line 13, column 38.
Was expecting one of:
"," ...
")" ...
(etc.)
Any ideas on how to resolve this?
Thank you,
eBox
_________________________________________________________________
On the road to retirement? Check out MSN Life Events for advice on how to
get there! http://lifeevents.msn.com/category.aspx?cid=Retirement
(Apologies to those who got clobbered by my out of date Digital ID - I will
not sign messages to the group any more - re-post)
Does anyone have a more extensive Wiki plug-in example?
I'm needing to do an LDAP directory application, and I'm lazy, so I don't
want to do the whole UI. So I figure I can create an LDAP search plug-in
that does:
$results =
$xwiki.ldapsearch.search("ldap://ldap.example.com:389/o=Top??sub?(cn=${text}
)")
Foreach ($result in $results)
$record = $xwiki.ldapsearch.get($result)
{$record.get("cn")}
End
. or something like that - anyhow. The idea is to create a list of names,
phone numbers, etc. that match the search criteria.
Unfortunately, the example "hello world" plug-in does not show off a
collection, so if anyone has any pointers, I'd like to hear them.
Of course, if anyone has already done this, I'd definitely like to hear that
too.
Adrian Hall
Sr. Product Line Manager
Technology Partnerships
ahall(a)mirapoint.com
Ph: (408) 667-4977
MSN: ahall(a)mirapoint.com
Skype: adrianhall
Hi, Ludovic,
Thanks for the XWiki!
I was helping setting up Princeton Girl Scout xwiki site, the site was up then disappeared. (a few times) However, it is staying now. I didn't do anything special, but it seems to work now. If you can find out why, that will be great.
Wei-hsing
-------------- Original message ----------------------
From: Ludovic Dubost <ludovic(a)xwiki.com>
>
> It might be because of the antispam gateway ? Which one is your wiki ?
>
> Ludovic
>
> wangwh(a)att.net a écrit :
> > I created a site on xwiki.com, 5 minutes later, it disappeared
> > (The server encountered an internal error () that prevented it from fulfilling
> this request.)
> > I did it again, the same result, the wiki site showed up with my editing, then
> disappeared. Anyone seen this before?
> >
> > Thanks.
> > Wei-hsing
> >
> >
> > ------------------------------------------------------------------------
> >
> >
> > --
> > You receive this message as a subscriber of the xwiki-users(a)objectweb.org
> mailing list.
> > To unsubscribe: mailto:xwiki-users-unsubscribe@objectweb.org
> > For general help: mailto:sympa@objectweb.org?subject=help
> > ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
> >
>
>
> --
> Ludovic Dubost
> XPertNet: http://www.xpertnet.fr/
> Blog: http://www.ludovic.org/blog/
> XWiki: http://www.xwiki.com
> Skype: ldubost AIM: nvludo Yahoo: ludovic
>
>
>
Being in the industry as such, I feel a certain obligation to respond.
It appears that this is only a problem for the emails that Adrian Hall
is sending (sorry Adrian). All of Adrian's emails are encrypted. Not
to get too technical, but if the recipient doesn't have the private key
corresponding to the certificate used to encrypt the mail, then he or
she won't be able to open the email. This is what Outlook means when it
complains about not being able to find your Digital ID.
The encryption is triggered either by the user explicitly asking for the
email to be encrypted, configuring his mail client to always encrypt
email, or an email gateway encrypting the message, so this may or may
not be under Adrian's control. If it is a gateway, then the gateway can
likely be configured to not encrypt messages to this group.
Adrian, if you want help figuring out what's going on, I would tell you
that you can email me directly, but I'm unfortunately one of the one's
not able to read your messages. If you can turn the encryption off to
email me directly... well then you don't need my help.
Cheers,
Perry
-----Original Message-----
From: Robin Fernandes [mailto:rewbs.soal@gmail.com]
Sent: Friday, May 26, 2006 3:31 PM
To: xwiki-users(a)objectweb.org
Subject: Re: [xwiki-users] Dead on-topic (was: Slightly off-topic:
Digital ID required by some mail)
I'm using gmail and haven't noticed anything strange. Am I just not
seeing the protected emails at all? Could I be one of the ones sending
them and not even know? Will anyone ever be able to read this? :) Maybe
you could post the names of the senders concerned (assuming you can
actually see the sender field), just in case they don't realise
themselves that they are doing this.
On 26/05/06, THOMAS, BRIAN M (SBCSI) <bt0008(a)att.com> wrote:
>
>
> Though I generally eschew "me-too" posts, I feel the need to pile on
> here, and partly because it's not just "me-too" but a bit of a more
> detailed approach.
>
> I am unable to open them, though it may just be a matter of
> configuration in my mail reader. I haven't been able to find out how
> it's done, though, and I'm beginning to suspect that it requires some
> plugin or other that I don't have - which I would gladly acquire if
> this weren't a fairly tightly-controlled standard corporate desktop
machine.
>
> I think it's truly stupid of Outlook to refuse to open a message
> merely because it can't verify it (and maybe that's the trick- find
> the config option, if any, to tell it not to), particularly if it
> thinks that I can't because it can't find my own "digital ID" which is
> in no way required for verification, and I certainly wouldn't use it
> if I weren't required to. On the other hand, if the message is
> actually encrypted as well, then Brandon is absolutely correct that
> the messages can't be read except by those to whom it was specifically
addressed, which likely includes none of us, but
> only the mail-list daemon. Fortunately it can store the message's
> plaintext so that it can be read in the archive and in the digests.
>
> If the sender (or anyone else) knows, and can tell us, how those of us
> with this particular affliction can read the messages (with the
> verification feature off, of course, so we can read it...!), I'd
> appreciate it, and that would satisfy me. And it certainly galls me
> to suggest, or hear suggested, that a very valuable feature should not
> be used because a significant number of people are trapped in a
> situation where they must use inferior products, thus forcing even
> those who don't use the monopoly product to do without the feature.
> Needless to say, I have been galled in this way a great deal during
> the last couple of decades, to see the strength of this argument grow
> stronger with the monopoly and in turn strengthen it, so that the
> predatory business practices that engendered it are almost not even
needed to perpetuate it.
>
> So, if the message is indeed encrypted, please ignore the ranting in
> the previous two paragraphs and stop doing that if you want all of us
> who receive the mailing list directly to be able to read your
> messages; if it's not, any help on how to beat Microsoft Outlook into
> submission would be appreciated.
>
>
> brain[sic]
>
>
>
>
> -----Original Message-----
> From: Esbach, Brandon [mailto:Esbachb@tycoelectronics.com]
> Sent: Friday, May 26, 2006 3:20 AM
> To: xwiki-users(a)objectweb.org
> Subject: [xwiki-users] Slightly off-topic: Digital ID required by some
> mail
>
>
>
> Folks, a fair chunk of group emails the last few weeks have had
> digital id control.
> From looking over the last few weeks, these are the emails that are
> less likely to be responded to, as I suspect they are not readable
> except by a select few. I suspect the online archive is able to
> display these messages fine enough, but to be honest (I'm not sure if
> I'm alone here); unless I'm researching a problem before mailing the
> group, I don't really go looking there for new posts.
>
> Suggestion:
> If it's to a mailing group I would consider not using this method, to
> ensure whoever has a solution/suggestion can reply to you.
>
> --
> You receive this message as a subscriber of the
> xwiki-users(a)objectweb.org mailing list.
> To unsubscribe:
> mailto:xwiki-users-unsubscribe@objectweb.org
> For general help: mailto:sympa@objectweb.org?subject=help
> ObjectWeb mailing lists service home page:
> http://www.objectweb.org/wws
>
>
>
I created a site on xwiki.com, 5 minutes later, it disappeared
(The server encountered an internal error () that prevented it from fulfilling this request.)
I did it again, the same result, the wiki site showed up with my editing, then disappeared. Anyone seen this before?
Thanks.
Wei-hsing
This problem seems to be spotty, but in (at least) several methods that
return a Boolean value, it is output on the document even when I use it
in an #if or #set directive. In several cases, I have been completely
unable to suppress the appearance of "true" or "false" in my documents.
Is this a bug or a feature? If feature, how can I suppress it?
Brian M. Thomas - Senior Technical Architect
AT&T Services, Inc.
One SBC Center, Room 24D3
St. Louis, MO 63101
314 235 3141
Folks, a fair chunk of group emails the last few weeks have had digital
id control.
From looking over the last few weeks, these are the emails that are less
likely to be responded to, as I suspect they are not readable except by
a select few. I suspect the online archive is able to display these
messages fine enough, but to be honest (I'm not sure if I'm alone here);
unless I'm researching a problem before mailing the group, I don't
really go looking there for new posts.
Suggestion:
If it's to a mailing group I would consider not using this method, to
ensure whoever has a solution/suggestion can reply to you.
I agree
-----Original Message-----
From: Esbach, Brandon [mailto:Esbachb@tycoelectronics.com]
Sent: sexta-feira, 26 de maio de 2006 05:20
To: xwiki-users(a)objectweb.org
Subject: [xwiki-users] Slightly off-topic: Digital ID required by some mail
Folks, a fair chunk of group emails the last few weeks have had digital id control.
>From looking over the last few weeks, these are the emails that are less likely to be responded to, as I suspect they are not readable except by a select few. I suspect the online archive is able to display these messages fine enough, but to be honest (I'm not sure if I'm alone here); unless I'm researching a problem before mailing the group, I don't really go looking there for new posts.
Suggestion:
If it's to a mailing group I would consider not using this method, to ensure whoever has a solution/suggestion can reply to you.
Does anyone have a more extensive Wiki plug-in example?
I'm needing to do an LDAP directory application, and I'm lazy, so I don't
want to do the whole UI. So I figure I can create an LDAP search plug-in
that does:
$results =
$xwiki.ldapsearch.search("ldap://ldap.example.com:389/o=Top??sub?(cn=${text}
)")
Foreach ($result in $results)
$record = $xwiki.ldapsearch.get($result)
{$record.get("cn")}
End
. or something like that - anyhow. The idea is to create a list of names,
phone numbers, etc. that match the search criteria.
Unfortunately, the example "hello world" plug-in does not show off a
collection, so if anyone has any pointers, I'd like to hear them.
Of course, if anyone has already done this, I'd definitely like to hear that
too.
Adrian Hall
Sr. Product Line Manager
Technology Partnerships
ahall(a)mirapoint.com
Ph: (408) 667-4977
MSN: ahall(a)mirapoint.com
Skype: adrianhall
If you can, please help me with this XWiki query. The languages in XWiki
are ALL new to me: Java, SQL, Velocity, Hibernate, etc. The complete page
code is at the end, for reference.
GENERAL APPLICATION GOAL
To dynamically sort XWiki content through navigation by custom "categories"
(slightly similar to XWiki's News/Blog/Articles classification model).
THE PROBLEM
Construct a query for a page where:
- Class name must begin with "XYZ" (e.g., "XYZ.PROClass")
- all ClassTemplates are excluded
- there is a common class property called "category" (which does NOT exist
for ALL "XYZ*" Classes) which is equivalent to the value of a temporary
variable "category1" obtained from the current URL (i.e., getParameter from
a URL Get posted by the previous page)
- results are sortable by standard document properties (and eventually, also
sort by custom Class properties, too)
CURRENT QUERY ATTEMPT
sql=(", BaseObject as obj where obj.name=doc.fullName and obj.className like
'XYZ%' and obj.name not like '%ClassTemplate' and obj.category like
'${category1}' order by '${mrsorter}'");
TROUBLESHOOTING
The present query, upon repeatedly splicing it, is apparently not working
for either of these components:
* obj.category like '${category1}' - returns page error:
"java.lang.ClassCastException"
* order by '${mrsorter}' - returns page error:
"com.xpn.xwiki.XWikiException: Error number 3223 in 3: Exception while
searching documents with sql ,BaseObject as obj where obj.name=doc.fullName
and obj.className like 'XYZ%' order by 'doc.name' Wrapped Exception: could
not execute query "
ABOUT XYZ* CLASSES & CATEGORY PROPERTY
Right now, in my XWiki there exists one "XYZ*" custom class (as a document
template) which contains a property called "category" among other XYZ*
classes which do not. The goal is to add more classes with names beginning
with "XYZ*" that this query will need to explore in order to find matching
"category" property results. I modeled the category property after the
classification system in XWiki's Blog/ArticleClass, such that:
Name: category
Pretty Name: Category
Unmodifiable: No
Number: 2
Display Type: select
Multiple Select: Yes
Relational Storage: Yes
Size: 5
Hibernate Query: select prop.value from BaseObject as obj, StringProperty as
prop where obj.className='XYZ.Catsv02Class' and prop.id.id = obj.id and
prop.id.name='name'
FYI, XYZ.Catsv02Class exists as the class of all categories for content.
When context= inline, I need a select list of these (similar to editing an
XWiki Article) - but I can't get one to display on the page. But that's
another story ... back to the query!
COMPLETE PAGE CODE
<%
title1=request.getParameter("title");
category1=request.getParameter("category");
if (!title1) {
title1 = "Unspecified"
}
if (!category1) {
category1 = "Unspecified"
}
mrsorter=request.getParameter("orderby");
if(!mrsorter) {
#set ($mrsorter = "doc.name")
mrsorter = xwikidocument.getName();
}
sql=(", BaseObject as obj where obj.name=doc.fullName and obj.className like
'XYZ%' and obj.name <> '%ClassTemplate' and obj.category like '${category1}'
order by '${mrsorter}'");
%>
[XYZ Home>XYZ.nav] : [${title1}>XYZ.subnav] :
1 ${category1} <br>
Sort by:
[Document No.>XYZ.catdoc?category=&orderby=doc.name] /
[Date>XYZ.catdoc?category=&orderby=doc.date] /
[Title>XYZ.catdoc?category=&orderby=doc.title]
[+ Add New>apps.AddNew?category=${category1}]
<%
def formatdate(arg)
{
rd=arg.toString()
a=rd.split(" ");
return a[0]
}
println "1.1 Controlled Documentation";
println "<table border=0 cellpadding=0 cellspacing=12>";
println "<tr> <td>*Title*</td> <td>*Document No.*</td> <td>*Version*</td>
<td>*Released*</td> <td>*<nobr>Previous No.</nobr>*</td> </tr>";
for (item in xwiki.searchDocuments(sql))
{
d=xwiki.getDocument(item)
rd=xwiki.formatDate(d.date,"MM/dd/yyyy")
println
"<tr><td>[${d.title}>${d.fullName}]</td><td><nobr>${d.name}</nobr></td><td>${d.version}</td><td>${rd}</td><td>${d.orig_doc_no}</td>
</tr>";
}
println "</table>";
%>
END PAGE CODE
I would greatly appreciate any assistance you are able to provide.
Thank you,
eBox
_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar get it now!
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/
Hi,
I am trying to install XWiki on my company�s intranet for online project management. I am having trouble using Internet Explorer with XWiki. When I login as a user, I can see my name on the top right hand corner and I can also see the all the admin options on the top action bar (I have admin privileges), which means that I have Logged in successfully. But as soon as I click on a link, the page refreshes and I find that I am logged out. All the admin options are gone. This happens for all the links
On further investigation I found that this problem occurs only when I use a url of following type-
http://machineName:8080/xwiki
If I use following url, it works fine
http://localhost:8080/xwiki
I found that a cookie gets created in �C:\Documents and Settings\userName\Cookies� when I use localhost, but there is no cookie for the machineName. So when the application finds that there is no cookie, it thinks that user is not logged in, and shows default pages.
The interesting thing is that it works fine with Firefox/Mozilla. Since most of our users use Internet Explorer, I am trying hard to get it working but till now I have no clue how to fix this problem. I have enabled all the cookies, kept the intranet security at lowest level and bypassed the proxy, still it�s not working. I have also selected �NO� for the preferences �Always authenticate on viewing� and �Always authenticate on editing�.
I tried searching on the internet but it seems no one else has faced this problem earlier. Please suggest a solution.
My environment is �
XWiki 0.9.840
Windows XP SP2
Tomcat 4.1.31
MySQL 4.1.19
JDK 1.5
Looking forward for your help.
Thanks,
Chandra
I have setup a xwiki in my computer. But failed to input Chinese into it. I changed the charset of these 3 files: web.xml xwiki.cfg velocity.properties and changed the default charset of MySql to gb2312 or gbk, I succeeded in writing Chinese into database but when reading Chinese out of MySql there is an error.
UTF-8 couldn't work either, both in reading and writing. Could anyone tell me what to do? Thanks.
All,
I accidentally deleted the default admin privileges on my XWiki
installation. Can someone give me directions on how to fix this?
Thanks In Advance!!
Deven
Hi,
Google just gave the tentative allocation for project. It turns out we
will get 4 projects. I hoped for more put given the 626 students allocated
(this is already 3M$ by Google) and the 105 Open Source organisation
participation, this is kind of normal.
We will have to make some tough choices. The current list I created was:
User Interface (Implement the ergonomic study)
P2P (allow offline usage and P2P XWiki hosting)
AJAX API, Toolbar and Form Editor (it can be one of them or all)
AntiSpam features
JCR backend
Editor Completion
GData backend
We would have to choose 4 and order the last 3 (in case we get additional
projects at the last minute).
Go ahead and give your opinion before tonight since we have to give the
final answer before tomorrow morning pacific time.
Ludovic
Hi all,
I'm trying to set up XWiki 0.9.840 on Tomcat 4.1.31 and MySQL 5.0.12. I've
deployed the WAR, ran the SQL script against my SQL database, and modified
hibernate.cfg.xml to point to my XWiki database. When I ran the main URL I
got the following errors:
javax.servlet.ServletException: Error number 3 in 0: Could not
initialize main XWiki context
Wrapped Exception: Error number 3201 in 3: Exception while saving
document XWiki.XWikiPreferences
Wrapped Exception: Error number 3221 in 3: Exception while saving
class XWiki.XWikiPreferences
Wrapped Exception: Error number 3222 in 3: Exception while saving
class XWiki.XWikiPreferences
Wrapped Exception: Could not execute JDBC batch update
org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:516)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:423)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:127)
Any ideas what might be wrong here?
Apppreciate any suggestions! Thanks!
Hello,
I'd like to know how can I create a new tag to provide a specific text format
such as {mytag} ?
In fact, I'd like to propose a {system} tag that format text with Courier New
font.
Regards
--
Xavier MOGHRABI - Consortium ObjectWeb
Jabber: moghrabi(a)jabber.objectweb.org - Phone: +33 4 76 61 52 35
There have been a number of questions about renaming documents in XWiki,
and the usual answer has been that you can't.
There is, however, a method,
com.xpn.xwiki.doc.XWikiDocument.rename(String, XWikiContext) that
purports to do exactly this, and from the source, it looks like it does
the correct stuff, cloning itself, updating any objects it contains to
refer to the new document name, etc.
The only problem with this method is that, in my case, I haven't been
able to make it work. In one case, it returned, as advertised, a
Document with the new name to my page, but the document remained intact
under its original name and not under the new one. Since that time,
after which I restarted the server, it only returns null. Due to
problems with CGLIB-generated class files, I can't set a breakpoint to
find out why (anyone know the magic to make CGLIB create line-number
entries?).
A few details: the actual problem I'm trying to solve is scripting the
change of existing login IDs to integrate with an enterprise-wide
authentication service, which requires a company-standard naming scheme.
My change to the security scheme was limited to subclassing
XWikiAuthServiceImpl and overriding only the default constructor (to
instantiate the auth service client library) and the checkPassword
method. Since XWiki's default implementation of a user ID is the user's
profile, named XWiki.<username>, that will entail changing a document
name and all wiki references to it. My first plan was a transitional
scheme that involved using XWiki.copyDocument() to create the new
document, leaving the original document in place for the default
XWikiAuthServiceImpl to use, replacing its content with a notice of the
change and removing the user's edit right, then removing it and changing
all wiki references to it the first time they log in under the new
scheme. Alternatively, using XWiki.createUser to create the new user
was a possibility, but it looks messier from the standpoint of migrating
the original user's profile page.
So, a couple of questions, for discussion and/or authoritative answer:
- Does XWikiDocument.rename() actually work as advertised? I am aware
of the need for the "programming" right on the original document to use
the necessary methods (on the space or the wiki doesn't do it), and have
made sure that I have them by checking with checkProgrammingRights.
- What's the best way to change an existing user's login ID without
disruption beyond having to use the new name?
- XWiki provides reasonable ways to find all of the kinds of document
references that I can think of, including object string
fields(especially group membership and rights objects) and wiki links;
are there any others I will need to consider?
- Does the XWikiAdmin identity (or the XWikiAdminGroup, for that
matter) have any implementation outside the database? I notice that
XWikiAdmin's profile document is not named XWikiAdmin, so something is
not the same about it. The reason I need to know is that it won't work
under the new authentication service's naming rules, and I want to
eliminate it for other reasons too (mostly that it's a shared ID) and
replace all of its rights entries with a group entry for
XWikiAdminGroup. Primarily, I need to know whether there's any reason
this strategy won't work, because re-implementing it would constitute an
access backdoor.
Brian M. Thomas - Senior Technical Architect
AT&T Services, Inc.
One SBC Center, Room 24D3
St. Louis, MO 63101
314 235 3141
Hi,
just recently join the list. I wonder if anyone have
specification/implementation plan written for xwiki.
I am thinking alone lines of:
1. quick overview of what wikis are: few lines
2. Wiki business benefits
3. What kind of open source wikis available and what do they offer
4. Why xwiki is special
5. xwiki software model. : how the layers are arranged
6. Extensibility of xwiki. Future of xwiki etc
7. Brief outline of wiki structure for software development shop
8 How to handle ongoing maintenance and care
thanks
rukka
I noticed that someone said that there would be a fix for this in a future release, but is there a workaround for this? I am getting these same exceptions on two different machines with different MySQL/Tomcat versions.
Exceptions:
>an assertion failure occured (this may indicate a bug in Hibernate, but is more >likely due to unsafe use of the session)
>org.hibernate.AssertionFailure: possible nonthreadsafe access to session
Thank you,
Tim Dove
Hello again,
I need in my wiki this configuration
xwiki level: everything is restricted to admins
namespace X: everyone (connected or not) has read access.
Problem:
If i put nothing at namespace X level, nobody except admins can read
documents
If i define read access at namespace X level, i need to know what i
have to put in user/group to define 'anyone'
You could of course tell me to use a combo of guest and
XWiki.XWikiAllGroup, but unfortunately, our user are not created using
the registration interface. They are mapped to an ldap server. So the
XWiki.XWikiAllGroup stays empty. Unless, of course, this is a virtual
group which says always true when asked if xyz belong to it. But it
doubt it's virtual :)
So, what are suggestions about this?
regards,
Tchize
Hi,
It worked for me also, many thanks Robin.
I just had to correct something in the code, in the link: instead of
"viewrev" as action I replaced with "view" because action viewrev was
not understood in my wiki (0.9.840).
Jeremie
> -----Original Message-----
> From: yoavshapira(a)gmail.com [mailto:yoavshapira@gmail.com] On
> Behalf Of Yoav Shapira
> Sent: mardi 16 mai 2006 15:07
> To: robin(a)soal.org; xwiki-users(a)objectweb.org
> Subject: Re: [xwiki-users] RSS feed for an individual page?
>
> Robin,
> That seems to work very well! Thanks again ;)
>
> Yoav
>
> On 5/13/06, Yoav Shapira <yoavs(a)computer.org> wrote:
> > Robin,
> > This sounds promising -- I will try it out on Monday. Thanks!
> >
> > Yoav
> >
> > On 5/13/06, Robin Fernandes <rewbs.soal(a)gmail.com> wrote:
> > > Hi,
> > >
> > > I don't think there's a per page RSS feed available by
> default, but
> > > you could create one quite easily by doing something like this:
> > >
> > > 1. Go to the class editor and edit the skin object 2.
> Create a new
> > > TextArea property with the name "pagefeed.vm"
> > > 3. Go to your skin and edit objects. Select the skin object and
> > > scroll to the pagefeed.vm testbox.
> > > 4. Paste in this code, or similar (I haven't tested it
> extensively):
> > > http://openmpt.xwiki.com/xwiki/bin/view/XWiki/PageFeed?xpage=code
> > > 5. Save
> > >
> > > We have just created a new template that generates an
> Atom feed for
> > > the revision history of a document. So if we view a page
> with this
> > > template, instead of having the document displayed in the
> standard
> > > web page layout, we'll get its Atom feed.
> > >
> > > To use the template, simply set xpage=pagefeed on the
> query string.
> > > So you'll get a URL like this (click to see corresponding feed):
> > >
> http://openmpt.xwiki.com/xwiki/bin/view/Main/WebHome?xpage=pagefeed
> > >
> > > 6. You could now modify your sidebar to include a link to the
> > > current page's RSS feed like:
> > > Feed for this Page: <a href="$!tdoc.getExternalURL("Main.WebRss",
> > > "view", "xpage=pagefeed")"><img
> src="$xwiki.getSkinFile("rss.gif")"
> > > border="0" alt="Atom feed for this page" /></a>
> > >
> > > Is this suitable?
> > > Note: I'm not sure how well this will scale.
> > >
> > > Regards,
> > > Robin
> > >
> > > On 11/05/06, Yoav Shapira <yoavs(a)computer.org> wrote:
> > > > Hi,
> > > > Newbie user here, I apologize in advance if my question is an
> > > > obvious FAQ. I tried to research it myself with no luck. My
> > > > question is
> > > > simple: where can I find the changes feed for an
> individual wiki page?
> > > >
> > > > I installed XWiki, everything is working fine,
> including the feed
> > > > for all the changes which I access via the little RSS button in
> > > > the bottom-right corner, which points to
> > > > http://localhost:8080/xwiki/bin/view/Main/WebRss?xpage=rdf. So
> > > > far, so good. But my individual wiki pages don't seem
> to have this button.
> > > > Am I just missing something obvious?
> > > >
> > > > Thank you,
> > > >
> > > > Yoav Shapira
> > > >
> > > >
> > > >
> > > >
> > > > --
> > > > You receive this message as a subscriber of the
> xwiki-users(a)objectweb.org mailing list.
> > > > To unsubscribe: mailto:xwiki-users-unsubscribe@objectweb.org
> > > > For general help: mailto:sympa@objectweb.org?subject=help
> > > > ObjectWeb mailing lists service home page:
> > > > http://www.objectweb.org/wws
> > > >
> > > >
> > > >
> > >
> > >
> > >
> > >
> > > --
> > > You receive this message as a subscriber of the
> xwiki-users(a)objectweb.org mailing list.
> > > To unsubscribe: mailto:xwiki-users-unsubscribe@objectweb.org
> > > For general help: mailto:sympa@objectweb.org?subject=help
> > > ObjectWeb mailing lists service home page:
> > > http://www.objectweb.org/wws
> > >
> > >
> > >
> >
> >
> > --
> > Yoav Shapira
> > Nimalex LLC
> > 1 Mifflin Place, Suite 310
> > Cambridge, MA, USA
> > yoavs(a)computer.org / www.yoavshapira.com
> >
>
>
> --
> Yoav Shapira
> Nimalex LLC
> 1 Mifflin Place, Suite 310
> Cambridge, MA, USA
> yoavs(a)computer.org / www.yoavshapira.com
>
>
Hi,
Newbie user here, I apologize in advance if my question is an obvious
FAQ. I tried to research it myself with no luck. My question is
simple: where can I find the changes feed for an individual wiki page?
I installed XWiki, everything is working fine, including the feed for
all the changes which I access via the little RSS button in the
bottom-right corner, which points to
http://localhost:8080/xwiki/bin/view/Main/WebRss?xpage=rdf. So far,
so good. But my individual wiki pages don't seem to have this button.
Am I just missing something obvious?
Thank you,
Yoav Shapira
Hello,
Are you sure that user name as it appears in user admin page
(Xwiki.XWikiUsers) is exactly the same as in group admin page ??
(Xwiki.XWikiAdminGroup)
I don't think names with ':' are suitable name.
For instance in my wiki the names are of this form: 'XWiki.jbousque' in
groups users list.
> -----Original Message-----
> From: Tchize [mailto:tchize@myrealbox.com]
> Sent: mardi 16 mai 2006 10:55
> To: xwiki-users(a)objectweb.org
> Subject: [xwiki-users] assigning users to groups does not work?
>
> Hello,
>
> am trying to assign user to a group.
> I go in the web interface and add a user. I go to
> /xwiki/bin/view/XWiki/XWikiAdminGroup and click on 'edit
> table'. The interface then shows this when i query the group:
>
> Group members
> Member
> xwiki:delbd
> XWiki.delbd
> xwiki:XWiki.delbd
> delbd
>
>
>
> However, if i log with this user, he doesn't appear to be
> part of the groups, he doesn't have the rights associated
> with the group.
>
> I did a step by step run of xwiki code in eclipse in
> XWikiRightServiceImpl and i found in line 300 that Collection
> glist = groupService.listGroupsForUser(name, context); return
> an empty list for user 'delbd'
>
> What is the problem? Did i fail in some way?
>
>
Hello,
am trying to assign user to a group.
I go in the web interface and add a user. I go to
/xwiki/bin/view/XWiki/XWikiAdminGroup and click on 'edit table'. The
interface then shows this when i query the group:
Group members
Member
xwiki:delbd
XWiki.delbd
xwiki:XWiki.delbd
delbd
However, if i log with this user, he doesn't appear to be part of the
groups, he doesn't have the rights associated with the group.
I did a step by step run of xwiki code in eclipse in
XWikiRightServiceImpl and i found in line 300 that
Collection glist = groupService.listGroupsForUser(name, context);
return an empty list for user 'delbd'
What is the problem? Did i fail in some way?
Hello everyone
Is there a possibility of listing all the connected users from a
Velocity script?
I looked in the source code and I did not find any method that can do
something like that from the context or xwiki objects.
Thanks
Diana
I wonder if anyone has used xwiki to publish structured data like a research paper. There are multiple sections and some metadada for each paper. I would like to input these sections and metadata in different fields so that they can be searched by individual section or metadata field later. In addition, I want to save each paper in XML format as well. What are the possible ways to implement these new functions?
Thanks,
AJ
I've read some of the archives, and this list looks pretty friendly.
I'd be grateful for some help. I've been running XWiki for about two
weeks and plan to use it for work. The PDF and RSS features are
outstanding! I've also spend a lot of time looking at the xwiki.org
site and the FAQs on xwiki.com, looking for answers and finding some
good ones
Now the list of questions:
Skins
I'd really like to change the look of the site. There's an FAQ for
creating skins, but I can only see it in French. Unfortunately, I
don't read French. Is there an English language version?
I did manage to get Google to try to translate the document, but it
wasn't really readable.
Comments preferences
I found the FAQ on reversing comments order. Either I missed something,
or it wasn't clear whether I was supposed to directly edit comments2.vm
in the templates dir, or paste the contents of the file into the
"Comments" area for the default skin. So I did the pasting and modified
the code there with good results. So it appears that if your current
skin object doesn't have anything defined for a particular property, it
defaults to the file in the templates directory. Is this true? Next
question is about preferences. Looking deeper at the code for
comments2.vm, there are calls to $xwiki.getWebPreference to retrieve
values for "showcomments" and "commentsorder". Where and how are these
preference values defined? I search xwiki.org, the FAQ, and Googled,
with no luck.
Email registration verification
Okay, I found the setting for using email verification of registrations
by going to XWiki preference, registration. Do these settings do
anything yet? I tried turning them on, but it doesn't appear to change
anything about the registration process. I'm on 0.9.840.
I have many more questions, but that's probably too many already.
Thanks in advance,
</CR>
--
Chris Rigsby
Systems Architect, Enterprise Application Systems
University of Minnesota
rigsb007(a)umn.edu * 612/624-5334
Has anyone got a method for searching PDF attachments (and/or other
attachment types) that have been stored alongside documents?
I have the following search SQL:
#set($sql= ", XWikiAttachment attach, XWikiAttachmentContent as attachc
where doc.web = 'KB.AnalystDocs' and doc.id = attach.docId and attach.id =
attachc.id and attachc.content like '%$text%' order by doc.name")
in my WebSearch page. Unfortunately, that doesn't decode the content, which
I would like to do.
Any pointers on how to do this would be gratefully received.
(Perhaps altering the upload code that that when it stores it, it tries to
do a to text translation using plug-in types?)
-Adrian
--
Adrian Hall
Sr. Product Line Manager, Administration and Identity Management
e. ahall(a)mirapoint.com; t. +1 (408) 720-3856; c. +1 (408) 667-4977
Thanks for the suggestions guys - most likely I'll stick to hibernate as
this gives me central control over how my users are represented and
used.
Currently there are not too many people registered on our server, but
we're looking at rollout in large numbers once we're past the test
stages - so I'll need to figure out how Hibernate works with this type
of query in the long run.
Thanks again!
-----Original Message-----
From: Jason Koeninger [mailto:jkoenin@jjcc.com]
Sent: 11 May 2006 16:13
To: xwiki-users(a)objectweb.org
Subject: Re: [xwiki-users] Joining two fields;
I'm no HQL expert, but I'm guessing you can do something like this:
select
firstname.value || ' ' || lastname.value from
BaseObject obj,
StringProperty firstname,
StringProperty lastname
where
obj.className='XWiki.XWikiUsers' and
firstname.id=obj.id and
firstname.name = 'first_name' and
lastname.id = obj.id and
lastname.name = 'last_name'
Untested so you may have to play around with it to get it to work.
Hopefully I'm not too far off the mark.
Also, depending on how your database's query optimizer works, a join
might perform better. Of course, that also depends on how Hibernate
translates the HQL to SQL. Hibernate *may* be smart enough to convert
this to a join in which case it's a non-issue.
Best Regards,
Jason Koeninger
J&J Computer Consulting
Mark Robinson wrote:
> Hi Brandon.
>
> No doubt there is a simple and elegant answer to your problem that
> someone will suggest soon. I worked around a similar problem that I
> needed to fix quickly by making the select straight html with a
> Velocity loop over the the option tags.
>
> That way you can still have your names and values as described.
>
> Cheers,
>
> Mark
>
>
> On 11 May 2006, at 5:50 PM, Esbach, Brandon wrote:
>
>> Hi all,
>>
>> I guess this is more a hibernate query than an Xwiki one, but here is
>> what I'm trying to do:
>> We use a simple project management class currently to keep track of
>> projects/engineer assignments/etc - currently managers type in
>> freeform names... as you could imagine this is a bit of a problem
with
>> adding some more active content relating to the user (we're adding a
>> 'workdesk' feature on login so that engineers/managers can see what
>> projects/tasks/etc are assigned to them, without having to browse
>> around and search).
>>
>> What I thought of doing was adding a dropdown with the user details -
>> allowing me to create a solid link between user and project.
>>
>> Now here's the problem...
>> I need to associate the firstname+lastname in the query - so that the
>> manager/etc will pick a name they recognise immediately, instead of
>> relying on them to know login names.
>>
>> Initially, I had thought to use a Map or List to request multiple
>> fields - but this does not seem to be understood by the renderer when
>> it creates a list dropdown - I get immediate errors
>>
>> Getting first name, no problem:
>> select prop.value from BaseObject obj, StringProperty prop where
>> obj.className='XWiki.XWikiUsers' and prop.id.id=obj.id and
>> prop.name='first_name'
>>
>> EG output in the list:
>> 'Brandon'
>> 'UserXFirstName'
>>
>> Getting Last name, also no problem:
>> select prop.value from BaseObject obj, StringProperty prop where
>> obj.className='XWiki.XWikiUsers' and prop.id.id=obj.id and
>> prop.name='last_name'
>>
>> EG output:
>> 'Esbach'
>> 'UserXLastName'
>>
>> Now it gets sticky. Join the two fields with a space between them,
>> so that instead of 'Brandon' or 'Esbach' I get 'Brandon Esbach'..
>> This I cannot seem to figure out using Hibernate, so any
>> hints/tips/suggestions would be appreciated.
>>
>>
>> *Problem number 2:*
>> Another small catch I have is mapping this entry so that I can query
>> on it. Normally with data representation one would have a 'display'
>> value and a 'link' value - kind of like the 'pretty name' and 'real
>> name' facility of class objects; only the 'pretty name' gets shown
>> when using automatic rendering - but the field is updated based on
>> 'real name'. Erm. Hope that makes sense.
>>
>> eg if my Xwiki name is braesb, firstname Brandon, lastname Esbach I
>> could have a list looking like this:
>> 'Brandon Esbach'
>> 'UserXFirstName UserXLastName'
>> Selecting 'Brandon Esbach' would then look to my 'link' value of
>> Xwiki.braesb, and store this with the record. Querying on this then
>> becomes no problem - but can this be done in Xwiki?
>>
>> /Brandon Esbach/
>> /Software Engineer/
>> /M/A-Com Eurotec Operations/
>> /LoughMahon Technology Park,/
>> /Skehard Road,/
>> /Blackrock,/
>> /Cork, Ireland/
>> /Tel +353 21 4808305/
>>
>>
>> --
>> You receive this message as a subscriber of the
>> xwiki-users(a)objectweb.org <mailto:xwiki-users@objectweb.org> mailing
list.
>> To unsubscribe: mailto:xwiki-users-unsubscribe@objectweb.org
>> For general help: mailto:sympa@objectweb.org?subject=help
>> ObjectWeb mailing lists service home page:
>> http://www.objectweb.org/wws
>
>
>
> ----------------------------------------------------------------------
> --
>
>
> --
> You receive this message as a subscriber of the
xwiki-users(a)objectweb.org mailing list.
> To unsubscribe: mailto:xwiki-users-unsubscribe@objectweb.org
> For general help: mailto:sympa@objectweb.org?subject=help
> ObjectWeb mailing lists service home page:
> http://www.objectweb.org/wws
Hi all,
I guess this is more a hibernate query than an Xwiki one, but here is
what I'm trying to do:
We use a simple project management class currently to keep track of
projects/engineer assignments/etc - currently managers type in freeform
names... as you could imagine this is a bit of a problem with adding
some more active content relating to the user (we're adding a 'workdesk'
feature on login so that engineers/managers can see what
projects/tasks/etc are assigned to them, without having to browse around
and search).
What I thought of doing was adding a dropdown with the user details -
allowing me to create a solid link between user and project.
Now here's the problem...
I need to associate the firstname+lastname in the query - so that the
manager/etc will pick a name they recognise immediately, instead of
relying on them to know login names.
Initially, I had thought to use a Map or List to request multiple fields
- but this does not seem to be understood by the renderer when it
creates a list dropdown - I get immediate errors
Getting first name, no problem:
select prop.value from BaseObject obj, StringProperty prop where
obj.className='XWiki.XWikiUsers' and prop.id.id=obj.id and
prop.name='first_name'
EG output in the list:
'Brandon'
'UserXFirstName'
Getting Last name, also no problem:
select prop.value from BaseObject obj, StringProperty prop where
obj.className='XWiki.XWikiUsers' and prop.id.id=obj.id and
prop.name='last_name'
EG output:
'Esbach'
'UserXLastName'
Now it gets sticky. Join the two fields with a space between them, so
that instead of 'Brandon' or 'Esbach' I get 'Brandon Esbach'.. This I
cannot seem to figure out using Hibernate, so any hints/tips/suggestions
would be appreciated.
Problem number 2:
Another small catch I have is mapping this entry so that I can query on
it. Normally with data representation one would have a 'display' value
and a 'link' value - kind of like the 'pretty name' and 'real name'
facility of class objects; only the 'pretty name' gets shown when using
automatic rendering - but the field is updated based on 'real name'.
Erm. Hope that makes sense.
eg if my Xwiki name is braesb, firstname Brandon, lastname Esbach I
could have a list looking like this:
'Brandon Esbach'
'UserXFirstName UserXLastName'
Selecting 'Brandon Esbach' would then look to my 'link' value of
Xwiki.braesb, and store this with the record. Querying on this then
becomes no problem - but can this be done in Xwiki?
Brandon Esbach
Software Engineer
M/A-Com Eurotec Operations
LoughMahon Technology Park,
Skehard Road,
Blackrock,
Cork, Ireland
Tel +353 21 4808305
When I am viewing pages (as opposed to editing pages), I wish to display a
two-pane view (the left hand nav and the main content area) and remove the
right hand piece.
When I am editing a page, I want to have the right hand explanatory text on
xwiki notation.
How can I do this?
I'm using 0.9.840 on Jboss if it matters.
--
Adrian Hall
Sr. Product Line Manager, Administration and Identity Management
e. ahall(a)mirapoint.com; t. +1 (408) 720-3856; c. +1 (408) 667-4977
I cannot get to http://www.xwiki.com or my xwiki site...I can get everywhere
else on the web. Does xwiki go down often? I am a little concerned about
availability of my xwiki site.
Thanks,
Brian
Thanks, Charles. I left a similar request as a comment on your wiki. I
am actively working on a JAAS implementation of XWiki's interfaces. Or
rather, I have begun by subclassing the XWiki*ServiceImpl classes
because that's how some others are done and there may be things that
XWiki needs there. It may actually be that it makes more sense just to
implement the interfaces directly.
This is probably not the venue for continued discussion in this vein, so
I'll do this directly, but thought I'd let the list know that this is
going on in case anyone wants to share in the effort and results.
I'm not on the developers list; are you, Charles? Would that be the
best place to carry on? I suppose if you didn't intend it to be an
"official" part of XWiki it might not be, but on the other hand it looks
like a good place for the XWiki developers to start if nothing else.
The only jGuard-specific code should be connected only by the
configuration files.
Alternatively, perhaps the jGuard wiki would be a good place to discuss
and develop the overall design. Does that sound like a good idea?
I'm sorry for the delay in responding; I started this reply on Friday
and then forgot about it over the weekend. Though I never completed it,
I found it, marked unread, in my Sent Items folder...
brain[sic]
-----Original Message-----
From: charles gay [mailto:charles.gay@gmail.com]
Sent: Thursday, May 04, 2006 3:13 AM
To: xwiki-users(a)objectweb.org
Subject: Re: [xwiki-users] JAAS Integration with XWiki
Hi,
i'm part of the jGuard project and a user of Xwiki (through our website
www.jguard.net hosted and powered by XWiki).
jGuard implements JAAS and provide an easy way to use it in a webapp
context.
that's right that Xwiki security apis differs from the JAAS apis.
but the concept involved in the Xwiki apis, are closed of the JAAS and
jGuard ones.
if you've got some interest by adapting the XWiki apis to JGuard (an
JAAS implicitly), i can help you to do it.
but this adapter will not be an "official" Xwiki way....
hope it helps,
Charles GAY(jGuard team).
On 4/25/06, THOMAS, BRIAN M (SBCSI) <bt0008(a)att.com> wrote:
We are standardizing on the Java Authentication and Authorization
Service (JAAS). I thought I heard that XWiki supports the Pluggable
Authentication Modules (PAM) standard, but haven't found any reference
to it in the docs. Further, there are some articles out about
integrating JAAS into Tomcat, which is another thing to think about. We
actually are considering at least two methods here - a centralized PIN
server and a RADIUS server for SecurID access, and both have clients
that implement the JAAS interfaces.
There are a couple of strategies that I could probably try: one is just
to use the JAAS/Tomcat integration route. That would seem to give the
most bang-per-buck, but that would (I think) not allow controls at the
level of granularity that XWiki does, or would actually take controls
away from the XWiki rights system.
Another (actually my first idea) is to implement the various
com.xpn.xwiki.user.api interfaces (XWikiAuthService, XWikiGroupService,
and XWikiRightService) with JAAS calls.
Anyone have any experience with this?
brain[sic]
--
You receive this message as a subscriber of the
xwiki-users(a)objectweb.org mailing list.
To unsubscribe: mailto:xwiki-users-unsubscribe@objectweb.org
For general help: mailto: <mailto:sympa@objectweb.org>
sympa(a)objectweb.org?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
The session in XWiki is managed by cookies, I am right??
So, have anything to do where can be modified it to control with in session on each visit?
Att,
Filipe Fumaux
Hey guys,
Anybody knows where I can found the documentation about XWiki codes?
Ex.: What's it: Where's the docs about this?
#includeForm("XWiki.XWikiUserSheet")
#includeMacros("XWiki.TagMacro")
#ShowEditTags()
#set($recentlyviewed = $xwiki.getRecentActions("view", 5))
#foreach($docname in $recentlyviewed)
Att,
Filipe Fumaux
G'Day mates,
I want change some things in default XWiki's pagein my system.
U wanna change the XWiki's logo and put somethings in top of my page. How can I do this?
Regards,
Filipe Fumaux
Based on the "Sectioning Preferences" UI, it looks like XWiki intends to
support the ability to skin "Sections". The only problem is that I
haven't been able to get it to work. Being a developer, I checked out
some of the code, and from what I've seen, the Skin setting in
Sectioning Preferences appears to be ignored. I've even gone so far as
to make some changes to try to pick up my skin setting for the section,
but my changes haven't worked. Obviously, I don't fully understand the
data model.
If anyone has any pointers on how to get this to work, I would
appreciate it. It's the only thing holding me back from adopting XWiki
for one of our sites.
Thanks,
Jason Koeninger
J&J Computer Consulting
According to the Javadoc, there is a TOC associated with each document, and
it is retrieved by getTOC()
I understand it is a map of a map. Can someone shed some light onto how it
is organized?
What I am trying to do is use velocity to get the first heading in a
document. i.e. every document starts with 1 <heading> and I wish to display
this in RSS and search results.
-Adrian
--
Adrian Hall
Sr. Product Line Manager, Administration and Identity Management
e. ahall(a)mirapoint.com; t. +1 (408) 720-3856; c. +1 (408) 667-4977
Hi All,
We have a wiki set up at http://ukeig.xwiki.com/ . Had a play around with it at the start of the year, left it for a while but really started on it seriously over the last week. Somehow I have managed to "lose" the left hand menu bar from the blog home page at http://ukeig.xwiki.com/xwiki/bin/view/Blog/WebHome , but it is still there on the individual article pages. I recall experimenting with the page earlier this year but cannot recall exactly what I did to delete the menu bar.
I can't see any way to get it back. Is it possible and if so how?
Many thanks
Karen
--
Karen Blakeman, UKeiG Management Committee
mailto:karen.blakeman@rba.co.uk
t: +44 118 947 2256 f: +44 20 8020 0253 m: +44 7764 936733
88 Star Road, Caversham, Berkshire, RG4 5BE
Hi,
I'm currently on version 0.9.840 of xwiki.
I believe there won't be any problem to migrate the database part to version 1.0.
But what will we do about default page content and structure ?
If you have had some nice features in left or right toolbar, or in top-menu, will there be an easy way to "reinject" it in a migrated wiki ? Some kind of conflict resolution between the migrated wiki and the new 1.0 default installed wiki ...
Regards,
Jeremie.
> -----Original Message-----
> From: Ludovic Dubost [mailto:ludovic@xwiki.com]
> Sent: vendredi 28 avril 2006 21:16
> To: robin(a)soal.org
> Cc: xwiki-users(a)objectweb.org
> Subject: Re: [xwiki-users] any news on 1.0 release date
>
>
> Yes. We hope to do it quickly after that since it should
> bring many performance improvements.
>
> If you have a Wiki and are ok to be beta-tester of the
> migration, let us know, we can move your wiki to a separate
> platform which will be upgraded before all the other wikis.
> Of course there are no risk of loosing data since we will do
> a full backup before starting the migration.
>
> Ludovic
>
> Robin Fernandes a écrit :
> > Great! Will xwiki.com be upgraded to 1.0B1 shortly after
> the release?
> >
> > On 28/04/06, Ludovic Dubost <ludovic(a)xwiki.com> wrote:
> >
> >> We are working on it !
> >> 1.0B1 is scheduled for sometime in the next 15 days
> >>
> >> Ludovic
> >>
> >> Duke Tantiprasut a écrit :
> >>
> >>> Hi All, any news on when the 1.0 candidates will be available?
> >>>
> >>> Cheers
> >>>
> >>> Duke
> >>>
> --------------------------------------------------------------------
> >>> ----
> >>>
> >>>
> >>> --
> >>> You receive this message as a subscriber of the
> xwiki-users(a)objectweb.org mailing list.
> >>> To unsubscribe: mailto:xwiki-users-unsubscribe@objectweb.org
> >>> For general help: mailto:sympa@objectweb.org?subject=help
> >>> ObjectWeb mailing lists service home page:
> >>> http://www.objectweb.org/wws
> >>>
> >>>
> >> --
> >> Ludovic Dubost
> >> XPertNet: http://www.xpertnet.fr/
> >> Blog: http://www.ludovic.org/blog/
> >> XWiki: http://www.xwiki.com
> >> Skype: ldubost AIM: nvludo Yahoo: ludovic
> >>
> >>
> >>
> >>
> >>
> >> --
> >> You receive this message as a subscriber of the
> xwiki-users(a)objectweb.org mailing list.
> >> To unsubscribe: mailto:xwiki-users-unsubscribe@objectweb.org
> >> For general help: mailto:sympa@objectweb.org?subject=help
> >> ObjectWeb mailing lists service home page:
> >> http://www.objectweb.org/wws
> >>
> >>
> >>
> >>
> >
> >
> >
> ----------------------------------------------------------------------
> > --
> >
> >
> > --
> > You receive this message as a subscriber of the
> xwiki-users(a)objectweb.org mailing list.
> > To unsubscribe: mailto:xwiki-users-unsubscribe@objectweb.org
> > For general help: mailto:sympa@objectweb.org?subject=help
> > ObjectWeb mailing lists service home page:
> > http://www.objectweb.org/wws
> >
>
>
> --
> Ludovic Dubost
> XPertNet: http://www.xpertnet.fr/
> Blog: http://www.ludovic.org/blog/
> XWiki: http://www.xwiki.com
> Skype: ldubost AIM: nvludo Yahoo: ludovic
>
>
>
Hi all,
As I can see there no way of catching exceptions in Velocity. Is that correct?
If this is so, I think this emphasizes the importance of getting
Groovy working in a secure manner. Manipulating user input and
accessing external web services etc.. with Velocity is great... but we
need an elegant way to handle the case where something out of our
control goes wrong.
Cheers,
Robin
Hi All,
I've currently got two xwiki systems running side-by-side - what I'd
really like to do is to import the data from one
(documents/attachments/users/topics) and merge them with the other, so
that I only need to maintain one wiki installation.
Two complications are present if this is doable:
1) Some users may be duplicate on the other xwiki - including admin.
Passwords are the same between the systems wherever they are duplicate.
2) Document names may be duplicate.
Is there an easy way around this, or should I rather forget about it?
It would be really ideal if xwiki documents could be exported to xml for
example, and imported as such - but I don't think such a tool exists
yet?
Brandon Esbach
Software Engineer
M/A-Com Eurotec Operations
LoughMahon Technology Park,
Skehard Road,
Blackrock,
Cork, Ireland
Tel +353 21 4808305
I implemented an RSS, but it gives me entries like this:
KB.Questions.Q106
Version 1.1 edited by Xwiki.ahall on <date>
How would one go about generating an RSS that was more useful (say, the
following):
Q106: How do I get to the Knowledgebase
You can get to the Knowledgebase by bookmarking this link.
(i.e. the first X characters of the actual article)
-Adrian
--
Adrian Hall
Sr. Product Line Manager, Administration and Identity Management
e. ahall(a)mirapoint.com; t. +1 (408) 720-3856; c. +1 (408) 667-4977
Hello,
I'm having a lot of problems getting xwiki to work after the initial
setup. I'm using:
jakarta-tomcat-5.5.4
xwiki-0.9.840
mysql 4.1.14
all on linux. I'm able to setup the database. I'm able to deply the
.war. I'm then able to get to the very simple index page. But when I
try to get to http://localhost:8080/xwiki/bin/view/Main/WebHome, I see
these errors in the browser:
=================================================================
javax.servlet.ServletException: Error number 3 in 0: Could not
initialize main XWiki context
Wrapped Exception: Error number 3201 in 3: Exception while saving
document XWiki.XWikiPreferences
Wrapped Exception: Error number 3221 in 3: Exception while saving
class XWiki.XWikiPreferences
Wrapped Exception: Error number 3222 in 3: Exception while saving
class XWiki.XWikiPreferences
Wrapped Exception: Could not execute JDBC batch update
org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:516)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:423)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:127)
root cause
com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not
initialize main XWiki context
Wrapped Exception: Error number 3201 in 3: Exception while saving
document XWiki.XWikiPreferences
Wrapped Exception: Error number 3221 in 3: Exception while saving
class XWiki.XWikiPreferences
Wrapped Exception: Error number 3222 in 3: Exception while saving
class XWiki.XWikiPreferences
Wrapped Exception: Could not execute JDBC batch update
com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:142)
com.xpn.xwiki.XWiki.getXWiki(XWiki.java:202)
com.xpn.xwiki.web.ViewEditAction.execute(ViewEditAction.java:117)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:127)
=================================================================
Inside xwiki.log I see:
=================================================================
13:20:13,003 WARN http-8080-Processor25
RequestUtils:createActionForm:177 - No FormBeanConfig found under
'view'
13:20:13,266 ERROR http-8080-Processor25
http://localhost:8080/xwiki/bin/view/Main/WebHome
XWikiHibernateStore:updateSchema:172 - Schema update deactivated for
wiki xwiki
13:20:13,327 WARN http-8080-Processor25
http://localhost:8080/xwiki/bin/view/Main/WebHome
JDBCExceptionReporter:logExceptions:71 - SQL Error: 1267, SQLState:
HY000
13:20:13,328 ERROR http-8080-Processor25
http://localhost:8080/xwiki/bin/view/Main/WebHome
JDBCExceptionReporter:logExceptions:72 - Illegal mix of collations
(latin1_swedish_ci,IMPLICIT) and (utf8_general_ci,COERCIBLE) for
operation '='
13:20:13,388 WARN http-8080-Processor25
http://localhost:8080/xwiki/bin/view/Main/WebHome
JDBCExceptionReporter:logExceptions:71 - SQL Error: 1267, SQLState:
HY000
13:20:13,389 ERROR http-8080-Processor25
http://localhost:8080/xwiki/bin/view/Main/WebHome
JDBCExceptionReporter:logExceptions:72 - Illegal mix of collations
(latin1_swedish_ci,IMPLICIT) and (utf8_general_ci,COERCIBLE) for
operation '='
13:20:13,430 WARN http-8080-Processor25
http://localhost:8080/xwiki/bin/view/Main/WebHome
JDBCExceptionReporter:logExceptions:71 - SQL Error: 1267, SQLState:
HY000
13:20:13,431 ERROR http-8080-Processor25
http://localhost:8080/xwiki/bin/view/Main/WebHome
JDBCExceptionReporter:logExceptions:72 - Illegal mix of collations
(latin1_swedish_ci,IMPLICIT) and (utf8_general_ci,COERCIBLE) for
operation '='
13:20:13,458 WARN http-8080-Processor25
http://localhost:8080/xwiki/bin/view/Main/WebHome
JDBCExceptionReporter:logExceptions:71 - SQL Error: 1267, SQLState:
HY000
13:20:13,459 ERROR http-8080-Processor25
http://localhost:8080/xwiki/bin/view/Main/WebHome
JDBCExceptionReporter:logExceptions:72 - Illegal mix of collations
(latin1_swedish_ci,IMPLICIT) and (utf8_general_ci,COERCIBLE) for
operation '='
13:20:13,460 ERROR http-8080-Processor25
http://localhost:8080/xwiki/bin/view/Main/WebHome
AbstractFlushingEventListener:performExecutions:277 - Could not
synchronize database state with session
org.hibernate.exception.GenericJDBCException: Could not execute JDBC
batch update
at org.hibernate.exception.ErrorCodeConverter.handledNonSpecificException(ErrorCodeConverter.java:92)
at org.hibernate.exception.ErrorCodeConverter.convert(ErrorCodeConverter.java:80)
at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:179)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:226)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:141)
at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:274)
at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27)
at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:726)
at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiClassProperty(XWikiHibernateStore.java:1288)
at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiClass(XWikiHibernateStore.java:1165)
at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:517)
at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:557)
at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:77)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:556)
at com.xpn.xwiki.XWiki.getPrefsClass(XWiki.java:1418)
at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:405)
at com.xpn.xwiki.XWiki.<init>(XWiki.java:343)
at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:134)
at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:202)
at com.xpn.xwiki.web.ViewEditAction.execute(ViewEditAction.java:117)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:127)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:526)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:825)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:731)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:526)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.sql.BatchUpdateException: Illegal mix of collations
(latin1_swedish_ci,IMPLICIT) and (utf8_general_ci,COERCIBLE) for
operation '='
at com.mysql.jdbc.ServerPreparedStatement.executeBatch(ServerPreparedStatement.java:828)
at org.apache.commons.dbcp.DelegatingStatement.executeBatch(DelegatingStatement.java:294)
at org.apache.commons.dbcp.DelegatingStatement.executeBatch(DelegatingStatement.java:294)
at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:57)
at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:172)
... 41 more
13:20:13,475 WARN http-8080-Processor25
RequestProcessor:processException:509 - Unhandled Exception thrown:
class com.xpn.xwiki.XWikiException
13:20:13,475 ERROR http-8080-Processor25
StandardWrapper[/xwiki:action]:invoke:269 - Servlet.service() for
servlet action threw exception
com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not
initialize main XWiki context
Wrapped Exception: Error number 3201 in 3: Exception while saving
document XWiki.XWikiPreferences
Wrapped Exception: Error number 3221 in 3: Exception while saving
class XWiki.XWikiPreferences
Wrapped Exception: Error number 3222 in 3: Exception while saving
class XWiki.XWikiPreferences
Wrapped Exception: Could not execute JDBC batch update
at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:142)
at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:202)
at com.xpn.xwiki.web.ViewEditAction.execute(ViewEditAction.java:117)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:127)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:526)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:825)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:731)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:526)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
Wrapped Exception:
com.xpn.xwiki.XWikiException: Error number 3201 in 3: Exception while
saving document XWiki.XWikiPreferences
Wrapped Exception: Error number 3221 in 3: Exception while saving
class XWiki.XWikiPreferences
Wrapped Exception: Error number 3222 in 3: Exception while saving
class XWiki.XWikiPreferences
Wrapped Exception: Could not execute JDBC batch update
at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:540)
at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:557)
at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:77)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:556)
at com.xpn.xwiki.XWiki.getPrefsClass(XWiki.java:1418)
at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:405)
at com.xpn.xwiki.XWiki.<init>(XWiki.java:343)
at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:134)
at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:202)
at com.xpn.xwiki.web.ViewEditAction.execute(ViewEditAction.java:117)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:127)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:526)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:825)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:731)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:526)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
Wrapped Exception:
com.xpn.xwiki.XWikiException: Error number 3221 in 3: Exception while
saving class XWiki.XWikiPreferences
Wrapped Exception: Error number 3222 in 3: Exception while saving
class XWiki.XWikiPreferences
Wrapped Exception: Could not execute JDBC batch update
at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiClass(XWikiHibernateStore.java:1173)
at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:517)
at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:557)
at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:77)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:556)
at com.xpn.xwiki.XWiki.getPrefsClass(XWiki.java:1418)
at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:405)
at com.xpn.xwiki.XWiki.<init>(XWiki.java:343)
at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:134)
at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:202)
at com.xpn.xwiki.web.ViewEditAction.execute(ViewEditAction.java:117)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:127)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:526)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:825)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:731)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:526)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
Wrapped Exception:
com.xpn.xwiki.XWikiException: Error number 3222 in 3: Exception while
saving class XWiki.XWikiPreferences
Wrapped Exception: Could not execute JDBC batch update
at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiClassProperty(XWikiHibernateStore.java:1304)
at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiClass(XWikiHibernateStore.java:1165)
at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:517)
at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:557)
at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:77)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:556)
at com.xpn.xwiki.XWiki.getPrefsClass(XWiki.java:1418)
at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:405)
at com.xpn.xwiki.XWiki.<init>(XWiki.java:343)
at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:134)
at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:202)
at com.xpn.xwiki.web.ViewEditAction.execute(ViewEditAction.java:117)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:127)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:526)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:825)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:731)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:526)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
Wrapped Exception:
java.sql.BatchUpdateException: Illegal mix of collations
(latin1_swedish_ci,IMPLICIT) and (utf8_general_ci,COERCIBLE) for
operation '='
at com.mysql.jdbc.ServerPreparedStatement.executeBatch(ServerPreparedStatement.java:828)
at org.apache.commons.dbcp.DelegatingStatement.executeBatch(DelegatingStatement.java:294)
at org.apache.commons.dbcp.DelegatingStatement.executeBatch(DelegatingStatement.java:294)
at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:57)
at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:172)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:226)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:141)
at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:274)
at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27)
at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:726)
at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiClassProperty(XWikiHibernateStore.java:1288)
at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiClass(XWikiHibernateStore.java:1165)
at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:517)
at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:557)
at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:77)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:556)
at com.xpn.xwiki.XWiki.getPrefsClass(XWiki.java:1418)
at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:405)
at com.xpn.xwiki.XWiki.<init>(XWiki.java:343)
at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:134)
at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:202)
at com.xpn.xwiki.web.ViewEditAction.execute(ViewEditAction.java:117)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:127)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:526)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:825)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:731)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:526)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
13:20:29,027 WARN Finalizer JDBCContext:finalize:333 -
afterTransactionCompletion() was never called
13:20:29,029 WARN Finalizer JDBCContext:finalize:339 - finalizing
unclosed session with closed connection
=================================================================
I have no idea what I've done wrong. I've tried setting LANG and
JAVA_OPTS in my environment to various codeset values. Nothing seems
to work. Any help is greatly appreciated!
-jeff
We are standardizing on the Java Authentication and Authorization
Service (JAAS). I thought I heard that XWiki supports the Pluggable
Authentication Modules (PAM) standard, but haven't found any reference
to it in the docs. Further, there are some articles out about
integrating JAAS into Tomcat, which is another thing to think about. We
actually are considering at least two methods here - a centralized PIN
server and a RADIUS server for SecurID access, and both have clients
that implement the JAAS interfaces.
There are a couple of strategies that I could probably try: one is just
to use the JAAS/Tomcat integration route. That would seem to give the
most bang-per-buck, but that would (I think) not allow controls at the
level of granularity that XWiki does, or would actually take controls
away from the XWiki rights system.
Another (actually my first idea) is to implement the various
com.xpn.xwiki.user.api interfaces (XWikiAuthService, XWikiGroupService,
and XWikiRightService) with JAAS calls.
Anyone have any experience with this?
brain[sic]
hi,
I want to install xwiki on my server. I have installed the database and
the xwiki-app in my tomcat.
If I call the url "http://localhost:8180/bin/view/Main/WebHome", I will
get following error:
javax.servlet.ServletException
org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:284)
org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:157)
java.security.AccessController.doPrivileged(Native Method)
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:127)
*root cause
*java.lang.NoClassDefFoundError
net.sf.cglib.core.KeyFactory$Generator.generateClass(KeyFactory.java:167)
net.sf.cglib.core.DefaultGeneratorStrategy.generate(DefaultGeneratorStrategy.java:25)
net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:215)
net.sf.cglib.core.KeyFactory$Generator.create(KeyFactory.java:145)
net.sf.cglib.core.KeyFactory.create(KeyFactory.java:117)
net.sf.cglib.core.KeyFactory.create(KeyFactory.java:108)
net.sf.cglib.core.KeyFactory.create(KeyFactory.java:104)
org.hibernate.impl.SessionFactoryImpl.<clinit>(SessionFactoryImpl.java:319)
org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1055)
com.xpn.xwiki.store.XWikiHibernateStore.initHibernate(XWikiHibernateStore.java:124)
com.xpn.xwiki.store.XWikiHibernateStore.checkHibernate(XWikiHibernateStore.java:258)
com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:570)
com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:123)
com.xpn.xwiki.XWiki.getDocument(XWiki.java:565)
com.xpn.xwiki.XWiki.getDocument(XWiki.java:599)
com.xpn.xwiki.XWiki.getXWikiPreference(XWiki.java:1019)
com.xpn.xwiki.XWiki.getXWikiPreference(XWiki.java:1014)
com.xpn.xwiki.XWiki.preparePlugins(XWiki.java:422)
com.xpn.xwiki.XWiki.initXWiki(XWiki.java:397)
com.xpn.xwiki.XWiki.<init>(XWiki.java:343)
com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:134)
com.xpn.xwiki.XWiki.getXWiki(XWiki.java:202)
Has someone an idea?
kind regards,
F.O.
Sorry for that Claudio :-). Will do that next time
-----Original Message-----
From: Claudio Miranda [mailto:claudio@claudius.com.br]
Sent: Wednesday, May 03, 2006 4:50 PM
To: xwiki-users(a)objectweb.org
Subject: Re: [xwiki-users] xwiki mysql database?
Dear Roger, please never send a big file through a mailing list.
As far
1 MB is big for a mailing list. Use one of free storage services
(yousendit.com, megaupload.com) and point the url on the email.
As far the reported error, this is a matter of path. Specify the
complete xwiki.sql path to the mysql command. Or use
// to enter the mysql command console
mysql -u xwiki -pxwiki xwiki
// load the sql script
source 'script sql complete path';
Claudio
Roger Rukundo Nzabandora wrote, On 03-05-2006 10:10:
> I am trying to install xwiki on my windows XP Pro SP2 computer. I have
> managed to follow all the instructions successfully up to the point of
> setting up the xwiki database using the command "mysql -u xwiki
-pxwiki
> xwiki < xwiki.sql". I get an error message; "The system cannot find
> specified file". I am using MySQL version 5.0.11 I don't know if this
> could be an issue. Plus I seem to have a problem with the Database I
> downloaded, when I look through it I find very strange characters
which
> might suggest that the downloadable DB is corrupted. I have attached a
> copy of the data base as a txt file so you can cross check it and see
if
> there's anything wrong. I am new to this technology, please help.
--
Claudio Miranda
___________________________________________________________________
http://www.claudius.com.br/blog claudio|em|claudius.com.br
http://www.summa-tech.com Summa Technologies do Brasil
http://www.soujava.org.br
I am trying to install xwiki on my windows XP Pro SP2 computer. I have
managed to follow all the instructions successfully up to the point of
setting up the xwiki database using the command "mysql -u xwiki -pxwiki
xwiki < xwiki.sql". I get an error message; "The system cannot find
specified file". I am using MySQL version 5.0.11 I don't know if this
could be an issue. Plus I seem to have a problem with the Database I
downloaded, when I look through it I find very strange characters which
might suggest that the downloadable DB is corrupted. I have attached a
copy of the data base as a txt file so you can cross check it and see if
there's anything wrong. I am new to this technology, please help.
Thanks.
Thanks, I have managed to restore the DB with the MySQL Administrator
tool v1.1. I have used file character set UTF-8. is this okay or I
should use another character set?
_____
From: Esbach, Brandon [mailto:Esbachb@tycoelectronics.com]
Sent: Wednesday, May 03, 2006 4:24 PM
To: xwiki-users(a)objectweb.org
Subject: RE: [xwiki-users] xwiki mysql database?
May not relate to your problem, just a few random thoughts:
@xwiki.sql upload
--The xwiki.sql file should be placed into your MySQL bin directory
(usually under C:\Program Files\MySQL\MySQL Server 4.1\bin) before
running the command line instruction; and the user "xwiki" with password
"xwiki" must be created on MySQL beforehand.
@odd characters:
--There should be some odd-looking characters if you use notepad (or
another text-based editor) to edit the .sql file, so this is most likely
not the problem. It is worth comparing a second download of the .sql
file in case though.
@MySQL version 5.0.11
--Should not affect this step at all; *however* note that 5.0.11 is not
really supported yet on XWiki (far as I know), so it may be that you
experience other problems once installation is complete.
@What I do with new installs:
The xwiki.sql file you download can also be 'restored' through the MySQL
Administrator tool (downloadable through the MySQL website).
This is about the same effort as installing through the command line;
BUT you can do all database tasks at once (creating user, setting up a
backup process, etc).
_____
From: Roger Rukundo Nzabandora [mailto:RNRukundo@syscorp.co.ug]
Sent: 03 May 2006 14:10
To: xwiki-dev(a)objectweb.org; xwiki-users(a)objectweb.org
Subject: [xwiki-users] xwiki mysql database?
I am trying to install xwiki on my windows XP Pro SP2 computer. I have
managed to follow all the instructions successfully up to the point of
setting up the xwiki database using the command "mysql -u xwiki -pxwiki
xwiki < xwiki.sql". I get an error message; "The system cannot find
specified file". I am using MySQL version 5.0.11 I don't know if this
could be an issue. Plus I seem to have a problem with the Database I
downloaded, when I look through it I find very strange characters which
might suggest that the downloadable DB is corrupted. I have attached a
copy of the data base as a txt file so you can cross check it and see if
there's anything wrong. I am new to this technology, please help.
Thanks.
Not sure if UTF-8 will work for you; I use ISO-8859-1 (sufficient for
us).
Note the configuration changes in the following document:
http://www.xwiki.org/xwiki/bin/view/Dev/CharactersSets
These changes should be made before you start using the system.
________________________________
From: Roger Rukundo Nzabandora [mailto:RNRukundo@syscorp.co.ug]
Sent: 03 May 2006 14:39
To: xwiki-users(a)objectweb.org
Subject: RE: [xwiki-users] xwiki mysql database?
Thanks, I have managed to restore the DB with the MySQL Administrator
tool v1.1. I have used file character set UTF-8. is this okay or I
should use another character set?
________________________________
From: Esbach, Brandon [mailto:Esbachb@tycoelectronics.com]
Sent: Wednesday, May 03, 2006 4:24 PM
To: xwiki-users(a)objectweb.org
Subject: RE: [xwiki-users] xwiki mysql database?
May not relate to your problem, just a few random thoughts:
@xwiki.sql upload
--The xwiki.sql file should be placed into your MySQL bin directory
(usually under C:\Program Files\MySQL\MySQL Server 4.1\bin) before
running the command line instruction; and the user "xwiki" with password
"xwiki" must be created on MySQL beforehand.
@odd characters:
--There should be some odd-looking characters if you use notepad (or
another text-based editor) to edit the .sql file, so this is most likely
not the problem. It is worth comparing a second download of the .sql
file in case though.
@MySQL version 5.0.11
--Should not affect this step at all; *however* note that 5.0.11 is not
really supported yet on XWiki (far as I know), so it may be that you
experience other problems once installation is complete.
@What I do with new installs:
The xwiki.sql file you download can also be 'restored' through the MySQL
Administrator tool (downloadable through the MySQL website).
This is about the same effort as installing through the command line;
BUT you can do all database tasks at once (creating user, setting up a
backup process, etc).
________________________________
From: Roger Rukundo Nzabandora [mailto:RNRukundo@syscorp.co.ug]
Sent: 03 May 2006 14:10
To: xwiki-dev(a)objectweb.org; xwiki-users(a)objectweb.org
Subject: [xwiki-users] xwiki mysql database?
I am trying to install xwiki on my windows XP Pro SP2 computer. I have
managed to follow all the instructions successfully up to the point of
setting up the xwiki database using the command "mysql -u xwiki -pxwiki
xwiki < xwiki.sql". I get an error message; "The system cannot find
specified file". I am using MySQL version 5.0.11 I don't know if this
could be an issue. Plus I seem to have a problem with the Database I
downloaded, when I look through it I find very strange characters which
might suggest that the downloadable DB is corrupted. I have attached a
copy of the data base as a txt file so you can cross check it and see if
there's anything wrong. I am new to this technology, please help.
Thanks.
May not relate to your problem, just a few random thoughts:
@xwiki.sql upload
--The xwiki.sql file should be placed into your MySQL bin directory
(usually under C:\Program Files\MySQL\MySQL Server 4.1\bin) before
running the command line instruction; and the user "xwiki" with password
"xwiki" must be created on MySQL beforehand.
@odd characters:
--There should be some odd-looking characters if you use notepad (or
another text-based editor) to edit the .sql file, so this is most likely
not the problem. It is worth comparing a second download of the .sql
file in case though.
@MySQL version 5.0.11
--Should not affect this step at all; *however* note that 5.0.11 is not
really supported yet on XWiki (far as I know), so it may be that you
experience other problems once installation is complete.
@What I do with new installs:
The xwiki.sql file you download can also be 'restored' through the MySQL
Administrator tool (downloadable through the MySQL website).
This is about the same effort as installing through the command line;
BUT you can do all database tasks at once (creating user, setting up a
backup process, etc).
________________________________
From: Roger Rukundo Nzabandora [mailto:RNRukundo@syscorp.co.ug]
Sent: 03 May 2006 14:10
To: xwiki-dev(a)objectweb.org; xwiki-users(a)objectweb.org
Subject: [xwiki-users] xwiki mysql database?
I am trying to install xwiki on my windows XP Pro SP2 computer. I have
managed to follow all the instructions successfully up to the point of
setting up the xwiki database using the command "mysql -u xwiki -pxwiki
xwiki < xwiki.sql". I get an error message; "The system cannot find
specified file". I am using MySQL version 5.0.11 I don't know if this
could be an issue. Plus I seem to have a problem with the Database I
downloaded, when I look through it I find very strange characters which
might suggest that the downloadable DB is corrupted. I have attached a
copy of the data base as a txt file so you can cross check it and see if
there's anything wrong. I am new to this technology, please help.
Thanks.
I am trying to include and external rss feed in my xwiki page but it doesn't
seem to work. I am trying the rss macro with the following rss feed:
http://groups.google.com/group/watij/feed/rss_v2_0_msgs.xml
But it just errors out...please help!
Thanks,
Brian
Hi,
I have a couple of questions about cookies. I'm using v0.9.840 on my localhost.
The following behaviour is consistently reproducible, and maybe as
designed, but I do not understand it. Any help would be much
appreciated!
The value of xwiki.authentication.cookiedomains value has some effects
on persistent login cookie creation, which in turn affects whether
XWikiAuthServiceImpl.authenticate(user, password,context) is called on
every page view or not.
Below is the outcome of some experiments with different cookiedomains
values. Between each test I shut down Tomcat, wiped my cookies for
localhost, changed xwiki.cfg as described and relaunched tomcat:
xwiki.authentication.cookiedomains=localhost
. persistent login cookies created: no (only style and JSESSIONID)
. authentication on every page view: no,
XWikiAuthServiceImpl.authenticate(user, password,context) is ONLY
CALLED ONCE (when loging in)
xwiki.authentication.cookiedomains=
. persistent login cookies created: yes (rememberme, validation,
password, username, style and JSESSIONID)
. authentication on every page view: yes,
XWikiAuthServiceImpl.authenticate(user, password,context) is called on
every page view.
xwiki.authentication.cookiedomains=calh (or any subtring of 'localhost')
. persistent login cookies created: no (only style and JSESSIONID)
. authentication on every page view: no,
XWikiAuthServiceImpl.authenticate(user, password,context) is ONLY
CALLED ONCE (when loging in)
xwiki.authentication.cookiedomains=some_other_string (that isn't a
substring of 'localhost')
. persistent login cookies created: yes (rememberme, validation,
password, username, style and JSESSIONID)
. authentication on every page view: yes,
XWikiAuthServiceImpl.authenticate(user, password,context) is called on
every page view.
I realise I'm probably using this setting incorrectly, excuse my lack
of knowledge of cookies... but even so, this behaviour seems odd to
me:
1. Why are the persistent login cookies not created when the
cookiedomains value is a substring of the server name?
What I think is happening from reading the code: in my examples the
cookies are assigned a domain name that doesn't match the actual
domain of the server (I guess 'localhost' is not a valid domain name
for machine localhost :), so they are never set properly. The XWiki
code has a basic check to ensure the desired cookie domain has some
correlation with the server name and ignores it not... but it is
fooled if the value is a substring of the hostname. Is this a standard
way of doing things or is there room for improvement here?
2. Looking at the code I can see we need the persistent login cookies
to extract the username & password in order to call
XWikiAuthServiceImpl.authenticate with valid params. But the way it's
currently written, a user can bypass XWikiAuthServiceImpl.authenticate
if the persistent login cookies are not set: if I have a valid session
cookie, I can just delete my persistent login cookies and browse the
wiki without XWikiAuthServiceImpl.authenticate being called. Is this
expected? This thread would suggest not:
http://mail-archive.objectweb.org/xwiki-dev/2006-02/msg00027.html
I have spent some time looking at the code, but don't have sufficient
understanding of the expected flow through (or even the purpose of)
the numerous checkAccess, checkAuth, processLogin, checkLogin and
authenticate methods, nor their expected interaction with cookies.
Thanks for any info!
On a side note, is it possible to configure things so that
"http://myHostName" and "http://myHostName.myDomain.com" share XWiki
cookies?
Regards,
Robin
Hi all,
I have followed the instruction to create a FAQ using the following page:
http://www.xwiki.org/xwiki/bin/view/DevGuide/FAQs+Tutorial
When I created my document it was empty, and there was no form to edit.
The code in the document was:
#includeForm("XWiki.FAQs.FAQClassSheet")
Where it should be :
#includeForm("FAQs.FAQClassSheet")
I fixed this issue when I recreated the FAQ Class with the wizard.
I removed XWiki. from the following line
#set($defaultparent = "XWiki.${class}Class")
Is that a error in the documentation or I did mistake somewhere else?
I haven't heard anything back, so perhaps my last post wasn't explained
very well.
When I enter a new page using "Add a News" on the front page of my
Xwiki, my page shows up on the front page as a new entry, but never
appears in the category I had assigned to it.
What could that be?
-Dave
--
Dave Mangot
Terracotta Inc.
650 Townsend St. Suite 325
San Francisco, CA 94103 USA
+1 415 738 4059
dmangot(a)terracottatech.com
This e-mail incorporates Terracotta's confidentiality policy, which is
online at http://www.terracottatech.com/emailconfidentiality.shtml