Howdy.  I hope this is the correct list to be asking this question on.

I have followed this howto:
http://jakarta.apache.org/turbine/tdk/tdk-howto.html

I'm using PostgreSQL database, and I set the following values in my
$TDK_HOME/webapps/newapp/WEB-INF/build/build.properties file:

database = postgresql
databaseDriver = org.postgresql.Driver
databaseUrl = jdbc:pgsql://localhost/newapp
databaseUser = postgres
databasePassword = something
databaseHost = localhost

torque.database.name = newapp
torque.database.manualCreation = false
torque.database.driver = org.postgresql.Driver
torque.database.createUrl = jdbc:postgresql://localhost/newapp
torque.database.buildUrl = jdbc:postgresql://localhost/newapp
torque.database.user = postgres
torque.database.password = something

Then, following the howto, I $ ant init.  That fails, but if I first create
the database newapp, ant init seems to work.

Here's the problem:
After starting the server ($TDK_HOME/bin/catalina.sh run), I try to log in as
turbine/turbine.  I get the following error:

java.lang.Error: Error in BasePeer.initTableSchema(TURBINE_USER): No suitable
driver at org.apache.torque.util.BasePeer.initTableSchema(BasePeer.java:250)
at org.apache.torque.util.BasePeer.initTableSchema(BasePeer.java:225) at
org.apache.turbine.om.security.peer.TurbineUserPeer.(TurbineUserPeer.java:170)
at
org.apache.turbine.services.security.db.DBUserManager.retrieve(DBUserManager.java:153)
at
org.apache.turbine.services.security.db.DBUserManager.retrieve(DBUserManager.java:241)
at
org.apache.turbine.services.security.BaseSecurityService.getAuthenticatedUser(BaseSecurityService.java:308)
at
org.apache.turbine.services.security.TurbineSecurity.getAuthenticatedUser(TurbineSecurity.java:194)
at org.apache.turbine.modules.actions.LoginUser.doPerform(LoginUser.java:111)
at org.apache.turbine.modules.Action.perform(Action.java:87) at
...

I haven't found any specific reference elsewhere on the internet about that
error in the context of BasePeer.initTableSchema().

Thanks for any help.

Michael Teter


__________________________________
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com

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

Reply via email to