I am having problem to set up roller in Planet mode. I use jdbc for
configuration type. It works when planet.aggregator.enabled is false. After I
enable planet, I got the following error. It seems that Roller is trying to use
jndi to connect to database. Any idea how to set it up correctly?
INFO 2008-01-27 17:46:16,437 PlanetConfig:<clinit> - successfully loaded
default properties.
INFO 2008-01-27 17:46:16,437 PlanetConfig:<clinit> - no custom properties file
found in classpath
INFO 2008-01-27 17:46:16,437 PlanetConfig:<clinit> - no custom properties file
specified via jvm option
INFO 2008-01-27 17:46:16,437 DatabaseProvider:successMessage - SUCCESS: Got
parameters. Using configuration type JNDI_NAME
INFO 2008-01-27 17:46:16,437 DatabaseProvider:successMessage - -- Using JNDI
datasource name: java:comp/env/jdbc/rollerdb
INFO 2008-01-27 17:46:16,437 DatabaseProvider:successMessage - SUCCESS:
located JNDI DataSource [java:comp/env/jdbc/rollerdb]
ERROR 2008-01-27 17:46:16,437 DatabaseProvider:errorMessage - ERROR: unable to
obtain database connection. Likely problem: bad connection parameters or
database unavailable.
FATAL 2008-01-27 17:46:16,437 RollerContext:contextInitialized - Roller Planet
startup failed during app preparation
org.apache.roller.planet.business.startup.StartupException: ERROR: unable to
obtain database connection. Likely problem: bad connection parameters or
database unavailable.
at
org.apache.roller.planet.business.DatabaseProvider.<init>(DatabaseProvider.java:147)
____________________________________________________________________________________
Looking for last minute shopping deals?
Find them fast with Yahoo! Search.
http://tools.search.yahoo.com/newsearch/category.php?category=shopping