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







Reply via email to