You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@roller.apache.org by Steve McCain <s....@Bradford.ac.uk> on 2008/05/21 16:44:27 UTC

Planet initialization failing

I'm using Roller 4.0 on Tomcat 6.0.16 with MySQL 5.0.45
(database called 'roller').

I'm trying to turn on Planet aggregation as per the instructions
in the Installation Guide, section 9.

I'm get a status 500 error (java.lang.IllegalStateException: Roller
Planet has not been bootstrapped yet) when I click on the
'Planet Administration' link on my 'Main Menu' page.

In roller.log I can see that Roller is starting fine - it is reading
my roller-custom.properties fine which has database.configurationType set
to jdbc. But in the PlanetConfig section I get 'no custom properties file
found in classpath' and the start-up then defaults to using a config type of
jndi and a default database of 'java:comp/env/jdbc/rollerdb' and
fails to connect to this. Hence I think Planet fails to initialize.

Anyone any idea why the Planet start-up fails to use the 
roller-custom.properties
file that the WebLogger initialization has already found?

thanks

Steve

Re: Planet initialization failing

Posted by Steve McCain <s....@Bradford.ac.uk>.
Allen,

many thanks for the information. I created planet-custom.properties as a 
straight
copy of my roller-custom.properties and Planet is starting-up fine now.

Steve


Allen Gilliland wrote:
> yes, that is because the Planet aggregator is a plugin and uses its 
> own configuration file.  You just need to create 
> planet-custom.properties file in the same place that you have your 
> roller-custom.properties file and set any relevant properties.
>
> The database configuration properties happen to be the same, so you 
> can copy what you have out of your roller-custom.properties file.  You 
> should also set the feed cache property to somewhere on your 
> filesystem ...
>
> cache.dir=/some/path/planet_data/feed-cache
>
> -- Allen
>
>
> Steve McCain wrote:
>> I'm using Roller 4.0 on Tomcat 6.0.16 with MySQL 5.0.45
>> (database called 'roller').
>>
>> I'm trying to turn on Planet aggregation as per the instructions
>> in the Installation Guide, section 9.
>>
>> I'm get a status 500 error (java.lang.IllegalStateException: Roller
>> Planet has not been bootstrapped yet) when I click on the
>> 'Planet Administration' link on my 'Main Menu' page.
>>
>> In roller.log I can see that Roller is starting fine - it is reading
>> my roller-custom.properties fine which has database.configurationType 
>> set
>> to jdbc. But in the PlanetConfig section I get 'no custom properties 
>> file
>> found in classpath' and the start-up then defaults to using a config 
>> type of
>> jndi and a default database of 'java:comp/env/jdbc/rollerdb' and
>> fails to connect to this. Hence I think Planet fails to initialize.
>>
>> Anyone any idea why the Planet start-up fails to use the 
>> roller-custom.properties
>> file that the WebLogger initialization has already found?
>>
>> thanks
>>
>> Steve
>


Re: Planet initialization failing

Posted by Allen Gilliland <Al...@Sun.COM>.
yes, that is because the Planet aggregator is a plugin and uses its own 
configuration file.  You just need to create planet-custom.properties 
file in the same place that you have your roller-custom.properties file 
and set any relevant properties.

The database configuration properties happen to be the same, so you can 
copy what you have out of your roller-custom.properties file.  You 
should also set the feed cache property to somewhere on your filesystem ...

cache.dir=/some/path/planet_data/feed-cache

-- Allen


Steve McCain wrote:
> I'm using Roller 4.0 on Tomcat 6.0.16 with MySQL 5.0.45
> (database called 'roller').
> 
> I'm trying to turn on Planet aggregation as per the instructions
> in the Installation Guide, section 9.
> 
> I'm get a status 500 error (java.lang.IllegalStateException: Roller
> Planet has not been bootstrapped yet) when I click on the
> 'Planet Administration' link on my 'Main Menu' page.
> 
> In roller.log I can see that Roller is starting fine - it is reading
> my roller-custom.properties fine which has database.configurationType set
> to jdbc. But in the PlanetConfig section I get 'no custom properties file
> found in classpath' and the start-up then defaults to using a config 
> type of
> jndi and a default database of 'java:comp/env/jdbc/rollerdb' and
> fails to connect to this. Hence I think Planet fails to initialize.
> 
> Anyone any idea why the Planet start-up fails to use the 
> roller-custom.properties
> file that the WebLogger initialization has already found?
> 
> thanks
> 
> Steve