On May 3, 2004, at 2:27 AM, Michael Muller wrote:




Hi all,

I've just installed jetspeed-1.5 and it works quite well!

But I've a problem:
I cannot have more than 4 users.
When I add the add user form it seems as it would have added it, but the
new user is not in the database!!!
(I'm using MySql to store the user.)
Same thing for the group browser and roles: I cannot have more than 3
groups and 4 roles,
But then a message error appears:
"Entity Name Already Exists. Please choose another unique, identifying
name."


I watched at the logs, nothing abnormal ...


Does someone have an idea where the problem comes from? Is there any parameter to change?


Whenever I change Jetspeed to use another database, I follow these steps:


1. Edit project.properties (or your $HOME build.properties), change these properties:

database
torque.database.url
torque.database.driver
torque.database.user

2. Edit webapp/WEB-INF/conf/Torque.properties

torque.database.default=
torque.dsfactory.default.connection.driver
torque.dsfactory.default.connection.url
torque.dsfactory.default.connection.user
torque.dsfactory.default.connection.password

3. Rebuild the WAR (or distribution) -- REQUIRES downloading the source

4. When distributing, make sure you have the new database driver in the App Server's class loader path

I know it seems like a major PITA to download and build the portal just to change database drivers.
In fact there is some disagreement as to whether this is necessary or not for all databases.
From my experience, it is required with Oracle. The default system's Torque bindings are generated for Hypersonic SQL.
Torque generates binding files (the Peer files) specific to a database backend implementation, which I find to be generally problematic.
In contrast OJB does not require recompile when you change the target database.


Noticed that the documentation doesn't really cover changing to another database very well.
The FAQ briefly covers it, but I believe it is misleading in that it doesn't inform the user to rebuild the source.
I will update the documentation to require the steps above; unless someone disagrees with these requirements ....



-- David Sean Taylor Bluesunrise Software [EMAIL PROTECTED] [office] +01 707 773-4646 [mobile] +01 707 529 9194



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to