You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@roller.apache.org by Imam Indra Prayudi <im...@meruvian.org> on 2007/12/24 04:16:33 UTC

PlanetRSS bootstrap problem

hi all

i want to setup the aggregator

and i just copy paste the properties from installation guide

but the error show up, and said bootstrap is not set well

any idea to handle or debug this

F

Re: PlanetRSS bootstrap problem

Posted by Dave <sn...@gmail.com>.
Thanks for the write-up. One small note below...


On Dec 23, 2007 10:33 PM, David Bloom <ya...@gmail.com> wrote:
> Copied from Previous thread....
>
> 1- the planet blog _must_ be the frontpage blog (this is not optional as
> I thought)
> 2- enable "Enable aggregated site-wide frontpage" (this is on by default)

That's true because the Installation Guide tells you to put the
PlanetModel in the 'rendering.siteModels' list.

If you want Planet aggregations to be available to all blogs you can
put the model in the 'rendering.pageModels' list.

Or, if you are an admin user the you can add the PlanetModel to
individual blogs via the blog's Preferences->Settings page.


- Dave

Re: PlanetRSS bootstrap problem

Posted by David Bloom <ya...@gmail.com>.
Copied from Previous thread....

1- the planet blog _must_ be the frontpage blog (this is not optional as
I thought).

2- enable "Enable aggregated site-wide frontpage" (this is on by default)

3- in roller-custom.properties
planet.aggregator.enabled=true
planet.aggregator.cache.dir=/var/cache/roller/planetcache
planet.aggregator.guice.module=\
org.apache.roller.weblogger.planet.business.jpa.RollerPlanetModule

# Tasks which are enabled. Only tasks listed here will be run.
tasks.enabled=ScheduledEntriesTask,ResetHitCountsTask,\
TurnoverReferersTask,PingQueueTask,RefreshRollerPlanetTask,SyncWebsitesTask
# Set of page models specifically for site-wide rendering
rendering.siteModels=\
org.apache.roller.weblogger.ui.rendering.model.SiteModel,\
org.apache.roller.weblogger.ui.rendering.model.PlanetModel

4- in planet-custom.properties
database.configurationType=jdbc
database.jdbc.driverClass=org.postgresql.Driver
database.jdbc.connectionURL=jdbc:postgresql://127.0.0.1:5432/rollerdb
database.jdbc.username=uname
database.jdbc.password=pwd

5- create a custom weblog template cloning frontpage, change two lines
in Weblog.vm (cange also <id> and <name> in theme.xml):
## 1) SITE-WIDE entries (the default)
##set($pager = $site.getWeblogEntriesPager($since, $maxResults))
## 2) PLANET-entries
#set($pager = $planet.getAggregationPager($since, $maxResults))
## The below pager code should work against either

On Dec 23, 2007 10:16 PM, Imam Indra Prayudi <im...@meruvian.org> wrote:
> hi all
>
> i want to setup the aggregator
>
> and i just copy paste the properties from installation guide
>
> but the error show up, and said bootstrap is not set well
>
> any idea to handle or debug this
>
> F
>