I have now got xwiki up and running with Postgresql (the binary version
not svn). I followed instructions to change the database definitions
from int2 to boolean for those fields that are really bits not ints
which I found through google.
I installed the sample data that comes with the ddl statements and
then I came to log on. But the default id (which if I read the docs
right is Admin pw admin) does not work. How do I find out which id
is defined and what its password it, or reset the default admin id
to something I know?
Looking through the file xwiki.pg.dml.sql very near the end there are
some test users, and one for Ludovic Dubost, but of course their
passwords are encrypted (or at least obscured). But there is no Admin
user.
Regards
David
Hi all -
I know I've seen this somewhere but where do you get a list of
registered wiki's for your username??
I need to delete one I just created and cannot find the feature to allow
this.
Also, cannot seem to add a new one to an existing user - I have to
create new users all the time which seems a bit unnecessary?
Brandon Esbach
Software Engineer
M/A-Com Eurotec Operations
LoughMahon Technology Park,
Skehard Road,
Blackrock,
Cork, Ireland
Tel +353 21 4808305
I am trying to install xwiki with postgresql 8.1. The binary version does not
work as it tries to set an int field with a boolean value (or was it the other
way around - I forget).
So I pulled the SVN version in case this had been fixed, and it would seem
that this problem no longer exists, but then I hit another problem, the
schema that the was with the binary version is not right. But in the SVN
version I can not find the new schema. Does anyone have it, or can it be
generated?
Regards
David
Hi.
Can I safely edit templates/viewheader.vm and remove 'isMultiLingual'
condition near inserting 'Edit as HTML' (edithtmlcontent) menu entry? I'd like to have
htmlarea and I don't need multilingual in my private xwiki.
Richard.
--
"First they ignore you. Then they laugh at you. Then they
fight you. Then you win." - Mohandas Gandhi.
Hi all,
I've been playing around with the Dojo javascript toolkit recently. As
a little experiment, I put together a page that interacts with XWiki
objects using Ajax. I kept some notes of my experience so far and
thought they might be of interest to some of you:
http://soal.xwiki.com/xwiki/bin/view/Code/DojoInXWiki .
Cheers,
Robin.
Hi,
I'm glad to announce that xwiki.com has been upgraded with the latest
SVN version which includes major performance enhancements and is also
now setup as a Tomcat cluster.
The wikis that were transfered to the "pro" Java Virtual Machine are not
running in a cluster but their performance should be really good since
the load is limited.
The other wikis are running in cluster mode which should allow higher
availability with an automated JVM restart and load balancing over two
servers.
The performance enhancements are especially geared towards the
versioning system which was costing a lot of CPU especially due to
spamming which is creating hundreds of versions in XWiki documents all
over the wiki farm.
Now with the recent changes, reading and writing documents with hundreds
of version should be much more efficient.
Some areas still need improvements like saving a documents with a high
number of objets or listing all versions of a documents with a high
number of version (the default history page has been limited to 10
versions in order to reduce the load on the wiki farm).
Ludovic
--
Ludovic Dubost
XPertNet: http://www.xpertnet.fr/
Blog: http://www.ludovic.org/blog/
XWiki: http://www.xwiki.com
Skype: ldubost AIM: nvludo Yahoo: ludovic
I'm using:
<property name="hibernate.query.substitutions">true 1, false 0</property>
In my hibernate.cfg.xml successfully when running against an Oracle database (9iR2 or 10g2) and using XWiki version 0.9.840.
Maybe the behaviour is different in the PostgreSQL environment?
JT
-----Original Message-----
From: David Goodenough [mailto:david.goodenough@linkchoose.co.uk]
Sent: Thursday, 3 August 2006 7:22 PM
To: xwiki-users(a)objectweb.org
Subject: Re: [xwiki-users] SQL Schema problem
I tried this, but it does not seem to work. My hibernate.cfg.xml
reads:-
<property name="connection.url">jdbc:postgresql://localhost/xwiki</property>
<property name="connection.username">xwiki</property>
<property name="connection.password">xwiki</property>
<property name="connection.driver_class">org.postgresql.Driver</property>
<property
name="connection.provider_class">com.xpn.xwiki.store.DBCPConnectionProvider</property>
<property name="connection.pool_size">50</property>
<property name="statement_cache.size">50</property>
<property name="dialect">org.hibernate.dialect.PostgreSQLDialect</property>
<property name="hibernate.query.substitutions">true 1, false 0</property>
The precise form of the last tag I got from Chapter 11 of the Hibernate doc at http://www.hibernate.org/hib_docs/reference/en/html/queryhql.html
but I get the error:-
column "xwp_unmodifiable" is of type smallint but expression is of type boolean
This is using the binary version 0.9.840.
Any further ideas?
David
On Wednesday 02 August 2006 22:22, Turner, John wrote:
> You can use the "hibernate.query.substitutions" option in your
> hibernate.cfg.xml configuration file to map boolean values to int
> values.
>
> JT
>
> -----Original Message-----
> From: David Goodenough [mailto:david.goodenough@linkchoose.co.uk]
> Sent: Thursday, 3 August 2006 4:53 AM
> To: xwiki-users(a)objectweb.org
> Subject: [xwiki-users] SQL Schema problem
>
> I am trying to install xwiki with postgresql 8.1. The binary version
> does not work as it tries to set an int field with a boolean value (or
> was it the other way around - I forget).
>
> So I pulled the SVN version in case this had been fixed, and it would
> seem that this problem no longer exists, but then I hit another
> problem, the schema that the was with the binary version is not right.
> But in the SVN version I can not find the new schema. Does anyone
> have it, or can it be generated?
>
> Regards
>
> David
You can use the "hibernate.query.substitutions" option in your
hibernate.cfg.xml configuration file to map boolean values to int
values.
JT
-----Original Message-----
From: David Goodenough [mailto:david.goodenough@linkchoose.co.uk]
Sent: Thursday, 3 August 2006 4:53 AM
To: xwiki-users(a)objectweb.org
Subject: [xwiki-users] SQL Schema problem
I am trying to install xwiki with postgresql 8.1. The binary version
does not work as it tries to set an int field with a boolean value (or
was it the other way around - I forget).
So I pulled the SVN version in case this had been fixed, and it would
seem that this problem no longer exists, but then I hit another problem,
the schema that the was with the binary version is not right. But in
the SVN version I can not find the new schema. Does anyone have it, or
can it be generated?
Regards
David