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