Dave,
Thanks for the info. I solved the problem by putting
database configuration to planet-customer.properties
as you suggested.

I am still not clear on how to set up a community site
from the documentation. It will be very helpful if the
documentation has steps/example on setting up
community site.

I did the following steps but still not sure how to
proceed to get a community site.
1. create a 'frontpage' blog
2. make 'frontpage' as frontpage blog in server admin
section.
3. check 'Enable aggregated site-wide frontpage'
checkbox.

When I get front page of roller, I just see an empty
blog page for 'frontpage' blog. How do I proceed from
here? Any document on how to set up a community site
based on roller blogs?

Thanks in advance for your help,
Steven

--- Dave <[EMAIL PROTECTED]> wrote:

> On Jan 27, 2008 8:55 PM, Steven Dongzhou Liao
> <[EMAIL PROTECTED]> wrote:
> > 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)
> 
> You need to either setup a database at JNDI name
> jdbc/rollerdb, or
> create a planet-custom.properties file with the
> correct JDBC
> connection parameters for your database.
> 
> Check out the release notes, they mention this
> problem:
> http://cwiki.apache.org/confluence/x/fRsB
> 
> - Dave
> 



      
____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 

Reply via email to