David Bloom ha scritto:
I have gone thru this recently and the documentation has a few issues.
Yes, you need a planet-custom properties file like mentioned above.
also...
1) It should be RefreshRollerPlanetTask not RefreshPlanetRollerTask
2) The installation guide says the planet cache directory property is
named planet.aggregator.cache.dir, but the planet.properties file
looks like it uses cache.dir
3) I set up a blog which i called aggregator which I give a theme of
roller front page...
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))
## The below pager code should work against either
Thank you to you and Ries, now somethings is working (I have my jdbs
setting also in planet-custom.properties)
http://localhost/roller/planetrss works, now I must work on the front page.
Thank you againt
Edoardo
On Dec 17, 2007 9:28 AM, ries van Twisk <[EMAIL PROTECTED]> wrote:
Hey Eduardo,
you need to create a planet-custom.properties file
and put your JNDI data in there, similar what you have in roller-
customer.properties.
The only the you need for planet as I understand in roller-
custom.properties
is the line planet.aggregator.enabled=true.
Ries
On Dec 17, 2007, at 9:22 AM, Edoardo Panfili wrote:
Good morning,
I have Roller4 installed on my system, it works correctly and I can
insert posts.
Now I'd like to have planet working on my system.
This is my settings (copy from manual)
-------------------------------------------------------
planet.aggregator.cache.dir=/var/cache/roller/planetcache
planet.aggregator.enabled=true
# Tasks which are enabled. Only tasks listed here will be run.
tasks.enabled=ScheduledEntriesTask,ResetHitCountsTask,\
TurnoverReferersTask
,PingQueueTask,RefreshPlanetRollerTask,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
-------------------------------------------------------
but planet raises errors,
-------------------------------------------------------
INFO 2007-12-17 15:01:12,312 PlanetConfig:<clinit> - no custom
properties file specified via jvm option
INFO 2007-12-17 15:01:12,312 DatabaseProvider:successMessage -
SUCCESS: Got parameters. Using configuration type JNDI_NAME
INFO 2007-12-17 15:01:12,313 DatabaseProvider:successMessage - --
Using JNDI datasource name: java:comp/env/jdbc/rollerdb
INFO 2007-12-17 15:01:12,314 DatabaseProvider:successMessage -
SUCCESS: located JNDI DataSource [java:comp/env/jdbc/rollerdb]
ERROR 2007-12-17 15:01:12,315 DatabaseProvider:errorMessage - ERROR:
unable to obtain database connection. Likely problem: bad connection
parameters or dat
abase unavailable.
FATAL 2007-12-17 15:01:12,317 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 datab
ase unavailable.
-------------------------------------------------------
I can't figure why the problem is with the db connection, if I put a
'#' before the planet setting all works.
the /var/cache/roller/planetcache is now drwxrwxrwx
thank you
Edoardo
--
Jabber: [EMAIL PROTECTED]
tel: 075 9142766
--
Ries van Twisk
Freelance TYPO3 Developer
email: [EMAIL PROTECTED]
web: http://www.rvantwisk.nl/
skype: callto://r.vantwisk
Phone: + 1 810-476-4193
--
Jabber: [EMAIL PROTECTED]
tel: 075 9142766