You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@roller.apache.org by Crick Opinion <cr...@yahoo.com> on 2008/04/25 06:43:23 UTC

Planet Config

Hi Gurus,

I know this topic has been discussed for Roller 4.0. I think, I need a little more hand holding with this.

First of all, I have copied my roller-custom.properties to planet-custom.properties - except that planet-custom.properties use "cache.dir" instead of planet.aggregator.cache.dir

My planet properties are as follows:
cache.dir=<points to a cache dir>
planet.aggregator.enabled=true
tasks.enabled=ScheduledEntriesTask,\
TurnoverReferersTask,PingQueueTask,RefreshRollerPlanetTask,SyncWebsitesTask

rendering.siteModels=\
org.apache.roller.weblogger.ui.rendering.model.SiteModel,\
org.apache.roller.weblogger.ui.rendering.model.PlanetModel

Frontpage Weblog.vm template is changed as follows:
My weblog template now has
## 1) SITE-WIDE entries (the default)
##set($pager = $site.getWeblogEntriesPager($since, $maxResults))
## 2) PLANET-entries
#set($pager = $planet.getAggregationPager($since, $maxResults))

I still do not see any blogs. Instead, if I change it SITE-WIDE, I can see locally published blogs.

roller.log has the following lines:
INFO  2008-04-24 21:35:37,886 ThreadManagerImpl:initialize - Initializing task: ScheduledEntriesTask
INFO  2008-04-24 21:35:37,923 ThreadManagerImpl:initialize - Initializing task: TurnoverReferersTask
INFO  2008-04-24 21:35:37,927 ThreadManagerImpl:initialize - Initializing task: PingQueueTask
INFO  2008-04-24 21:35:37,932 ThreadManagerImpl:initialize - Initializing task: RefreshRollerPlanetTask
INFO  2008-04-24 21:35:37,937 ThreadManagerImpl:initialize - Initializing task: SyncWebsitesTask
INFO  2008-04-24 21:35:37,974 WebloggerImpl:initialize - Roller Weblogger business tier successfully initialized
INFO  2008-04-24 21:35:37,979 PlanetConfig:<clinit> - successfully loaded default properties.
INFO  2008-04-24 21:35:37,980 PlanetConfig:<clinit> - successfully loaded custom properties file from classpath
INFO  2008-04-24 21:35:37,981 PlanetConfig:<clinit> - no custom properties file specified via jvm option

Is the last line pointing to a missing custom property files?

I'll appreciate any and all the help to enable planet config,

-CO
## The below pager code should work against either







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