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