Hi,
<a href="pubs/felicissimoTrack2.pdf"><img src="images/pdf.gif" alt="Download
Publication" width="21" height="21" border="0"></a>
How is it done in XWiki syntax?
Thank you!
Rodrigo Paes
PHD Student - Computer Science - PUC-Rio - <mailto:rbp@les.inf.puc-rio.br>
rbp(a)les.inf.puc-rio.br
Messenger - <mailto:r0drigopaes@hotmail.com> r0drigopaes(a)hotmail.com
Web-page: <http://www.teccomm.les.inf.puc-rio.br/rodrigo/>
http://www.teccomm.les.inf.puc-rio.br/rodrigo/
"Só existem duas certezas na vida: a morte e os impostos"
I've got a "smart table" (using the class/template/sheet method). My
problem arises when a user clicks on the button to add a new "object"
(which is a really a new page with an object on it, based on the template,
etc.). The page comes up and allows the user to edit, as expected.
However, if the user takes "too long" (I haven't pin down an exact amount
of time yet -- but 5 minutes seems to suffice) filling out the form, then,
when they hit save, the page is created, but the object is nowhere to be
found. As you can imagine, the users a bit miffed by this. The problem
is exacerbated by the fact that no error is generated. The user thinks
things worked, until they go back to the table to find their entry isn't
present.
Any thoughts on what to do here? Is there a way to increase the timeout
or something? At the moment, I've put a note that they should just save
the page very quickly and then go back and edit after the fact, which
seems to work, but is pretty ugly.
Charles Rankin
Hi,
How can I find orphaned pages?
[]s
Rodrigo Paes
PHD Student - Computer Science - PUC-Rio - <mailto:rbp@les.inf.puc-rio.br>
rbp(a)les.inf.puc-rio.br
Messenger - <mailto:r0drigopaes@hotmail.com> r0drigopaes(a)hotmail.com
Web-page: <http://www.teccomm.les.inf.puc-rio.br/rodrigo/>
http://www.teccomm.les.inf.puc-rio.br/rodrigo/
"Só existem duas certezas na vida: a morte e os impostos"
Does anyone know the easiest way to change the page title of the "Wiki -
Main - WebHome" entry page so that when you bookmark it, you will have a
more friendly bookmark name in the browser by deafult?
==================================
Cody Burleson
Hi Group,
when I use #includeTopic("Testpage") attachments are not available in
the document (eg. Images don't show up).
Is there any way to get the attachments included?
Thankx!,
Sascha
I have a page that's uses code but it's never
responding. Everytime I hit that page it times out so
I never get to the actions menu to delete it.
It's also giving me problems in the change page of
"what's new" since this page will cause timeout.
Is there a way to force deletion of this page without
first loading it?
Thanks.
____________________________________________________
Start your day with Yahoo! - make it your home page
http://www.yahoo.com/r/hs
trying to find where the default register form is
located so I can change it according to our need. the
only one I was able to find was the register.vm in
templates directory.
this vm seems to be the french version. can someone
point me to the english version of the register form
source?
Thanks.
____________________________________________________
Start your day with Yahoo! - make it your home page
http://www.yahoo.com/r/hs
I see that visits to each page is being tracked. Is
there a way to get a report of page ranking per space
based on # of views?
Also, are the stats life-time or they resets every
month?
Thanks.
____________________________________________________
Start your day with Yahoo! - make it your home page
http://www.yahoo.com/r/hs
Are old attachment versions stored and accessible? When I attach a new
version of a document, the "version" attribute gets updated, but I don't
see a way to get back to the old version. Going back in history shows the
old "version", but when I click on it, it displays the newer version of
the attachment. Likewise, appending "?rev=xxx" to the URL also doesn't
help.
shawn.
I am attempting to use Xwiki as a CMS for software development project
documentation. A key requirement is to generate aggregate documents with
page numbers and a table of contents. Currently, Xwiki doesn't seem to offer
this feature, so I thought I would try using Cocoon to pull documents from
Xwiki, aggregate them, and generate a PDF. (Cocoon lets you get source
documents either from the file system, or from http URL's.)
Has anyone attempted this before? I am running into difficulty and am not an
expert on Xwiki or Cocoon, though I do have some experience with xslt
technology. Before spinning my wheels too much, I thought I would post here
to see if there might be a better way to accomplish what I want to do.
I really like what I see in Xwiki, but if there is another product that
might work better for this requirement, I might consider it. I've looked at
a number of free CMS products, and so far I haven't found any that offer the
ease of Wiki editing with the kind of aggregate PDF generation I want
(specifically, TOC with page numbers). Last year in teaching this class I
used Apache Forrest, but it's not very user friendly. I would love to find
something that would be easier for the students to use.
Thanks in advance for any suggestions...
Stephen
Hi everyone,
Short note to tell you that since last Wednesday the new Mandriva Club
has been XWikied and is going well! The server gets approximately 40000
page views per day. It contains for now 5500 documents, 2600 objects, 73
classes, 25000 users and 15 groups. It runs on a 64bits Opteron mono
CPU, 2Go RAM. The packaging of XWiki into JPackage and into Mandriva
Linux is underway.
As mentionned on the "Credits" page, we'll be more than happy to offer a
VIP account to any active developer of XWiki:
http://club.mandriva.com/xwiki/bin/view/Main/Credits
Kudos Ludovic! Thanks everyone!
Stéphane
PS: the threaded comments feature will be submitted this week
--
Stéphane Laurière
slauriere(a)mandriva.com
Mandriva Club - http://club.mandriva.com
Mandrakesoft becomes Mandriva!
Hi,
I have a question to the rights management. I created a special
document, which has an input field to put in a name to create
a new document. This document use a template of a specific class.
The code on this page is copied from a page on xwiki.org.
I think it was from your HowTo page.
On this template there are two objects and a call to include
a class sheet with the layout. This class sheet use velocity
to view the content of the two objects. There are different
layouts for edit and view.
This works fine, but only if I have admin rights. A user
which has the default rights of the group XWiki.XWikiAllGroup
has no privilege to edit the new created document.
What's wrong? What kind of rights do the user need, to create
and edit this documents?
Thanks for your help.
Bye
Frank
--
Dipl. Inform. Frank Häfemeier <frank(a)haefemeier.net>
----------------------------------------------------
This may be a bit of a longshot for you however, before turning to XWiki I had
taken a look a egroupware (www.egroupware.org). It seems to be capable of doing
what you would like, as a warning though the code is a bit overgrown and can be
very messy in places. It is in php and they have managed to incorporate
wikkitikkitavi into the product as their wiki engine.
I suspect that with some work it may be possible to incorporate XWiki into this
project using the php java extension
http://www.phpbuilder.com/columns/marknold20001221.php3, although it is no doubt
a non-trivial task.
- Mark
-----Original Message-----
From: Stephen Schaub [mailto:stephen_schaub_88@hotmail.com]
Sent: Tuesday, August 23, 2005 8:48 AM
To: xwiki-users(a)objectweb.org
Subject: [xwiki-users] Need Aggregate PDF's with TOC
I am attempting to use Xwiki as a CMS for software development project
documentation. A key requirement is to generate aggregate documents with
page numbers and a table of contents. Currently, Xwiki doesn't seem to offer
this feature, so I thought I would try using Cocoon to pull documents from
Xwiki, aggregate them, and generate a PDF. (Cocoon lets you get source
documents either from the file system, or from http URL's.)
Has anyone attempted this before? I am running into difficulty and am not an
expert on Xwiki or Cocoon, though I do have some experience with xslt
technology. Before spinning my wheels too much, I thought I would post here
to see if there might be a better way to accomplish what I want to do.
I really like what I see in Xwiki, but if there is another product that
might work better for this requirement, I might consider it. I've looked at
a number of free CMS products, and so far I haven't found any that offer the
ease of Wiki editing with the kind of aggregate PDF generation I want
(specifically, TOC with page numbers). Last year in teaching this class I
used Apache Forrest, but it's not very user friendly. I would love to find
something that would be easier for the students to use.
Thanks in advance for any suggestions...
Stephen
Can someone help me out here?
I have created some pages (just through messing around and experimenting)
that I decided I did not want. I did this using the [bracket around text]
method. Then afterwards, I deleted the bracketed text. But, I am assuming
that my page data is still sitting somewhere in the database. Is there
some way to generate a list of all pages? And if so - is there also some
way to delete pages for good?
==================================
Cody Burleson
Hi,
is it possible to customize/change the layout of the PDF export?
Bye
Frank
--
Dipl. Inform. Frank Häfemeier <frank(a)haefemeier.net>
----------------------------------------------------
> There is not enough information about the exception to actually
help you
> on this.
I attach piece of server log. If needed I can attach whole log from
server start. I'm using mysql connector 3.1.6 and postgresql
connector version 8.0-312.jdbc3.
With pgsql I dont even get left side menu.
Tomek
hi!
i have problems with running xwiki on ibm websphere v6.0 application
server and mysql/postgresql database. im using xwiki 0.9.840.
i get left side menu, top menu, etc, but there is no main contents,
instead i get error messages:
-on news i get:
Error number 4001 in 4: Error while parsing velocity page Main.
WebHome Wrapped Exception: Invocation of method 'searchDocuments' in
class com.xpn.xwiki.api.XWiki threw exception class 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='XWiki.ArticleClass' and obj.name<>'XWiki.
ArticleClassTemplate' order by doc.creationDate desc Wrapped
Exception: could not execute query
-knowgelde link works fine.
-on photogallery link i get:
Error number 4001 in 4: Error while parsing velocity page Photos.
WebHome Wrapped Exception: Invocation of method 'getDocument' in
class com.xpn.xwiki.api.XWiki threw exception class com.xpn.xwiki.
XWikiException : Error number 3202 in 3: Exception while reading
document Photos.Vietnam2001 Wrapped Exception: exception setting
property value with CGLIB (set hibernate.cglib.
use_reflection_optimizer=false for more info) setter of com.xpn.
xwiki.doc.XWikiDocument.setArchive
-on documentation i get runtime error:
Error number 3202 in 3: Exception while reading document Doc.WebHome
Wrapped Exception: exception setting property value with CGLIB (set
hibernate.cglib.use_reflection_optimizer=false for more info) setter
of com.xpn.xwiki.doc.XWikiDocument.setArchive
com.xpn.xwiki.XWikiException: Error number 3202 in 3: Exception
while reading document Doc.WebHome
...
-event calendar and presentation links works fine.
when im using standalone bibernate jar i get "Error 500: org/dom4j/
io/SAXReader", so i dont use it :)
any sugestions appreciated :)
tomek
Hi Luis,
There are several reasons, both from a user point of view and a
developer point of view:
- ZWiki has a horrible wiki syntax (space based)
- Modern wikis had much better functionality (we evaluated MediaWiki,
MoinMoinWiki and Xwiki) such as attachments or structured information.
- We are Java developers so with Xwiki we can add a functionality if we miss it.
- ZWiki was giving spureous server errors and was becoming very slow
as the number of pages was growing
I think these are the most important, if you have a specific question
I'll be glad to answer.
Regards,
Jorge
On 8/22/05, Luis Arias <kaaloo(a)gmail.com> wrote:
> Hola Jorge,
>
> Just in from a short vacation. I was wondering if you could share some of
> the reasons for moving to XWiki ? I would be very interested in your
> experience there.
>
> Gracias !
> Luis.
>
> On 8/18/05, Jorge Ferrer <jorge.ferrer(a)gmail.com> wrote:
> > Hi XWiki users and developers,
> >
> > I have recently moved from Zope's zwiki to xwiki and I'm very
> > impressed with it. My congratulations to the developers.
> >
> >
>
>
>
> --
> Luis Arias
> http://www.xwiki.com
> http://www.innover-entreprendre.net
> skype : kaaloo
> +33 6 14 20 87 93 mobile
--
Un abrazo,
Jorge
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Try as I might, with 0.8.40 and the current Subversion HEAD, I cannot
get LDAP authentication to work. Here is the environment:
* Gentoo Linux 2.6.12, Tomcat/5.0.27, Blackdown-1.4.2-02
(I think this is all pretty mainstream)
* No error messages are displayed to the user although, as the
CATALINA.LOG records show, the user successfully authenticated
* XWIKI.LOG has FormBeanConfig errors, but this seems to be a know
problem (judging from the ticket in the tracking system)
If I set "log4j.logger.com.xpn.xwiki=info" in classes/log4j.properties,
I get this line, but nothing else helpful:
INFO http-8080-Processor23
http://green.ohiolink.edu:8080/xwiki/bin/login/XWiki/XWikiLogin
MyFormAuthenticator:processLogin:142 - User peter(a)OhioLINK.edu login
has failed
I've been banging my head against this for two days and am about to give
up in favor of a less attractive, yet likely at least functional,
solution with a different wiki system. Advice would be greatly
appreciated...
XWIKI.CONF
xwiki.authentication.cookiedomains=ohiolink.edu
xwiki.authentication.useip=false
xwiki.authentication.ldap=1
xwiki.authentication.ldap.server=ldap.ohiolink.edu
xwiki.authentication.ldap.port=389
xwiki.authentication.ldap.base_DN=ou=People,dc=ohiolink,dc=edu
xwiki.authentication.ldap.UID_addr=mail # Login is e-mail address
xwiki.authentication.ldap.fields_mapping=name=mail,last_name=sn,first_name=givenName,fullname=displayName,mail=mail,ldap_dn=dn
xwiki.authentication.ldap.check_level=0 # Also tried "1"
XWIKI.LOG
WARN http-8080-Processor25
http://green.ohiolink.edu:8080/xwiki/bin/view/Main/WebHome
XWikiStatsServiceImpl:addCookie:474 - Setting cookie
12SKZHIOAL5BZEUWE7AVRXP7BJAT2IKN for name visitid with domain
ohiolink.edu and path / and maxage 942002
WARN http-8080-Processor24 RequestUtils:createActionForm:177 - No
FormBeanConfig found under 'login'
WARN http-8080-Processor24
http://green.ohiolink.edu:8080/xwiki/bin/login/XWiki/XWikiLogin?xredirect=h…
RequestUtils:createActionForm:177 - No FormBeanConfig found under
'loginerror'
WARN http-8080-Processor24 RequestUtils:createActionForm:177 - No
FormBeanConfig found under 'login'
WARN http-8080-Processor24
http://green.ohiolink.edu:8080/xwiki/bin/login/XWiki/XWikiLogin?xredirect=h…
RequestUtils:createActionForm:177 - No FormBeanConfig found under
'loginerror'
CATALINA.LOG:
JNDIRealm[Catalina]: Searching for peter(a)OhioLINK.edu
JNDIRealm[Catalina]: base: ou=People,dc=ohiolink,dc=edu filter:
(mail=peter(a)OhioLINK.edu)
JNDIRealm[Catalina]: entry found for peter(a)OhioLINK.edu with dn
uid=peter,ou=People,dc=ohiolink,dc=edu
JNDIRealm[Catalina]: retrieving values for attribute memberOf
JNDIRealm[Catalina]: validating credentials by binding as the user
JNDIRealm[Catalina]: binding as uid=peter,ou=People,dc=ohiolink,dc=edu
JNDIRealm[Catalina]: Username peter(a)OhioLINK.edu successfully authenticated
JNDIRealm[Catalina]: getRoles(uid=peter,ou=People,dc=ohiolink,dc=edu)
JNDIRealm[Catalina]: Searching role base
'ou=Groups,dc=ohiolink,dc=edu' for attribute 'cn'
JNDIRealm[Catalina]: With filter expression
'(uniqueMember=uid=peter,ou=People,dc=ohiolink,dc=edu)'
JNDIRealm[Catalina]: retrieving values for attribute cn
JNDIRealm[Catalina]: retrieving values for attribute cn
JNDIRealm[Catalina]: Returning 2 roles
JNDIRealm[Catalina]: Found role developers
JNDIRealm[Catalina]: Found role drcadmin
- --
Peter Murray http://www.pandc.org/peter/work/
Assistant Director, Multimedia Systems tel:+1-614-728-3600;ext=338
OhioLINK: the Ohio Library and Information Network Columbus, Ohio
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (Darwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFC+0t14+t4qSfPIHIRAtBvAJ9nFj0jpbPfPShwsm1RbEJPJc5mEwCeJnUG
9G65anfEx7ubb9YsG2MYPFU=
=qKVk
-----END PGP SIGNATURE-----
hi!
im trying to install xwiki on few enviromnents and then choose one
that suits best xwiki needs. im using mysql and postgresql databases
and i have _great_ problem with sensible performance testing because
example mysql database provided on xwiki website cannot be
converted into postgresql. also dump provided for PostgreSQL doesnt
work with current xwiki release... :(
as there is no backup facility built into xwiki (while it should be
standard) i cannot use simpliest method of data conversion. i think
that backup would be very very helpful feature, not only for making
backups (in xml) but also for transferring xwiki into different
environments!
maybe developers could look at http://dbunit.sourceforge.net/
can anyone share xwiki database dump both in MySQL and PostgreSQL
format?
greetings!
tomek
Hi XWiki users and developers,
I have recently moved from Zope's zwiki to xwiki and I'm very
impressed with it. My congratulations to the developers.
Almost everything is working correctly, but there is one issue which
is very annoying:
For some pages when I click "Edit page" the content shown on the
textarea is old! In fact it is the content I inserted the first time I
edited it. If I insert new content it is shown when I finish editing,
but when I edit it again it is lost. I have the feeling that it only
happens with the pages I created just after installing Xwiki using the
user Xwiki.Admin.
I've searched in the documentation and list archive without luck. Can
anyone help me with this problem?
Cheers,
Jorge
PD: The details of my installation are:
Xwiki v0.9.840
Apache Tomcat 4.1.31
Debian GNU/Linux 3.1
MySQL 4.0.24
This looks like a bug...
If someone places a comment on a page it shows up in the history with
the name of the last person to edit that page, not the name of the
person who made the comment.
After I install the war file on my Tomcat 4.1.30 and go to my xwiki install
home page, I get the following warnings in my $TOMCATHOME/webapps/xwiki.log:
Any ideas why this is happening?
16:28:50,967 WARN http5220-Processor4 RequestUtils:createActionForm:177 -
No FormBeanConfig found under 'view'
16:28:56,077 WARN http5220-Processor4
http://xnoybis.ccnmtl.columbia.edu:5220/xwiki/bin/view/Main/WebHome
Configurator:c
onfigure:126 - No configuration found. Configuring ehcache from
ehcache-failsafe.xml found in the classpath: jar:file:/ho
me/jrod/apps/jakarta-tomcat-4.1.30/webapps/xwiki/WEB-INF/lib/ehcache-1.1.jar
!/ehcache-failsafe.xml
16:29:01,028 ERROR http5220-Processor4
http://xnoybis.ccnmtl.columbia.edu:5220/xwiki/bin/view/Main/WebHome
XWikiHibernate
Store:updateSchema:177 - Schema update for wiki xwiki
16:29:07,258 WARN http5220-Processor3 RequestUtils:createActionForm:177 -
No FormBeanConfig found under 'skin'
16:29:07,275 WARN http5220-Processor4
http://xnoybis.ccnmtl.columbia.edu:5220/xwiki/bin/view/Main/WebHome
XWikiStatsServ
iceImpl:addCookie:474 - Setting cookie 6ANHPZRZIV2JJR9BWX01AYYGAHKTVWDG for
name visitid with domain null and path / and
maxage 250850
16:29:07,303 WARN http5220-Processor3 RequestUtils:createActionForm:177 -
No FormBeanConfig found under 'skin'
16:29:07,320 WARN http5220-Processor3 RequestUtils:createActionForm:177 -
No FormBeanConfig found under 'skin'
16:29:07,334 WARN http5220-Processor3 RequestUtils:createActionForm:177 -
No FormBeanConfig found under 'skin'
16:29:07,349 WARN http5220-Processor3 RequestUtils:createActionForm:177 -
No FormBeanConfig found under 'skin'
16:29:07,376 WARN http5220-Processor3 RequestUtils:createActionForm:177 -
No FormBeanConfig found under 'skin'
16:29:07,392 WARN http5220-Processor3 RequestUtils:createActionForm:177 -
No FormBeanConfig found under 'skin'
16:29:07,408 WARN http5220-Processor3 RequestUtils:createActionForm:177 -
No FormBeanConfig found under 'skin'
16:29:07,619 WARN http5220-Processor3 RequestUtils:createActionForm:177 -
No FormBeanConfig found under 'skin'
Hi,
I have created a class with the script on the document
'XWiki.XWikiClasses'. The new class is called
- Cook.RecipeClass with three properties
* recipe
* ingredients
* description
- Cook.RecipeClassTemplate
<!-- replace MyName with the real class name -->
<!-- save this template using the save button at the top left -->
#includeForm("Cook.RecipeClassSheet")
- Cook.RecipeClassSheet
<!-- you can modify this page to customize the presentation of your
object -->
<!-- at first you should keep the default presentation -->
<!-- save this template using the save button at the top left -->
<!-- Change "title" to a field name contained in your Class -->
#set($class = $doc.getFirstObject("recipe").xWikiClass)
1 Kochrezept: $doc.name
<table border="1" cellspacing="0" cellpadding="2">
#foreach($prop in $class.properties)
<tr><td> *${prop.prettyName}* </td>
<td>$doc.display($prop.getName())</td>
</tr>
#end
</table>
If I now try to create a document with the form on Cook.RecipeClass
the document (e.g. Cook.Test) shows a new page with the following URL
xwiki/bin/inline/Cook/NameOfYourDocument?parent=Cook.RecipeClass&template=Cook.RecipeClassTemplate&sheet=1&webname=Cook&name=Test
On this page the header 'Kochrezept: Test' is shown but no table with
the properties. I can't see why it isn't working.
Any idea what's wrong.
Bye
Frank
--
Dipl. Inform. Frank Häfemeier <frank(a)haefemeier.net>
----------------------------------------------------
I see the Blog code has an example to search on a DBStringListProperty, but I have a static list, which I believe is a StringListProperty. If I try to use the following SQL:
#set ($sql = ", BaseObject as obj, StringListProperty as prop join prop.list list where obj.name=doc.fullName and obj.className='ReleaseInfo.BuildStatus' and obj.id=prop.id.id and prop.id.name='recommended' and list='Distributed' order by doc.creationDate desc")
I get the following error:
Wrapped Exception: could not resolve property: list of: com.xpn.xwiki.objects.StringListProperty select distinct doc.web, doc.name, doc.creationDate from com.xpn.xwiki.doc.XWikiDocument as doc , com.xpn.xwiki.objects.BaseObject as obj, com.xpn.xwiki.objects.StringListProperty as prop join prop.list list where obj.name=doc.fullName and obj.className='ReleaseInfo.BuildStatus' and obj.id=prop.id.id and prop.id.name='recommended' and list='Distributed' order by doc.creationDate desc?
It seems like it should work ok, so I don't know why I'm getting that error. If I simply change StringListProperty to DBStringListProperty I don't get an error, but also I don't get any results. I can change to using a DBStringListProperty if that's the only way to do it, but I'd like to keep it as it is if at all possible. Thanks ...
shawn.
Hi Jason,
We are trying to solve this.. We started by doing a windows only package
embedding everything in a ready to go package. We also have an
experimental (not release) package with Jetty and HSQLDb so there are no
big dependencies. Jeremi is supposed to finish this but was busy on a
Google Summer of Code project. He'll be able to wrap this up in September.
We also have a backup (import/export) tools which we just released which
can be adapted for initial import and installs in other environments.
See http://www.xwiki.org/xwiki/bin/view/AdminGuide/Backup
There are one thing missing in your proposed approach which is loading
the default data (the import tool can do this just after having done the
schemaUpdate).
There is one thing I don't like which is the dependency on ant. We need
something that doesn't have this dependency. Many users are not
developers and might not have ant. An shell script and a batch file
running java is probably the way to go.
If you want to help you are welcome to.
Ludovic
Jason Novotny wrote:
>
> Hi Ludovic,
>
> I've been looking at the instructions at
> http://www.xwiki.org/xwiki/bin/view/Main/InstallLinuxTomcat and there
> are about 8 steps too many for this software to gain widespread
> adoption in my opinion. One of the biggest issues I see is that it
> uses Hibernate which is great since technically db tables can be auto
> generated using the Hibernate schemaexport tool with the xwiki mapping
> file to create tables in any database of your choosing. However, it
> looks like I specifically need MySQL and I don't know why. I look at
> the JBoss + Postgres install page and sure enough it points out the
> flaws of this approach:
>
> "Download the sample database and convert for Postgres. See
> PostgresDatabase
> <http://www.xwiki.org/xwiki/bin/view/Dev/PostgresDatabase> -> This
> tool has been made by Nicholas Vesser.. It was done with an old mysql
> database for XWiki.. You should try it with the latest database.."
> hmm, not fun.
>
> Personally, what I would like to see is this:
> 1) Download xwiki.zip
> 2) Run "ant install" which performs:
> Creating/deploying xwiki webapp to your Tomcat that you set in
> your build.properties
> Uses schemaexport to generate tables in your database that is
> defined in the hibernate properties file
>
> 3) Start your server and voila!
>
> Further, it could use hsqldb as a default so if you didn't reconfigure
> the hibernate properties file it would simply use hsqldb which can be
> bundled with the wiki webapp and used for test purposes.
>
> How does this sound?
>
> Cheers, Jason
>
>
>
>
>
> ------------------------------------------------------------------------
>
>
> --
> You receive this message as a subscriber of the xwiki-dev(a)objectweb.org mailing list.
> To unsubscribe: mailto:xwiki-dev-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
I have discovered the same issue and I think it is a caching problem. If you edit a page and the old content is displayed just click refresh button of your browser and the correct content will be displayed. On my installation this works. I think i saw a bug reported in JIRA regarding this problem. Solution would be to add some random number to the URL to make it always unique and therefore prohibit caching.
regards
Thomas
________________________________
Von: Erwann Robin [mailto:erobin@mandriva.com]
Gesendet: Do 18.08.2005 15:06
An: xwiki-users(a)objectweb.org
Betreff: Re: [xwiki-users] When editing some pages the last changes havebeen lost
Le jeudi 18 août 2005 à 12:21 +0200, Jorge Ferrer a écrit :
> Hi,
>
> I think this is it. I have changed the default language back to 'en'
> (instead of 'es') and now in the view I see the old page. So somehow
> on edit It always shows the content of the 'en' language but then
> saves it as 'es'. Trying to set the value of the 'language' parameter
> in the URL had no effect for me.
it is probably due to multi-lingual=no as you write later in your mail.
try to put it back to yes, unless you don't want multilingualism
cheers,
Erwann
Hi Ludovic and Jeremi,
Thanks for your responses!
> We also have a backup (import/export) tools which we just released
> which can be adapted for initial import and installs in other
> environments. See http://www.xwiki.org/xwiki/bin/view/AdminGuide/Backup
>
Ok, I looked at this and have xwiki from svn but can't find the
files the page mentions, where can I find these backup tools, or do they
still need more development?
> There are one thing missing in your proposed approach which is loading
> the default data (the import tool can do this just after having done
> the schemaUpdate).
> There is one thing I don't like which is the dependency on ant. We
> need something that doesn't have this dependency. Many users are not
> developers and might not have ant. An shell script and a batch file
> running java is probably the way to go.
>
I don't think that's much of an issue at all, since Ant itself
includes ant.sh, ant.bat to run it as a script. Or you include ant.jar
in your distro and use your own wrapper scripts to call it. In the end,
though, the best reason I've found to do as much as possible in Ant and
write only the simplest wrapper scripts is that means you keep your code
and build/deploy process as platform independent as possible which makes
debugging a lot easier.
You're right about importing default data. I can't really see any
clever way to do this that is database agnostic. One idea is that you
write a simple Main class that uses hibernate and your persistent
classes to programmatically create the data. This in theory would then
work for any database as well and could even be the start of unit
testing with your persistent classes...
My main point here though is I agree you don't want to force users
to become developers, but it's even worse that users have to become
DBA's. In my country a database admin usually gets paid more than a
developer and requires more specialized skills ;-)
Cheers, Jason
> If you want to help you are welcome to.
>
> Ludovic
>
> Jason Novotny wrote:
>
>>
>> Hi Ludovic,
>>
>> I've been looking at the instructions at
>> http://www.xwiki.org/xwiki/bin/view/Main/InstallLinuxTomcat and there
>> are about 8 steps too many for this software to gain widespread
>> adoption in my opinion. One of the biggest issues I see is that it
>> uses Hibernate which is great since technically db tables can be auto
>> generated using the Hibernate schemaexport tool with the xwiki
>> mapping file to create tables in any database of your choosing.
>> However, it looks like I specifically need MySQL and I don't know
>> why. I look at the JBoss + Postgres install page and sure enough it
>> points out the flaws of this approach:
>>
>> "Download the sample database and convert for Postgres. See
>> PostgresDatabase
>> <http://www.xwiki.org/xwiki/bin/view/Dev/PostgresDatabase> -> This
>> tool has been made by Nicholas Vesser.. It was done with an old mysql
>> database for XWiki.. You should try it with the latest database.."
>> hmm, not fun.
>>
>> Personally, what I would like to see is this:
>> 1) Download xwiki.zip
>> 2) Run "ant install" which performs:
>> Creating/deploying xwiki webapp to your Tomcat that you set in
>> your build.properties
>> Uses schemaexport to generate tables in your database that is
>> defined in the hibernate properties file
>>
>> 3) Start your server and voila!
>>
>> Further, it could use hsqldb as a default so if you didn't
>> reconfigure the hibernate properties file it would simply use hsqldb
>> which can be bundled with the wiki webapp and used for test purposes.
>>
>> How does this sound?
>>
>> Cheers, Jason
>>
>>
>>
>>
>>
>> ------------------------------------------------------------------------
>>
>>
>> --
>> You receive this message as a subscriber of the
>> xwiki-dev(a)objectweb.org mailing list.
>> To unsubscribe: mailto:xwiki-dev-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-dev(a)objectweb.org mailing list.
>To unsubscribe: mailto:xwiki-dev-unsubscribe@objectweb.org
>For general help: mailto:sympa@objectweb.org?subject=help
>ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>
>
Hi Ludovic,
I've been looking at the instructions at
http://www.xwiki.org/xwiki/bin/view/Main/InstallLinuxTomcat and there
are about 8 steps too many for this software to gain widespread adoption
in my opinion. One of the biggest issues I see is that it uses Hibernate
which is great since technically db tables can be auto generated using
the Hibernate schemaexport tool with the xwiki mapping file to create
tables in any database of your choosing. However, it looks like I
specifically need MySQL and I don't know why. I look at the JBoss +
Postgres install page and sure enough it points out the flaws of this
approach:
"Download the sample database and convert for Postgres. See
PostgresDatabase
<http://www.xwiki.org/xwiki/bin/view/Dev/PostgresDatabase> -> This tool
has been made by Nicholas Vesser.. It was done with an old mysql
database for XWiki.. You should try it with the latest database.." hmm,
not fun.
Personally, what I would like to see is this:
1) Download xwiki.zip
2) Run "ant install" which performs:
Creating/deploying xwiki webapp to your Tomcat that you set in your
build.properties
Uses schemaexport to generate tables in your database that is defined
in the hibernate properties file
3) Start your server and voila!
Further, it could use hsqldb as a default so if you didn't reconfigure
the hibernate properties file it would simply use hsqldb which can be
bundled with the wiki webapp and used for test purposes.
How does this sound?
Cheers, Jason
Hi all. I have a need to determine group membership based on criteria defined outside xwiki, and wondering if anyone has done this, or can at least suggest a direction.
We have criteria for groups defined in LDAP, such things as your department or things like that. I would like to be able to say that for a specific space, only people in so-and-so department are allowed in. However department should be only one criteria; in general I want to use an LDAP search the queries on an arbitrary set of attributes. In addition we have something called "Bluegroups", in which you can define a group name and then specify the members through either picking members individually, or again through an LDAP search.
To do this, my idea was that the user would manually create an XWiki group, and then as a member give something like "ldap:(dept=HTV)", or maybe "bluegroups:Support team". Even better would be the ability to put a value such as this in the Access Rights, under group, but I don't think things are setup that way. Anyway, looking at the API, it seems like I need to implement listGroupsForUser(), which is difficult because the group members are not stored in the db. I'm left with querying all the members which begin with "ldap:" or "bluegroups:", determing which the user is a member of via an LDAP call, and then returning them. I could cache these, but since I'm not going to get notifications of group membership changes, I would need to invalidate the cache once a day or something like that.
Does this seem like the most reasonable way of doing things? Or is there something that would make my life really easy and wonderful? Thanks in advance ...
shawn.
Hi, i've just installed xwiki (with the sample db: first with
xwiki-db-0.7.460.txt and then with xwiki-db-0.9.1.sql) and when I edit
(as admin) a page and save it I get the error message (see below). The
page is correctly saved though.
I have looked in the Db and the table "xwikilock" does no exist. The
following is the list of the tables (see below) in the xwiki DB.
I'm using java 1.5, tomcat5.5, mysql4.1
Dou you know what the reason for the problems can be?
Thanks in advance,
Miguel A. Bayona
====== list of tables in xwiki database created by script
xwiki-db-0.9.1.sql =====
CREATE TABLE xwikiattachment (
CREATE TABLE xwikiattachment_archive (
CREATE TABLE xwikiattachment_content (
CREATE TABLE xwikibooleanclasses (
CREATE TABLE xwikiclasses (
CREATE TABLE xwikiclassesprop (
CREATE TABLE xwikidateclasses (
CREATE TABLE xwikidates (
CREATE TABLE xwikidblistclasses (
CREATE TABLE xwikidoc (
CREATE TABLE xwikidoubles (
CREATE TABLE xwikifloats (
CREATE TABLE xwikiintegers (
CREATE TABLE xwikilargestrings (
CREATE TABLE xwikilistitems (
CREATE TABLE xwikilists (
CREATE TABLE xwikilongs (
CREATE TABLE xwikinumberclasses (
CREATE TABLE xwikiobjects (
CREATE TABLE xwikiproperties (
CREATE TABLE xwikislistclasses (
CREATE TABLE xwikistatsdoc (
CREATE TABLE xwikistatsreferer (
CREATE TABLE xwikistatsvisit (
CREATE TABLE xwikistringclasses (
CREATE TABLE xwikistrings (
======= errors and warnings in xwiki.log =========16:55:06,233 WARN
Finalizer JDBCContext:finalize:333 - afterTransactionCompletion() was
never called
16:58:00,649 WARN http-8080-Processor23
RequestUtils:createActionForm:177 - No FormBeanConfig found under 'view'
16:58:00,775 WARN http-8080-Processor23
http://<myserver>:8080/xwiki/bin/view/Main/WebHome
XWikiStatsServiceImpl:addCookie:474 - Setting cookie BV9L1ZG8NVZO
O0MLH37JFTRULRVPXZQW for name visitid with domain null and path / and
maxage 421133
16:58:00,777 WARN http-8080-Processor23
http://<myserver>:8080/xwiki/bin/view/Main/WebHome
XWikiStatsServiceImpl:findVisit:314 - Found visit with cookie R40
F0EXZHJHSXJGB1TCDEFPTDMHDSYGA in session
F892767861A94F264B2FD845B1D6A00E for request with cookie
BV9L1ZG8NVZOO0MLH37JFTRULRVPXZQW
16:58:45,063 WARN http-8080-Processor24
RequestUtils:createActionForm:177 - No FormBeanConfig found under 'view'
16:58:45,270 WARN http-8080-Processor24
http://<myserver>:8080/xwiki/bin/view/XWiki/XWikiUsers
XWikiStatsServiceImpl:addCookie:474 - Setting cookie BS0CHDAW
FDNII0CXXSZEJQBOH0YSQ7XL for name visitid with domain null and path /
and maxage 421088
16:58:45,271 WARN http-8080-Processor24
http://<myserver>:8080/xwiki/bin/view/XWiki/XWikiUsers
XWikiStatsServiceImpl:findVisit:314 - Found visit with cookie
BV9L1ZG8NVZOO0MLH37JFTRULRVPXZQW in session
F892767861A94F264B2FD845B1D6A00E for request with cookie
BS0CHDAWFDNII0CXXSZEJQBOH0YSQ7XL
16:58:59,933 WARN http-8080-Processor24
RequestUtils:createActionForm:177 - No FormBeanConfig found under 'view'
16:59:00,066 WARN http-8080-Processor24
http://<myserver>:8080/xwiki/bin/view/XWiki/Admin
XWikiStatsServiceImpl:addCookie:474 - Setting cookie YBOFE9LSAWOOB
FEQSLRXJW2UZ3ZTQEOK for name visitid with domain null and path / and
maxage 421073
16:59:00,067 WARN http-8080-Processor24
http://<myserver>:8080/xwiki/bin/view/XWiki/Admin
XWikiStatsServiceImpl:findVisit:314 - Found visit with cookie BV9L
1ZG8NVZOO0MLH37JFTRULRVPXZQW in session F892767861A94F264B2FD845B1D6A00E
for request with cookie YBOFE9LSAWOOBFEQSLRXJW2UZ3ZTQEOK
16:59:18,882 WARN http-8080-Processor24
RequestUtils:createActionForm:177 - No FormBeanConfig found under 'login'
16:59:18,886 WARN http-8080-Processor24
http://<myserver>:8080/xwiki/bin/login/XWiki/XWikiLogin?xredirect=http://<myserver>:8080/xwiki/bin/view/Main/WebHome
RequestUtils:createActionForm:177 - No FormBeanConfig found under
'loginerror'
16:59:44,153 WARN http-8080-Processor24
http://<myserver>:8080/xwiki/bin/edit/XWiki/XWikiPreferences?xpage=editrights&global=1
JDBCExceptionReporter:logExce
ptions:71 - SQL Error: 1146, SQLState: 42S02
16:59:44,155 ERROR http-8080-Processor24
http://<myserver>:8080/xwiki/bin/edit/XWiki/XWikiPreferences?xpage=editrights&global=1
JDBCExceptionReporter:logExce
ptions:72 - Table 'xwiki.xwikilock' doesn't exist
16:59:44,157 ERROR http-8080-Processor24
http://<myserver>:8080/xwiki/bin/edit/XWiki/XWikiPreferences?xpage=editrights&global=1
XWikiService:renderEdit:830 -
Exception while setting up lock
com.xpn.xwiki.XWikiException: Error number 13007 in 3: Exception while
loading lock
........
17:00:21,044 ERROR http-8080-Processor23
http://<myserver>:8080/xwiki/bin/objectadd/XWiki/XWikiPreferences
AbstractFlushingEventListener:performExecutions:27
7 - Could not synchronize database state with session
org.hibernate.StaleObjectStateException: Row was updated or deleted by
another transaction (or unsaved-value mapping was incorrect):
[com.xpn.xwiki.objects.c
lasses.StringClass#<?xml version="1.0" encoding="UTF-8"?>
<authenticate_edit>
<name>authenticate_edit</name>
<prettyName>Authenticate On Edit</prettyName>
<unmodifiable>0</unmodifiable>
<size>30</size>
<number>7</number>
<classType>com.xpn.xwiki.objects.classes.StringClass</classType>
</authenticate_edit>
]
at
org.hibernate.persister.entity.BasicEntityPersister.check(BasicEntityPersister.java:1431)
at
org.hibernate.persister.entity.BasicEntityPersister.update(BasicEntityPersister.java:1976)
at
org.hibernate.persister.entity.BasicEntityPersister.updateOrInsert(BasicEntityPersister.java:1899)
at
org.hibernate.persister.entity.BasicEntityPersister.update(BasicEntityPersister.java:2139)
.......
17:13:54,756 WARN http-8080-Processor25
http://<myserver>:8080/xwiki/bin/save/Main/WebHome
XWikiStatsServiceImpl:addCookie:474 - Setting cookie QBBALLSXMJCI
D7V2TZZ9RYKQKX3OHQRI for name visitid with domain null and path / and
maxage 420179
17:13:54,761 WARN http-8080-Processor25
http://<myserver>:8080/xwiki/bin/save/Main/WebHome
XWikiStatsServiceImpl:findVisit:314 - Found visit with cookie VDU
ZYLYTNEUTFDUG2GADQNTDZOFI8CJL in session
F892767861A94F264B2FD845B1D6A00E for request with cookie
QBBALLSXMJCID7V2TZZ9RYKQKX3OHQRI
17:15:07,125 WARN http-8080-Processor24
http://<myserver>:8080/xwiki/bin/save/Main/WebHome
JDBCExceptionReporter:logExceptions:71 - SQL Error: 1146, SQLStat
e: 42S02
17:15:07,126 ERROR http-8080-Processor24
http://<myserver>:8080/xwiki/bin/save/Main/WebHome
JDBCExceptionReporter:logExceptions:72 - Table 'xwiki.xwikilock'
doesn't exist
17:15:07,128 WARN http-8080-Processor24
http://<myserver>:8080/xwiki/bin/save/Main/WebHome
ViewEditAction:execute:242 - Uncaught exception: Error number 130
07 in 3: Exception while loading lock
Wrapped Exception: could not execute query
com.xpn.xwiki.XWikiException: Error number 13007 in 3: Exception while
loading lock
Wrapped Exception: could not execute query
.........
17:47:58,081 WARN http-8080-Processor25
http://<myserver>:8080/xwiki/bin/save/Main/WebHome
XWikiStatsServiceImpl:addCookie:474 - Setting cookie RQH6TYW9XXLY
PW4W9HBT5JATLVZVDHRO for name visitid with domain null and path / and
maxage 418135
17:47:58,082 WARN http-8080-Processor25
http://<myserver>:8080/xwiki/bin/save/Main/WebHome
XWikiStatsServiceImpl:findVisit:314 - Found visit with cookie VDU
ZYLYTNEUTFDUG2GADQNTDZOFI8CJL in session
F892767861A94F264B2FD845B1D6A00E for request with cookie
RQH6TYW9XXLYPW4W9HBT5JATLVZVDHRO
17:48:14,641 WARN http-8080-Processor25
http://<myserver>:8080/xwiki/bin/save/Main/WebHome
JDBCExceptionReporter:logExceptions:71 - SQL Error: 1146, SQLStat
e: 42S02
17:48:14,642 ERROR http-8080-Processor25
http://<myserver>:8080/xwiki/bin/save/Main/WebHome
JDBCExceptionReporter:logExceptions:72 - Table 'xwiki.xwikilock'
doesn't exist
17:48:14,643 WARN http-8080-Processor25
http://<myserver>:8080/xwiki/bin/save/Main/WebHome
ViewEditAction:execute:242 - Uncaught exception: Error number 130
07 in 3: Exception while loading lock
Wrapped Exception: could not execute query
com.xpn.xwiki.XWikiException: Error number 13007 in 3: Exception while
loading lock
=============== message error ===============================
Error number 13007 in 3: Exception while loading lock
Wrapped Exception: could not execute query
com.xpn.xwiki.XWikiException: Error number 13007 in 3: Exception while loading lock
Wrapped Exception: could not execute query
at com.xpn.xwiki.store.XWikiHibernateStore.loadLock(XWikiHibernateStore.java:1549)
at com.xpn.xwiki.doc.XWikiDocument.getLock(XWikiDocument.java:2117)
at com.xpn.xwiki.XWikiService.actionSave(XWikiService.java:446)
at com.xpn.xwiki.web.ViewEditAction.execute(ViewEditAction.java:155)
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.doPost(ActionServlet.java:415)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:127)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
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.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:856)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
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(Unknown Source)
Wrapped Exception:
java.sql.SQLException: Table 'xwiki.xwikilock' doesn't exist
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2921)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1570)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1665)
at com.mysql.jdbc.Connection.execSQL(Connection.java:2978)
at com.mysql.jdbc.Connection.execSQL(Connection.java:2902)
at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:930)
at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:1024)
at org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:92)
at org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:92)
at org.hibernate.jdbc.AbstractBatcher.getResultSet(AbstractBatcher.java:118)
at org.hibernate.loader.Loader.getResultSet(Loader.java:1239)
at org.hibernate.loader.Loader.doQuery(Loader.java:374)
at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:210)
at org.hibernate.loader.Loader.doList(Loader.java:1562)
at org.hibernate.loader.Loader.list(Loader.java:1545)
at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:375)
at org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:271)
at org.hibernate.impl.SessionImpl.list(SessionImpl.java:840)
at org.hibernate.impl.QueryImpl.list(QueryImpl.java:74)
at org.hibernate.impl.AbstractQueryImpl.uniqueResult(AbstractQueryImpl.java:603)
at com.xpn.xwiki.store.XWikiHibernateStore.loadLock(XWikiHibernateStore.java:1539)
at com.xpn.xwiki.doc.XWikiDocument.getLock(XWikiDocument.java:2117)
at com.xpn.xwiki.XWikiService.actionSave(XWikiService.java:446)
at com.xpn.xwiki.web.ViewEditAction.execute(ViewEditAction.java:155)
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.doPost(ActionServlet.java:415)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:127)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
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.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:856)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
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(Unknown Source)
The connection setting must be wrong in the WEB-INF/hibernate.cfg.xml file..
We must have left our own IP address instead of localhost..
What do you have in the file ?
Ludovic
John Rodriguez wrote:
>
> I have the same problem as Jonathan Chauncey posted on 01 Aug 2005.
>
> In you reply, you requested more wrapped exceptions to help determine
> the cause of the error.
>
> Did he provide such and if so, was the solution found?
>
>
>
> Here is my stack trace:
>
>
>
> 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: Could not create a DBCP pool
> at org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:516)
> at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:423)
> 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:740)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
> at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:127)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
> at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
> at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
> at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
> at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2422)
> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
> at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
> at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
> at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:163)
> at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
> at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
> at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
> at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:199)
> at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:828)
> at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:700)
> at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:584)
> at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
> at java.lang.Thread.run(Thread.java:534)
>
> *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: Could not create a DBCP pool
> 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:740)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
> at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:127)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
> at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
> at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
> at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
> at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2422)
> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
> at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
> at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
> at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:163)
> at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
> at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
> at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
> at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:199)
> at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:828)
> at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:700)
> at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:584)
> at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
> at java.lang.Thread.run(Thread.java:534)
>
>
> Wrapped Exception:
>
> com.xpn.xwiki.XWikiException: Error number 3201 in 3: Exception while saving document XWiki.XWikiPreferences
> Wrapped Exception: Could not create a DBCP pool
> 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:740)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
> at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:127)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
> at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
> at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
> at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
> at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2422)
> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
> at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
> at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
> at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:163)
> at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
> at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
> at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
> at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:199)
> at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:828)
> at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:700)
> at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:584)
> at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
> at java.lang.Thread.run(Thread.java:534)
>
>
> Wrapped Exception:
>
> org.hibernate.HibernateException: Could not create a DBCP pool
> at com.xpn.xwiki.store.DBCPConnectionProvider.configure(DBCPConnectionProvider.java:211)
> at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:80)
> at org.hibernate.cfg.SettingsFactory.createConnectionProvider(SettingsFactory.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.java:1054)
> at com.xpn.xwiki.store.XWikiHibernateStore.initHibernate(XWikiHibernateStore.java:124)
> at com.xpn.xwiki.store.XWikiHibernateStore.checkHibernate(XWikiHibernateStore.java:258)
> at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:474)
> 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:740)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
> at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:127)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
> at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
> at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
> at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
> at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2422)
> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
> at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
> at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
> at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:163)
> at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
> at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
> at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
> at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:199)
> at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:828)
> at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:700)
> at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:584)
> at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
> at java.lang.Thread.run(Thread.java:534)
> Caused by: org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Communications link failure due to underlying exception:
>
> ** BEGIN NESTED EXCEPTION **
>
> java.net.SocketException
> MESSAGE: java.net.ConnectException: Connection timed out
>
> STACKTRACE:
>
> java.net.SocketException: java.net.ConnectException: Connection timed out
> at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:151)
> at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:280)
> at com.mysql.jdbc.Connection.createNewIO(Connection.java:1765)
> at com.mysql.jdbc.Connection.<init>(Connection.java:430)
> at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:268)
> at org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:37)
> at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:290)
> at org.apache.commons.dbcp.BasicDataSource.validateConnectionFactory(BasicDataSource.java:877)
> at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:851)
> at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:540)
> at com.xpn.xwiki.store.DBCPConnectionProvider.configure(DBCPConnectionProvider.java:193)
> at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:80)
> at org.hibernate.cfg.SettingsFactory.createConnectionProvider(SettingsFactory.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.java:1054)
> at com.xpn.xwiki.store.XWikiHibernateStore.initHibernate(XWikiHibernateStore.java:124)
> at com.xpn.xwiki.store.XWikiHibernateStore.checkHibernate(XWikiHibernateStore.java:258)
> at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:474)
> 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:740)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
> at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:127)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
> at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
> at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
> at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
> at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2422)
> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
> at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
> at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
> at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:163)
> at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
> at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
> at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
> at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:199)
> at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:828)
> at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:700)
> at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:584)
> at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
> at java.lang.Thread.run(Thread.java:534)
>
>
> ** END NESTED EXCEPTION **
>
> )
> at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:855)
> at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:540)
> at com.xpn.xwiki.store.DBCPConnectionProvider.configure(DBCPConnectionProvider.java:193)
> ... 55 more
> Caused by: com.mysql.jdbc.CommunicationsException: Communications link failure due to underlying exception:
>
> ** BEGIN NESTED EXCEPTION **
>
> java.net.SocketException
> MESSAGE: java.net.ConnectException: Connection timed out
>
> STACKTRACE:
>
> java.net.SocketException: java.net.ConnectException: Connection timed out
> at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:151)
> at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:280)
> at com.mysql.jdbc.Connection.createNewIO(Connection.java:1765)
> at com.mysql.jdbc.Connection.<init>(Connection.java:430)
> at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:268)
> at org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:37)
> at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:290)
> at org.apache.commons.dbcp.BasicDataSource.validateConnectionFactory(BasicDataSource.java:877)
> at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:851)
> at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:540)
> at com.xpn.xwiki.store.DBCPConnectionProvider.configure(DBCPConnectionProvider.java:193)
> at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:80)
> at org.hibernate.cfg.SettingsFactory.createConnectionProvider(SettingsFactory.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.java:1054)
> at com.xpn.xwiki.store.XWikiHibernateStore.initHibernate(XWikiHibernateStore.java:124)
> at com.xpn.xwiki.store.XWikiHibernateStore.checkHibernate(XWikiHibernateStore.java:258)
> at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:474)
> 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:740)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
> at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:127)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
> at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
> at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
> at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
> at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2422)
> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
> at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
> at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
> at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:163)
> at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
> at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
> at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
> at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:199)
> at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:828)
> at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:700)
> at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:584)
> at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
> at java.lang.Thread.run(Thread.java:534)
>
>
> ** END NESTED EXCEPTION **
>
>
> at com.mysql.jdbc.Connection.createNewIO(Connection.java:1830)
> at com.mysql.jdbc.Connection.<init>(Connection.java:430)
> at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:268)
> at org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:37)
> at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:290)
> at org.apache.commons.dbcp.BasicDataSource.validateConnectionFactory(BasicDataSource.java:877)
> at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:851)
> ... 57 more
>
>
>
--
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, you can use HTML in XWiki pages so using styles with "width, float
and clear" allows to do this.
Now a nice macro would be great, so I tried to do a set of macros that
simplifies creating an InfoBox.
Check it out at:
http://www.xwiki.org/xwiki/bin/view/Dev/InfoBox
Ludovic
BKY wrote:
> Hi,
>
> I read all the help on Xwiki I could find, but I didn't see anything
> about how to put a table on the site of text for an infobox, like on
> Wikipedia (like: http://en.wikipedia.org/wiki/United_States , I want
> the info box (table) on the side of text so it does not take up all
> the page)
>
> If it's done with a table, I don't know how to do it. If I put a table
> tag for splitting the infobox and text, the tag will just be ended
> with the table tag for the info box (as the tag to start a table is
> the same as the one that ends it).
>
> So, how do I put a table off to the side of the page?
>
>
--
Ludovic Dubost
XPertNet: http://www.xpertnet.fr/
Blog: http://www.ludovic.org/blog/
XWiki: http://www.xwiki.com
Skype: ldubost AIM: nvludo Yahoo: ludovic
I have a page with a number of objects, which I want to display in sorted order. I currently have code which can view all the items (the page as well as the class is "Main.Teams":
#set($teamsdoc = $xwiki.getDocument("Main.Teams"))
#foreach($team in $teamsdoc.getObjects("Main.Teams"))
* $team.get('name')
#end
I allow users to add new teams, but they always go to the bottom of the list. However I'd like to print out them in order by the "name" property. I've tried using groovy for this, but I just can't get simple things (like printing list contents any way other than "print teams") to work. Can anyone help? Thanks ...
shawn.
Hello,
I recently installed Xwiki. I did not find information on the data which require to be save if one wishes to carry out a backup or an export to another machine.
Would have additional information about this subject ?
Thanks
Yannick
Hi.
Is source code of Statistics menu anywhere available?
Richard.
--
"First they ignore you. Then they laugh at you. Then they
fight you. Then you win." - Mohandas Gandhi.
Hi All,
Is there a way to include an external css file in a wiki (i.e. <link>)
without having to embed the css within <style> tags in the page itself?
Duke
Hello, I am getting a strange behavior when using tables in XWiki with
Firefox. In Internet Explorer, it works perfectly.
What happens is that the table doesn't adjust its size to fit on the
central area. So, when the table becomes too wide, it spans over the
"Search" and "Members" section at the right of the page.
Please any help is appreciated.
Matheus
---------------------------------------------
This message was sent using Endymion MailMan.
http://www.endymion.com/products/mailman/
Ok I have setup my MySQL db using the supplied sql dump and Ive got the
xwiki.war deployed on my server. When I go to my sites addy I get the
index.html provided in the .war file, however when I go to the addy
/xwiki/bin/view/Main/WebHome I get this error:
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: Could not create a DBCP pool
org.apache.struts.action.RequestProcessor.processException(RequestProcessor.
java:516)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProces
sor.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(SetCharacterEncodingFi
lter.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: Could not create a DBCP pool
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(RequestProces
sor.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(SetCharacterEncodingFi
lter.java:127)
its an HTTP status 500 error.
Anyone have any idea? I have also set the max_allowed_packet size to 32 megs
Dear all,
I'm trying to create a form in order to register visitors to a conference.
Thus I've created a XWiki class to store data concerning visitors.
I've created this document :
Main.RegistrationClass that contains the class
Main.RegistrationClassTemplate that contains an object of the previous class
Main.RegistrationClassSheet
I need to make some verifications when people registering. Thus I've created a
Document that I called Main.RegistrationNewVisitor that displays a form and
control data.
The problem I have is that I don't know with using velocity script how I can
forward. Thus I've created a javascript script that forward to the desired
page by clicking on the hidden form.
Any idea ?
Regards
--
Xavier MOGHRABI - Consortium ObjectWeb
Email: xavier.moghrabi at objectweb.org
Phone: +33 4 76 61 52 35 - Skype ID: xavier.moghrabi.bureau
There are still several question which need to be answered but are not in this
documentation:
1a. Does this create a new database for the new XWiki?
1b. If so, where is this database created? or Is it necessary to manually create
a new database?
Following the instructions in the documentation without any additional work
results in the following error:
[code:xml]
type Exception report
message
description The server encountered an internal error () that prevented it from
fulfilling this request.
exception
javax.servlet.ServletException: Error number 2 in 0: The wiki lcswiki does not
exist
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 2 in 0: The wiki lcswiki does not
exist
com.xpn.xwiki.XWiki.getXWiki(XWiki.java:241)
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)
{code}
-----Original Message-----
From: Ludovic Dubost [mailto:ludovic@xwiki.com]
Sent: Thursday, July 28, 2005 6:00 AM
To: xwiki-users(a)objectweb.org
Subject: Re: [xwiki-users] Create a new instance of Xwiki
Hi,
This is one way of create multiple wikis served from the same servlet
engine.
However if you start having over 3 or 4 wikis, this will become a
resource hog with many connections open to the database and multiple
caches..
The solution is to use real virtual servers. See
http://www.xwiki.com/xwiki/bin/view/Doc/HowToSetupVirtualWikis
We could improve a little this documentation.
Ludovic
Lichman, Mark Eugene wrote:
> Hi Cwiki users,
>
> I noticed the instructions for adding another space, unfortunately this isn't
> quite what I needed.
>
> Here are some instuctions for creating a new instance of Xwiki in case you'd
> like to keep two completly separate databases (i.e. searching one will not
give
> results for the other). I wasn't quite sure where to put this online.
>
>
> 1 Create a new instance of Xwiki
> # Create a folder with the name of the new Xwiki (i.e. support) in the
> tomcat/webapps folder)
> # Extract the xwiki war file into this folder
> # In the webinf/hibernate.cfg.xml file
> * modify {code:xml} <property
> name="connection.url">jdbc:mysql://localhost/xwiki</property> {code} replacing
> xwiki with the name of the new database you wish to create
> # create a new database with the same name as in the line above
> # import the sample database located here
> [http://www.xwiki.org/xwiki/bin/view/Main/XWikiDownload] into your new
database
>
> All set! Go to http://localhost/your_wiki_here/bin/view/Main/WebHome to check
it
> out.
>
> Caution, you may wish to modify the index.html file to point to your url just
in
> case.
>
>
> ------------------------------------------------------------------------
>
>
> --
> 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
and what is
xwiki.base=../../
in the wiki.cfg used for?
Best Regards
Thomas
-----Original Message-----
From: Ludovic Dubost [mailto:ludovic@xwiki.com]
Sent: Friday, July 29, 2005 7:44 AM
To: xwiki-users(a)objectweb.org
Subject: Re: [xwiki-users] Create a new instance of Xwiki
It is technically possible from an XWiki standpoint but you need to send all these URLs to the same web app in the servlet engine.. I have never done this setup in tomcat yet..
Ludovic
Thomas.Duehrsen(a)sicap.com wrote:
> Hi
>
> is there also a way to setup virtual wikis based on the same hostname but different URL patterns?
>
> Example:
> http://www.myhost.ch/xwiki/wiki-1/
> http://www.myhost.ch/xwiki/wiki-2/
> http://www.myhost.ch/xwiki/wiki-3/
>
> All URLs point to same Context.
>
> In addition, could you please quickly explain the usage of
>
> xwiki.base=../../
>
> which can be found in the config file?
>
> thanks a lot
>
> Thomas
>
> -----Original Message-----
> From: Ludovic Dubost [mailto:ludovic@xwiki.com]
> Sent: Thursday, July 28, 2005 12:00 PM
> To: xwiki-users(a)objectweb.org
> Subject: Re: [xwiki-users] Create a new instance of Xwiki
>
>
> Hi,
>
> This is one way of create multiple wikis served from the same servlet engine.
> However if you start having over 3 or 4 wikis, this will become a resource hog with many connections open to the database and multiple caches..
> The solution is to use real virtual servers. See
> http://www.xwiki.com/xwiki/bin/view/Doc/HowToSetupVirtualWikis
> We could improve a little this documentation.
>
> Ludovic
>
> Lichman, Mark Eugene wrote:
>
>> Hi Cwiki users,
>>
>> I noticed the instructions for adding another space, unfortunately
>> this isn't quite what I needed.
>>
>> Here are some instuctions for creating a new instance of Xwiki in
>> case you'd like to keep two completly separate databases (i.e.
>> searching one will not give results for the other). I wasn't quite sure where to put this online.
>>
>>
>> 1 Create a new instance of Xwiki
>> # Create a folder with the name of the new Xwiki (i.e. support) in
>> the tomcat/webapps folder) # Extract the xwiki war file into this
>> folder # In the webinf/hibernate.cfg.xml file
>> * modify {code:xml} <property
>> name="connection.url">jdbc:mysql://localhost/xwiki</property> {code}
>> replacing xwiki with the name of the new database you wish to create
>> # create a new database with the same name as in the line above #
>> import the sample database located here
>> [http://www.xwiki.org/xwiki/bin/view/Main/XWikiDownload] into your
>> new database
>>
>> All set! Go to http://localhost/your_wiki_here/bin/view/Main/WebHome
>> to check it out.
>>
>> Caution, you may wish to modify the index.html file to point to your
>> url just in case.
>>
>>
>> ---------------------------------------------------------------------
>> -
>> --
>>
>>
>> --
>> 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
>
--
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
is there also a way to setup virtual wikis based on the same hostname but different URL patterns?
Example:
http://www.myhost.ch/xwiki/wiki-1/http://www.myhost.ch/xwiki/wiki-2/http://www.myhost.ch/xwiki/wiki-3/
All URLs point to same Context.
In addition, could you please quickly explain the usage of
xwiki.base=../../
which can be found in the config file?
thanks a lot
Thomas
-----Original Message-----
From: Ludovic Dubost [mailto:ludovic@xwiki.com]
Sent: Thursday, July 28, 2005 12:00 PM
To: xwiki-users(a)objectweb.org
Subject: Re: [xwiki-users] Create a new instance of Xwiki
Hi,
This is one way of create multiple wikis served from the same servlet engine.
However if you start having over 3 or 4 wikis, this will become a resource hog with many connections open to the database and multiple caches..
The solution is to use real virtual servers. See http://www.xwiki.com/xwiki/bin/view/Doc/HowToSetupVirtualWikis
We could improve a little this documentation.
Ludovic
Lichman, Mark Eugene wrote:
> Hi Cwiki users,
>
> I noticed the instructions for adding another space, unfortunately
> this isn't quite what I needed.
>
> Here are some instuctions for creating a new instance of Xwiki in case
> you'd like to keep two completly separate databases (i.e. searching
> one will not give results for the other). I wasn't quite sure where to put this online.
>
>
> 1 Create a new instance of Xwiki
> # Create a folder with the name of the new Xwiki (i.e. support) in the
> tomcat/webapps folder) # Extract the xwiki war file into this folder #
> In the webinf/hibernate.cfg.xml file
> * modify {code:xml} <property
> name="connection.url">jdbc:mysql://localhost/xwiki</property> {code}
> replacing xwiki with the name of the new database you wish to create #
> create a new database with the same name as in the line above # import
> the sample database located here
> [http://www.xwiki.org/xwiki/bin/view/Main/XWikiDownload] into your new
> database
>
> All set! Go to http://localhost/your_wiki_here/bin/view/Main/WebHome
> to check it out.
>
> Caution, you may wish to modify the index.html file to point to your
> url just in case.
>
>
> ----------------------------------------------------------------------
> --
>
>
> --
> 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
Luis Arias wrote:
> This is probably best in the developers list. Maybe Alexis can give
> you a hand with this. From what I know the user documents *do* have
> to exist in the wiki. But I'm afraid I don't know enough to point
> about the
> dug around a bit in the LDAP service code, and don't see anywhere where
> it creates the xwiki user document, so I'm wondering what I'm missing.
Never mind, I think my glasses were dirty or something =)
com.xpn.xwiki.user.impl.LDAP.LDAPAuthServiceImpl.CreateUserFromLDAP()
Does what I thought should be there. So assuming I model my auth
service on the LDAP one, everything should work - please correct me if
I'm wrong.
Matt
Hi all,
I've noticed that if I delete a class document, xwiki does not delete
the entry from the xwikiclasses table, nor does it delete the properties
asscoiated with that class from the xwikiclassesprop table. Thus when I
recreate the class document, all the old properties are still there. Is
this intentional or a bug?
This all stemmed from me trying to delete a class property (can only do
so with direct db modification), so I was hoping that deleting the class
doc would be a workaround, but doesn't seem to be - unless I'm missing
something ...? I'm still new to xwiki to trying to understand the
relationships between entities. Thanks,
Matt
I'd like to be able to use XWiki with an alternate source for user
authentication and I thought creating my own auth service might do the
trick. However, on further thought, I'm not sure how this would work -
doesn't the XWiki user document still need to exist as a place to store
user settings (e.g email notification plugin stores an object there)? I
dug around a bit in the LDAP service code, and don't see anywhere where
it creates the xwiki user document, so I'm wondering what I'm missing.
I was thinking that maybe it should should auth the user then create the
user doc if it doesn't already exist. I guess the code/pages I have
that register that user could also send a message to xwiki to create the
user, but for LDAP user management clients that may not be possible, so
I must be missing something.
Is there a better way to do auth that I don't know about? Our user data
is in a set of DB tables.
Thanks,
Matt
Hi Cwiki users,
I noticed the instructions for adding another space, unfortunately this isn't
quite what I needed.
Here are some instuctions for creating a new instance of Xwiki in case you'd
like to keep two completly separate databases (i.e. searching one will not give
results for the other). I wasn't quite sure where to put this online.
1 Create a new instance of Xwiki
# Create a folder with the name of the new Xwiki (i.e. support) in the
tomcat/webapps folder)
# Extract the xwiki war file into this folder
# In the webinf/hibernate.cfg.xml file
* modify {code:xml} <property
name="connection.url">jdbc:mysql://localhost/xwiki</property> {code} replacing
xwiki with the name of the new database you wish to create
# create a new database with the same name as in the line above
# import the sample database located here
[http://www.xwiki.org/xwiki/bin/view/Main/XWikiDownload] into your new database
All set! Go to http://localhost/your_wiki_here/bin/view/Main/WebHome to check it
out.
Caution, you may wish to modify the index.html file to point to your url just in
case.
The important thing is that once you have given view rights to the Skin
you are using, you should log out and hit "CTRL-REFRESH" (on IE) or
"Shift-Reload" on Firefox to make sure the skin is setup right even on
the login page..
If this is the case you shouldn't get any problems after login..
Ludovic
Paul Dlug a écrit :
>On 7/8/05, Ludovic Dubost <ludovic(a)xwiki.com> wrote:
>
>
>>This is a known issue that if you make you wiki private you need to give
>>universal rights to the XWiki.MySkin page.
>>
>>Go to the MySkin page and use "More Actions" "Document Access Rights"
>>user: XWiki.XWikiGuest
>>groups: XWiki.XWikiAllGroup
>>allow: Allow
>>type: view
>>
>>
>
>That doesn't seem to fix the issue, now I'm getting rss.css instead of
>style.css.
>
>
>
--
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,
Thierry Grandsart is an intern working on ergonomics for XWiki. He has
been working on studying the different wikis and making some
recommandations on the XWiki interface.
We'd like to include you in giving us feedback about his proposals and
particpating in the discussion around them.
He has started publishing a first sketch of a new interface proposal for
XWiki at
http://www.xwiki.org/xwiki/bin/view/Dev/Ergonomics
Other proposals will follow and will be put up to discussion..
Don't hesitate to comment on the XWiki document or in the JIRA task at
http://jira.xwiki.org/jira/browse/XWIKI-109
Ludovic
--
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,
I'd like to create a forms using XWiki and that my data may be stored into the
database.
Thus I try to create a XWiki Class.
First to test a small example, I just create a Class with the Class Editor
(XWiki/XWikiClasses). I've named my class Main.EssaiClass.
I keep the default configuration.
I added 2 string attributes to the class named "a" and "b".
XWiki.EssaiClass contains the following code :
#set( $class = $doc.name.substring(0,$doc.name.indexOf("Class")))
#set($defaultparent = "XWiki.${class}Class")
#set($defaultweb = "Main")
#includeForm("XWiki.ClassSheet")
XWiki.EssaiClassSheet :
1 Document $doc.name
## Change class name to your class name
#set($class = $doc.getObject("XWiki.EssaiClass").xWikiClass)
<table border="1" cellspacing="0" cellpadding="2">
#foreach($prop in $class.properties)
<tr><td> *${prop.prettyName}* </td>
<td>$doc.display($prop.getName())</td>
</tr>
#end
</table>
XWiki.EssaiClassTemplate :
#includeForm("XWiki.EssaiClassSheet")
Now I can see my class in the ClassEditor. However If Y create a new document
such as Main.TestDoc I can just see the title of the document. No form is
displayed :-(
Did I something wrong ?
Regards
--
Xavier MOGHRABI - Consortium ObjectWeb
Email: xavier.moghrabi at objectweb.org
Phone: +33 4 76 61 52 35 - Skype ID: xavier.moghrabi.bureau
Hi.
Is there any way to include user's comments into RSS feeds? If no - is
there an efficient way for authors to follow comments on their pages?
Richard.
--
"First they ignore you. Then they laugh at you. Then they
fight you. Then you win." - Mohandas Gandhi.
Found a site which uses a nice PERL script to convert html > wiki for various
wiki syntax types. In principle I think it should be easy to modify this to
convert to XWiki syntax, I'll send the modified script when I have time unless
somes else would like to take a crack at it.
http://diberri.dyndns.org/html2wiki.html
It may also be pretty neat to use something simlliar to flow seamlessly from a
html editor to a simple text editor as in seedwiki
http://www.seedwiki.com/wiki/flight_gear/flight_gear.cfm?edit=yes&doc=fligh…
r&wiki=flight_gear&i=23
- Mark Lichman
-----Original Message-----
From: Ludovic Dubost [mailto:ludovic@xwiki.com]
Sent: Tuesday, July 12, 2005 2:35 PM
To: xwiki-users(a)objectweb.org
Subject: Re: [xwiki-users] Wiki Syntax conversion
Not that I know off.. Actually I think for the basic syntax it's
probably easier to work off the MediaWiki syntax
Ludovic
Lichman, Mark Eugene a écrit :
> Ok, so I found a wiki > html parser for MediaWiki, is there a html >
> Xwiki parser?
>
>
> -----Original Message-----
> *From:* Hans Gerwitz [mailto:hans@phobia.com]
> *Sent:* Thursday, July 07, 2005 9:27 PM
> *To:* xwiki-users(a)objectweb.org
> *Subject:* Re: [xwiki-users] Wiki Syntax conversion
>
> I have it easy: SnipSnap's markup is almost identical. It's
> possible that I'll end up producing a generic regexp transformer
> that might be useful to other imports, though.
>
> I'm presently working (sporadically) on a Groovy script that
> parses a SnipSnap XML export into a XWiki space. I will certainly
> share code once I have something worth sharing. ;-)
> - - -
> Hans Gerwitz
> http://phobia.com/
>
>
>
> On Jul 7, 2005, at 1:21 PM, Ludovic Dubost wrote:
>
>
>>
>> Hi Mark,
>>
>> Unfortunately there is nothing yet in this area. I know there was
>> Hans Gerwitz who wanted to work on some importing facility from
>> SnipSnap.
>> It would be interesting to have some common code in this area.
>>
>> If anybody has some work in this area it would be great to share it.
>>
>> Ludovic
>>
>> Lichman, Mark Eugene a écrit :
>>
>>
>>
>>> Is there any conversion script to convert from one style of wiki
>>> syntax to
>>> another?
>>>
>>> I'm currently running a media wiki engine and would like to move
>>> all the content
>>> to Xwiki, unfortunately the wiki syntax is quite different, any
>>> help in this
>>> would be highly appreciated.
>>>
>>> Thanks,
>>>
>>> - Mark
>>>
>>>
>>> ------------------------------------------------------------------------
>>>
>>>
>>> --
>>> 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
>>>
>>>
>>>
>>
>>
>> --
>> 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 <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
>>
>>
>
>
> - - -
> Hans Gerwitz
> http://phobia.com/
>
>
>------------------------------------------------------------------------
>
>
>--
>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
Right, never mind. Found it on
http://www.xwiki.com/xwiki/bin/view/Doc/HowDoIEmbedXwikiCodeAsText
I was missing the backslashes to display the variable.
- Mark
-----Original Message-----
From: Lichman, Mark Eugene
Sent: Tuesday, July 19, 2005 11:36 AM
To: xwiki-users(a)objectweb.org
Subject: [xwiki-users] Syntax for displaying code
How can all code be displayed without being interpereted?
I have tried the {code:xml} {code} tags with some success but, velocity script
still get's interpereted (I have tried documenting in my local wiki that the
line #set($showtoolbar = $xwiki.getWebPreferenceAsInt("showtoolbar",1) == 1 was
commented out from view.vm but, this line does not seem to get displayed in the
wiki at all}.
Thanks,
- Mark Lichman
How can all code be displayed without being interpereted?
I have tried the {code:xml} {code} tags with some success but, velocity script
still get's interpereted (I have tried documenting in my local wiki that the
line #set($showtoolbar = $xwiki.getWebPreferenceAsInt("showtoolbar",1) == 1 was
commented out from view.vm but, this line does not seem to get displayed in the
wiki at all}.
Thanks,
- Mark Lichman
Hi all, I am new to XWiki but already find it the best wiki around, even
compared to big ones such as MediaWiki and MoinMoin, which I have run
before. Congrats!
Well I have a couple quick questions:
- Is there any support (or plans) for XWiki farming? Such as
MediaWiki's feature to use a unique database with prefixed tables?
- Is it possible to change a XWiki's name (the folder under webapps)
after it is installed? How?
- I have messed with access rights and I find it powerful and complex,
but the interface is ankward to use. Also, in some circumstances, I
had to restart Tomcat to make access rights for new users work
correctly. Is that possible?
- What is the correct way to remove a group? Couldn't find that in the docs.
Thank you very much!
Matheus
---------------------------------------------
This message was sent using Endymion MailMan.
http://www.endymion.com/products/mailman/
Is there any way to create users in a batch? I'm facing the need to
create about 150 accounts at once, we have registration turned off
because we want control of the users and we want to choose their
WikiName's for them.
It would also be necessary to put them in groups as a batch also. Is
this problem as simple as just inserting rows directly into the
database or are there other things I need to take into consideration?
Thanks,
Paul
I've copied xwiki-users on this response as this is interesting for any
users..
Richard Akerman a écrit :
>When I try to see a diff of changes in ili2005.xwiki, I get
>
>Error number 13005 in 13: Error while making meta object diff of
>Main.WebHome between version 1.7 and version 1.6 Wrapped Exception:
>null
>
>Also often when I save in scilib.xwiki the save is successful, but it
>displays a lock error instead of the new page (works fine when I
>reload the page).
>
>
>
I fixed this.. there was an issue on our side
>Also:
>- how do I see referrers for ili2005.xwiki?
>
>
There are referers in the default toolbar.. They were deactivated in
yours.. I've put it back on only for admins of the wiki..
>- how do I see stats menu for ili2005.xwiki?
>
>
There was no published stats until I created this page:
http://www.xwiki.com/xwiki/bin/view/Admin/MyStats?wiki=XWiki.XWikiServerIli…http://www.xwiki.com/xwiki/bin/view/Admin/MyStats?wiki=XWiki.XWikiServerSci…
It allows a wiki owner to view the stats of his wiki.. It still needs
some improvement..
Ludovic
--
Ludovic Dubost
XPertNet: http://www.xpertnet.fr/
Blog: http://www.ludovic.org/blog/
XWiki: http://www.xwiki.com
Skype: ldubost AIM: nvludo Yahoo: ludovic
Would something like that work:
http://scilib.xwiki.com/xwiki/bin/view/Main/AllDocs
Concerning "edit", if you just go to edit it doesn't "save". You should
hit "cancel" though as it will release the lock.. A lock holds 30mn
unless you save or release it using cancel.
Ludovic
PS: I've copied xwiki-users(a)objectweb.org because I think this might be
interesting to all users.. These are small scriptlets people could be
working on. Once we are happy with one it could be put as a default page.
PS2: To subscribe to the users list:
http://forge.objectweb.org/project/memberlist.php?group_id=170
Richard Akerman a écrit :
>Is there any way to see all changed pages for XWiki?
>It would look something like e.g.
>
>http://www.libsuccess.org/index.php?title=Special:Recentchanges
>
>Also, if I go to edit a page but make no changes, does it still save
>it as an "edited" page?
>
>
>
--
Ludovic Dubost
XPertNet: http://www.xpertnet.fr/
Blog: http://www.ludovic.org/blog/
XWiki: http://www.xwiki.com
Skype: ldubost AIM: nvludo Yahoo: ludovic
Ok, so I found a wiki > html parser for MediaWiki, is there a html > Xwiki
parser?
-----Original Message-----
From: Hans Gerwitz [mailto:hans@phobia.com]
Sent: Thursday, July 07, 2005 9:27 PM
To: xwiki-users(a)objectweb.org
Subject: Re: [xwiki-users] Wiki Syntax conversion
I have it easy: SnipSnap's markup is almost identical. It's possible that I'll
end up producing a generic regexp transformer that might be useful to other
imports, though.
I'm presently working (sporadically) on a Groovy script that parses a SnipSnap
XML export into a XWiki space. I will certainly share code once I have
something worth sharing. ;-)
- - -
Hans Gerwitz
http://phobia.com/
On Jul 7, 2005, at 1:21 PM, Ludovic Dubost wrote:
Hi Mark,
Unfortunately there is nothing yet in this area. I know there was Hans Gerwitz
who wanted to work on some importing facility from SnipSnap.
It would be interesting to have some common code in this area.
If anybody has some work in this area it would be great to share it.
Ludovic
Lichman, Mark Eugene a écrit :
Is there any conversion script to convert from one style of wiki syntax to
another?
I'm currently running a media wiki engine and would like to move all the content
to Xwiki, unfortunately the wiki syntax is quite different, any help in this
would be highly appreciated.
Thanks,
- Mark
------------------------------------------------------------------------
--
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
- - -
Hans Gerwitz
<http://phobia.com/> http://phobia.com/
As yet, I heven't been able to recreate this. When I clean the content, the link
works properly. I'll try again when I have more time.
-----Original Message-----
From: Ludovic Dubost [mailto:ludovic@xwiki.com]
Sent: Monday, July 11, 2005 3:11 PM
To: xwiki-users(a)objectweb.org
Subject: Re: [xwiki-users] inconsistent behavior of interwiki links
Hi Mark,
Can you provide an example content with some content that creates
multiple links
Ludovic
Lichman, Mark Eugene a écrit :
>Interwiki linking does not seem to have a consistent behavior (by interwiki
>linking I am refering to linking to a page within the same wiki)
>
>In some cases I have witnessed that a link to a page within the wikispace is
>recognized as an existing page, and in others Xwiki interperets the reference
as
>a request to create a new page with a different parent. This has made it
>possible to create multiple pages with the same name if they are created from
>different parent pages (again, this behavior is inconsistent, in some cases the
>link is recognized as an existing page).
>
>This behavior seems to have something to do with adding a table of contents and
>I have now consistently created multiple pages with the same name by adding a
>table of contents to the parent. If there is no table of contents interwiki
>links seem to be recognized correctly.
>
>I am adding table of contents using
>
>#toc ("1" "6" "true")
>
>Is there any solution to this?
>
>- Mark
>
>
>
>------------------------------------------------------------------------
>
>
>--
>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
Interwiki linking does not seem to have a consistent behavior (by interwiki
linking I am refering to linking to a page within the same wiki)
In some cases I have witnessed that a link to a page within the wikispace is
recognized as an existing page, and in others Xwiki interperets the reference as
a request to create a new page with a different parent. This has made it
possible to create multiple pages with the same name if they are created from
different parent pages (again, this behavior is inconsistent, in some cases the
link is recognized as an existing page).
This behavior seems to have something to do with adding a table of contents and
I have now consistently created multiple pages with the same name by adding a
table of contents to the parent. If there is no table of contents interwiki
links seem to be recognized correctly.
I am adding table of contents using
#toc ("1" "6" "true")
Is there any solution to this?
- Mark
On Fri, Jul 08, 2005 at 06:43:06AM -0700, Ludovic Dubost wrote:
>
> Hi,
>
> You need to look for "en.js" in the htmlarea directory recursively and
> create a "pl.js" file.. either you just copy the english version or you
> translate in polish :)
> Ludovic
Well, this doesn't solve the problem, pl.js file is already present in xwiki
0.9.793....
Richard.
>
> Ryszard Lach a écrit :
>
> >htmlarea doesn't work with languages other than "registered" (I mean:
> >available by default), e.g.
> >
> >https://xwiki/xwiki/bin/edit/Main/WebHome?language=pl&xpage=htmlarea
> >
> >opens "regular" editor with html source, instead of WYSIWYG editor.
> >Changing 'pl' to 'en' in url opens HTML editor.
> >
> >How can I fix it?
> >
> >
> >
> >------------------------------------------------------------------------
> >
> >
> >--
> >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
>
--
"First they ignore you. Then they laugh at you. Then they
fight you. Then you win." - Mohandas Gandhi.
I'm having an odd issue I can't seem to pin down. I change permissions
on the wiki so that you must be logged in to view anything. When a
user hits a page they get the login page, they enter their
username/password and instead of being directed back to the page they
were trying to view they get sent to the URL:
http://wiki.myhost.mydomain/xwiki/bin/skin/XWiki/MySkin/style.css
Any ideas or suggestions?
Thanks,
Paul
htmlarea doesn't work with languages other than "registered" (I mean:
available by default), e.g.
https://xwiki/xwiki/bin/edit/Main/WebHome?language=pl&xpage=htmlarea
opens "regular" editor with html source, instead of WYSIWYG editor.
Changing 'pl' to 'en' in url opens HTML editor.
How can I fix it?
--
"First they ignore you. Then they laugh at you. Then they
fight you. Then you win." - Mohandas Gandhi.
On Wed, Jul 06, 2005 at 06:16:43AM -0700, Ludovic Dubost wrote:
>
> I fixed it.. some velocity escaping was need on this page
>
Thanks.
I already noticed, that it was for previous version of default database,
so I didn't found the soultion.
So, maybe someone will be so nice and tell me how can I add 'Edit as
HTML" position to pull-down menu? I see it on xwiki.org, but cannot see
on my xwiki installation.
Richard.
--
"First they ignore you. Then they laugh at you. Then they
fight you. Then you win." - Mohandas Gandhi.
Is there any conversion script to convert from one style of wiki syntax to
another?
I'm currently running a media wiki engine and would like to move all the content
to Xwiki, unfortunately the wiki syntax is quite different, any help in this
would be highly appreciated.
Thanks,
- Mark
Hi.
I'd like to reorganize my knowledge base by moving some documents
between spaces. I've tried to do it mysql query updating:
xwikidoc: xwd_fullname,xwd_web,xwd_parent
xwikistatsdoc: xws_name
xwikiattachment:xwa_doc_id
but it seems it's not enough. Is it too complicated, or it will be ok if
I modify two or three additional tables? If it is possible - what tables
should I update too?
Richard.
--
"First they ignore you. Then they laugh at you. Then they
fight you. Then you win." - Mohandas Gandhi.
Hi.
Is anybody able to write/read any non-latin1 documents in xwiki?
I'm trying with XWiki Version 0.9.793 and a new default database. I'v
changed default values to UTF-8 in:
WEB-INF/xwiki.cfg: xwiki.encoding
WEB-INF/web.xml: init param 'encoding' in 'Set Character Encoding'
filter
XWiki.Preferences -> Presentation: http-equiv meta header
Tomcat 4.1.30 is using JDK 1.4.2, running in locale en_US.
The behaviour is as follows:
1. I'm creating a new document, entering some non-latin1 chars.
2. I can preview, save and edit this document - all works fine
3. I'm restarting tomcat serving xwiki
4. I cannot display the created document - an exception occurs:
$msg.get("problemoccured")
$msg.get("detailedinformation"):
Error number 3202 in 3: Exception while reading document Sandbox.TestTopic1
Wrapped Exception: exception setting property value with CGLIB (set hibernate.cglib.use_reflection_optimizer=false for more info) setter of com.xpn.xwiki.doc.XWikiDocument.setArchive
com.xpn.xwiki.XWikiException: Error number 3202 in 3: Exception while reading document Sandbox.TestTopic1
Wrapped Exception: exception setting property value with CGLIB (set hibernate.cglib.use_reflection_optimizer=false for more info) setter of com.xpn.xwiki.doc.XWikiDocument.setArchive
at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:638)
at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:123)
[...]
Wrapped Exception:
org.hibernate.PropertyAccessException: exception setting property value with CGLIB (set hibernate.cglib.use_reflection_optimizer=false for more info) setter of com.xpn.xwiki.doc.XWikiDocument.setArchive
at org.hibernate.tuple.PojoTuplizer.setPropertyValuesWithOptimizer(PojoTuplizer.java:203)
at org.hibernate.tuple.PojoTuplizer.setPropertyValues(PojoTuplizer.java:173)
at org.hibernate.persister.entity.BasicEntityPersister.setPropertyValues(BasicEntityPersister.java:2900)
at org.hibernate.engine.TwoPhaseLoad.initializeEntity(TwoPhaseLoad.java:113)
at org.hibernate.loader.Loader.initializeEntitiesAndCollections(Loader.java:510)
[...]
Caused by: net.sf.cglib.beans.BulkBeanException: Lexical error at line 36, column 10. Encountered: "\u0142" (322), after : "@\n\n\nSandbox\nTestTopic1\n\nen\n0\nSandbox.WebHome\nXWiki.Admin\n1120562792127\n1120562808542\n1.2\n"
at com.xpn.xwiki.doc.XWikiDocument$$BulkBeanByCGLIB$$9e5f0943.setPropertyValues()
at org.hibernate.tuple.PojoTuplizer.setPropertyValuesWithOptimizer(PojoTuplizer.java:200)
... 63 more
Caused by: org.apache.commons.jrcs.rcs.TokenMgrError: Lexical error at line 36, column 10. Encountered: "\u0142" (322), after : "@\n\n\nSandbox\nTestTopic1\n\nen\n0\nSandbox.WebHome\nXWiki.Admin\n1120562792127\n1120562808542\n1.2\n"
at org.apache.commons.jrcs.rcs.ArchiveParserTokenManager.getNextToken(ArchiveParserTokenManager.java:800)
at org.apache.commons.jrcs.rcs.ArchiveParser.jj_consume_token(ArchiveParser.java:558)
at org.apache.commons.jrcs.rcs.ArchiveParser.text(ArchiveParser.java:429)
at org.apache.commons.jrcs.rcs.ArchiveParser.archive(ArchiveParser.java:102)
at org.apache.commons.jrcs.rcs.ArchiveParser.load(ArchiveParser.java:55)
at org.apache.commons.jrcs.rcs.Archive.(Archive.java:230)
at com.xpn.xwiki.doc.XWikiDocument.setArchive(XWikiDocument.java:475)
... 65 more
When I was using previous version of xwiki (probably with different settings)
all non-latin1 characters were converted into html-entities; If I copy-paste
such a document into this new installation - it looks like it should look, but
newly entered characters appear in database as proper utf-8 characters (which in
my opinion is fine - database is set to utf-8), and probably cannot be properly
read by rendering module.
Does anybody have an idea if I can reconfigure something to make it work?
TIA,
Richard.
--
"First they ignore you. Then they laugh at you. Then they
fight you. Then you win." - Mohandas Gandhi.
Hi all
I have the following error when creating a blog message with xwiki
using UTF-8 encoding:
Error: document.forms.edit['XWiki.ArticleClass_0_title'] has no properties
Source File: http://cwinxwikiutf8:8080/xwiki/bin/inline/Main/PageName?parent=Main.WebHom…
Line: 107
I have search the mailing list and found a similar report on Thu, 14
Apr 2005 by Mathieu Peltier:
>btw, when I use the default form in the left menu to add a new in the blob, I
>get no form where to fill the news but only the field names (Title, Category,
>...) with the following javascript error:
>
>Inline script thread
>Error:
>name: TypeError
>message: Statement on line 4: Expression evaluated to null or undefined and
>is not convertible to Object:
>document.forms.edit["XWiki.ArticleClass_0_title"]
>Backtrace:
> Line 4 of inline#1 script in
>http://localhost:8080/xwiki/bin/inline/Main/PageName?parent=Main.WebHome&te…
> document.forms.edit["XWiki.ArticleClass_0_title"].value = title;
Does anybody has any clue on this?
Thanks.
Patrick Lee
Hi,
I miss information for fixed and fixed bold in xwiki syntax. After I checked the source code I tried =fixed= and ==fixedbold== but it wasn't rendered. Is this a bug or a missing feature?
Hi.
Since there is no interface for adding languages - I have a question
about creating non-english wikis. Should I enter documents leaving their
language as 'en' (and leaving language setting in XWiki.Preferences), or
better change preferences to my language and append 'language=pl' to
newly created documents? I would like to avoid problems with future
upgrades and possible translations.
And another one question: is there a howto about creating translations
of xwiki itself? I would like to create an polish version. I see, that
there is htmlarea/lang/pl.js file, but it contains only few phrases. I
will share my translation, of course.
Richard.
--
"First they ignore you. Then they laugh at you. Then they
fight you. Then you win." - Mohandas Gandhi.
Hi All,
What's the correct way to comment in the wiki docs to avoid all processing?
I couldnt see it in the Wiki syntax.
Both of these dont seem to work correctly <!-- -->, /* */ ?
Thanks.
Duke
Hi Richard,
Current the RSS feed for comments has not been created.. This will need
some scripting..
Email notification would also be possible but by changing the comment
addition page and add some scripting..
You are right about the comment management features, but they will need
to be added..
Same thing for the nofollow which is not yet implemented (though it
should be easy by a skin change)
You might want to add some JIRA tasks for these features..
http://jira.xwiki.org
We might want to put an intern on these features..
Ludovic
PS: I've cross posted to xwiki-users as I believe these responses are
good to share with the user community
Richard Akerman a écrit :
>I would like to be able to get an RSS feed of the comments posted to the wiki.
>Alternatively, I would like to get email notification of new comments.
>It would also be nice if there were easier comment management features
>right on the comments page (deletion etc.)
>
>http://ili2005.xwiki.com/
>
>Also, is the nofollow standard implemented for comment HTML?
>
>http://blog.searchenginewatch.com/blog/050118-204728
>
>
>
--
Ludovic Dubost
XPertNet: http://www.xpertnet.fr/
Blog: http://www.ludovic.org/blog/
XWiki: http://www.xwiki.com
Skype: ldubost AIM: nvludo Yahoo: ludovic
Is there any easy way to change the timestamp format in the rss feed
which gets generated without modifying xwiki source code?
The field
<dc:date>Tue Jun 28 16:31:33 PDT 2005</dc:date>
should have been formatted as per the dateTime spec at
http://www.w3.org/TR/xmlschema-2/#dateTime
The current behavior seems to throw off the date/time sorting in RSS
readers as they just ignore the value.
A SimpleDateFormat conversion has been given here..
http://lists.xml.org/archives/xml-dev/200311/msg00153.html
which uses the format
"yyyy-MM-dd'T'HH:mm:ss,SSS'Z'"
Any thoughts?
-Sudhir
Hello:
I´m using Xwiki and I have read the documentation but I have two questions:
1. I need to dynamically group wiki entries using a wikipedia like category tag. Example:
--- MySpace.Rabbit
[Category: Animals]
On another entry
--- MySpace.Horse
[Category: Animals]
In wikipedia the category tag automatically adds these two entries in the Animals Category. One entry can belong in many categories (which rules out using xwiki spaces. Any tips on implementing this?
2. Im new to portlets and I´m using liferay as a portlet engine. How could I adapt Xwiki as a portlet? It´s listed as a future but I haven´t seen any documentation about it!
Thanks in advance!
Hello:
I�m using Xwiki and I have read the documentation but I have two questions:
1. I need to dynamically group wiki entries using a wikipedia like category tag. Example:
--- MySpace.Rabbit
[Category: Animals]
On another entry
--- MySpace.Horse
[Category: Animals]
In wikipedia the category tag automatically adds these two entries in the Animals Category. One entry can belong in many categories (which rules out using xwiki spaces. Any tips on implementing this?
2. Im new to portlets and I�m using liferay as a portlet engine. How could I adapt Xwiki as a portlet? It�s listed as a future but I haven�t seen any documentation about it!
Thanks in advance!
Hi,
I've protected various spaces in my wiki to be viewed only by
people in the
specified group. To not show the links in the menu, I've included the
links in
an if clause:
#if($xwiki.xWiki.getRightService().hasAccessLevel("view",
$context.getUser(),"Intranet.Main", $context.context))
* [Intranet>Intranet.Main]
#end
This works fine, when I'm viewing the Menu in Main/WebHome, but as
soon as I decend into
Feedback/Main this entry (and all others which are protected) are not
displayed any more.
Is this the correct way to hide a link?
Thanks
Christian van der Leeden
-----------------------------------------
Christian van der Leeden
Mob: +49-163-3747111
Tel: +49-89-189488-66
leeden(a)logicunited.com
Hello
I've got a xwiki installation that contains vietnamese characters encoded in
UTF-8.
I can see the characters without problem in my browser.
However it seems I canno't generate PDF when there are vietnamese characters.
I've got the below exception in Tomcat. You can test it by your self on
http://www.cosgov.org
Best regards
--
Xavier MOGHRABI - Consortium ObjectWeb
Email: xavier.moghrabi at objectweb.org
Phone: +33 4 76 61 52 35 - Skype ID: xavier.moghrabi.bureau
--
line 5 column 1 - Warning: <html> has XML attribute "xml:lang"
line 49 column 316 - Warning: <table> lacks "summary" attribute
line 54 column 1 - Warning: replacing illegal character code 135
10:07:06,335 WARN TP-Processor17
http://www.cosgov.org/xwiki/bin/pdf/Main/WebHome ViewEditAction:execute:239 -
Uncaught exception: Error number 12003 in 12: XSL Transformation Failed
Wrapped Exception: Invalid byte 3 of 3-byte UTF-8 sequence.
com.xpn.xwiki.XWikiException: Error number 12003 in 12: XSL Transformation
Failed
Wrapped Exception: Invalid byte 3 of 3-byte UTF-8 sequence.
at
com.xpn.xwiki.pdf.impl.PdfExportImpl.applyXsl(PdfExportImpl.java:169)
at
com.xpn.xwiki.pdf.impl.PdfExportImpl.convertXHtmlToXMLFO(PdfExportImpl.java:147)
at
com.xpn.xwiki.pdf.impl.PdfExportImpl.exportXHtml(PdfExportImpl.java:79)
at
com.xpn.xwiki.pdf.impl.PdfExportImpl.exportHtml(PdfExportImpl.java:108)
at com.xpn.xwiki.pdf.impl.PdfExportImpl.export(PdfExportImpl.java:122)
at
com.xpn.xwiki.pdf.impl.PdfExportImpl.exportToPDF(PdfExportImpl.java:112)
at com.xpn.xwiki.XWikiService.renderPDF(XWikiService.java:892)
at com.xpn.xwiki.web.ViewEditAction.execute(ViewEditAction.java:168)
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:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:127)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:526)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:526)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at
org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:307)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:385)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:748)
at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:678)
at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:871)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
Wrapped Exception:
java.io.UTFDataFormatException: Invalid byte 3 of 3-byte UTF-8 sequence.
at org.apache.xerces.impl.io.UTF8Reader.invalidByte(Unknown Source)
at org.apache.xerces.impl.io.UTF8Reader.read(Unknown Source)
at org.apache.xerces.impl.XMLEntityScanner.load(Unknown Source)
...
Hi,
I'm trying to protect different sections from my wiki from being
accessed by all
users. I've created a Group IntranetGroup, (so the page XWiki/
IntranetGroup)
and added myself (XWiki.leeden) to the list.
I've modified the space access rights for Intranet.Main to allow
view,edit,comment for all
users in group XWiki.IntranetGroup. But when I access this page as
user leeden
I can't view it (permission denied). If I add the user XWiki.leeden
directly to the
rights entry, it works. (If I use XWiki.XWikiAllGroup it works fine,
too)
How can I check if I've set up the groups all right? Do I need other
permissions for
the XWiki.IntranetGroup? E.g. is there a way to programmatically (by
velocity template?)
or list in the Users listing all groups a user belongs to?
Thanks
Christian
P.S.: Thanks for the help before
-----------------------------------------
Christian van der Leeden
Mob: +49-163-3747111
Tel: +49-89-189488-66
leeden(a)logicunited.com
Hi XWiki users!
I'm happy to announce that the Mandriva Club web site, an online
community of 25000 members sharing their knowledge about the Mandriva
Linux distro is now officially available in beta stage at
http://club-beta.mandriva.com
Read the announcement at
http://club-beta.mandriva.com/xwiki/bin/view/Main/ClubV2BetaLaunch
We've developed minor improvements that we will put to the developer
list very soon.
Kudos and many thanks to XWiki team and to all contributors!
Cheers,
Stéphane
Hello
I don't success to make my xWiki Multi Lingual.
I activated in the XWiki.Preferences, paremeters sections the option
Multi Lingual set to Yes.
Add fr in language section with english like this : "en fr"
But it doesn't add the "fr" language in the home page . I can only see "en".
I modify a page but adding this '?language=fr' to the URL, it modifies the
content for en too.
Do you know what I did wrong ?
--
Xavier MOGHRABI - Consortium ObjectWeb
Email: xavier.moghrabi at objectweb.org
Phone: +33 4 76 61 52 35 - Skype ID: xavier.moghrabi.bureau
Hi,
just took admin rights away from XWiki.Admin (was editing the wrong
access rights entry). So I've just one access rights entry for my
registered
users, but now I can't save any other entries since the admin rights are
missing :-(.
How can I fix this? SQL? :-)
Thanx
Christian
P.S.: I managed for the header attaching a logo...
-----------------------------------------
Christian van der Leeden
Mob: +49-163-3747111
Tel: +49-89-189488-66
leeden(a)logicunited.com
Hi,
just installed xwiki and now I'm trying to figure out how to
customize my skin.
I've found the MySkin skin and had some success editing it.
Now I've edited the header section of the skin and I'm trying to pull
out the
title.gif which I've attached to "MySkin" page.
How can I reference it in the header section?
I've been trying to follow this advice:
http://www.xwiki.com/xwiki/bin/view/Doc/HowToCreateASkin
What is the correct way to go about changing the logo/style?
I've copied the contents of header.vm/footer.vm from the defaults
directory into the fields of MySkin page.
Thanks for a hint
Christian van der Leeden
-----------------------------------------
Christian van der Leeden
Mob: +49-163-3747111
Tel: +49-89-189488-66
leeden(a)logicunited.com
The sample database contains lots of attachments, unused pages, etc. I
would like to be able to set up an xwiki installation with a clean
starting point; ultimately I will need to have my own SQL file to create
multiple virtual xwikis each with the same custom initial state. In
other words, it is not practical for me to manually remove and replace
the sample content. Due to version history each virtual xwiki would be
bloated with all the photos and other sample data.
Has anyone created a minimal database SQL file? I assume it is needed as
I did try running xwiki with an empty database.
If not, any suggestions? Is there a good Hibernate tool that would make
it easier to manually edit the database? (I tried editing the SQL but it
is hard to separate the essential xwiki structure from the sample data.)
Or is there some way to strip all the unused data from the database?
-Trevor
Hello
I've configured in XWikiPreferences the Registration part in order to get mail
when a new user is registered.
I use as SMTP outgoing mail : 127.0.0.1 as the machine is running exim MTA.
But when I register a new user I don't get any email. Does it work ?
Moreover a registered user can not change its email adress in the User page.
--
Xavier MOGHRABI - Consortium ObjectWeb
Email: xavier.moghrabi at objectweb.org
Phone: +33 4 76 61 52 35 - Skype ID: xavier.moghrabi.bureau
If your animation is a flash animation, then you should use the "embed"
or "object" tag..
You should use exactly the HTML you would use in an HTML page..
In the embed or object tag, just refer to the attached file as:
$doc.getAttachmentURL("filename.swf", "download")
For example when I embed flash I do it like that:
#set($flashurl = $doc.getAttachmentURL("myflashfile.swf","download"))
<center>
<OBJECT CLASSID="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" WIDTH="992"
HEIGHT="587"
CODEBASE="http://active.macromedia.com/flash5/cabs/swflash.cab#version=5,0,0,0">
<PARAM NAME=movie VALUE="${flashurl}">
<PARAM NAME=play VALUE=true>
<PARAM NAME=loop VALUE=false>
<PARAM NAME=quality VALUE=low>
<EMBED SRC="${flashurl}" WIDTH=992 HEIGHT=587 quality=low loop=false
TYPE="application/x-shockwave-flash"
PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=Shoc…">
</EMBED>
</OBJECT>
</center>
You might want to add {pre} and {/pre} around your HTML to make sure the
wiki syntax treatments are disabled. In some cases in can garble the HTML.
I might create a specific macro to make it easier to embed flash.. It
seems like a good idea..
Ludovic
Stephen Riolo a écrit :
>Hi i couldn't find any help on this in the tutorial or boards:
>I'm trying to upload a small animation to a new wiki but don't know
>how to get it to display correctly after I attach the file. Tried it
>as animated gif but the gif doesn't animate. Is it possible to
>post/embed a flash movie or html version of a flash movie directly
>into the wiki page (something like {present:flash.swf} instead of an
>image, or {html:\s55k56... etc}) will this animate? does xwiki support
>this sort of content? How about interactive animated content?
>
>
>
--
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
It is possible to have a email notification to notice when somebody has
modified a page in xWiki ?
Regards
--
Xavier MOGHRABI - Consortium ObjectWeb
Email: xavier.moghrabi at objectweb.org
Phone: +33 4 76 61 52 35 - Skype ID: xavier.moghrabi.bureau