Dear Lost, tired, bewildered,

Your configuration says you want to do the JDBC configuration:
   database.configurationType=jdbc

But your log file says that Roller is trying to do the JNDI configuration:

INFO  2010-11-21 07:58:48,234 DatabaseProvider:successMessage - SUCCESS: Got
parameters. Using configuration type JNDI_NAME
INFO  2010-11-21 07:58:48,234 DatabaseProvider:successMessage - -- Using
JNDI datasource name: java:comp/env/jdbc/rollerdb
INFO  2010-11-21 07:58:48,234 DatabaseProvider:successMessage - SUCCESS:
located JNDI DataSource [java:comp/env/jdbc/rollerdb]
ERROR 2010-11-21 07:58:48,250 DatabaseProvider:errorMessage - ERROR: unable
to obtain database connection. Likely problem: bad connection parameters or
database unavailable.

I bet the problem is that Roller cannot find your
roller-custom.properties file. How are you making the file available
to Roller? Are  you putting it in the Tomcat classpath or using the
-Droller.custom.config property? Something must be wrong there.

Hope that helps...

- Dave

Reply via email to