You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@roller.apache.org by koji lin <ko...@netlab.cse.yzu.edu.tw> on 2005/11/25 16:28:25 UTC
Re: about daily tasks
Sorry for really late reply...
i have upgrade to roller 2.0 today...and it still have the same
problem, i have try to turn on all the tasks in the config file.
and it shows :
INFO 2005-11-25 23:09:21,054 RollerContext:setupScheduledTasks -
Setting hourly
task: org.roller.presentation.planet.RefreshEntriesTask
INFO 2005-11-25 23:09:21,062 RollerContext:setupScheduledTasks -
Setting daily
task: org.roller.presentation.TurnoverReferersTask
INFO 2005-11-25 23:09:21,067 RollerContext:setupScheduledTasks -
Setting daily
task: org.roller.presentation.BlacklistUpdateTask
INFO 2005-11-25 23:09:21,072 RollerContext:setupScheduledTasks -
Setting daily
task: org.roller.presentation.planet.SyncWebsitesTask
but i cant find the blacklist.txt refreshed.
and there is something wrong in parsing task from
PlanetManagerImpl:refreshEntries
ERROR 2005-11-25 23:21:51,519 SyncWebsitesTask:rankSubscriptions - ERROR
ranking
subscriptions
java.lang.NullPointerException
at java.io.Reader.<init>(Reader.java:61)
at java.io.InputStreamReader.<init>(InputStreamReader.java:55)
at org.roller.util.Technorati.<init>(Technorati.java:55)
at org.roller.util.Technorati.<init>(Technorati.java:60)
at
org.roller.presentation.planet.SyncWebsitesTask.rankSubscriptions(Syn
cWebsitesTask.java:170)
at
org.roller.presentation.planet.SyncWebsitesTask.run(SyncWebsitesTask.
java:54)
at
EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(Unknown So
urce)
at java.lang.Thread.run(Thread.java:534)
thanks
koji
Dave Johnson wrote:
> You might want to setup DEBUG level logging on the classes mentioned
> in the config. You can do that in WEB-INF/classes/log4j.properties.
>
> Please post the portion of your config file where you setup the tasks
> so we can verify that you got the properties right.
>
> - Dave
>
>
> On Oct 3, 2005, at 1:02 PM, koji lin wrote:
>
>> dear all
>> i have set the daily task in the WEB-INF/classes/roller.proerties, but
>> it looks like there is not any task run after starting.
>> ex:BlacklistUpdateTask, TurnoverReferersTask, any task..
>>
>> and there isnt any error messages...
>>
>> is there any suggestion? thanks...
>>
>> sincerely
>>
>> koji
>>
>
--
sincerely,
Kang-Sze Lin(koji),
Network Lab.
Dept. of Computer Science and Engineering
Yuan-Ze University.
Re: about daily tasks
Posted by Dave Johnson <da...@rollerweblogger.org>.
On Nov 25, 2005, at 10:28 AM, koji lin wrote:
> Sorry for really late reply...
> i have upgrade to roller 2.0 today...and it still have the same
> problem, i have try to turn on all the tasks in the config file.
> and it shows :
> INFO 2005-11-25 23:09:21,054 RollerContext:setupScheduledTasks -
> Setting hourly
> task: org.roller.presentation.planet.RefreshEntriesTask
> INFO 2005-11-25 23:09:21,062 RollerContext:setupScheduledTasks -
> Setting daily
> task: org.roller.presentation.TurnoverReferersTask
> INFO 2005-11-25 23:09:21,067 RollerContext:setupScheduledTasks -
> Setting daily
> task: org.roller.presentation.BlacklistUpdateTask
> INFO 2005-11-25 23:09:21,072 RollerContext:setupScheduledTasks -
> Setting daily
> task: org.roller.presentation.planet.SyncWebsitesTask
>
> but i cant find the blacklist.txt refreshed.
The MT blacklist service has been discontinued. So, there's no sense in
running the Blacklist update task.
> and there is something wrong in parsing task from
> PlanetManagerImpl:refreshEntries
> ERROR 2005-11-25 23:21:51,519 SyncWebsitesTask:rankSubscriptions -
> ERROR ranking
> subscriptions
> java.lang.NullPointerException
> at java.io.Reader.<init>(Reader.java:61)
> at java.io.InputStreamReader.<init>(InputStreamReader.java:55)
> at org.roller.util.Technorati.<init>(Technorati.java:55)
> at org.roller.util.Technorati.<init>(Technorati.java:60)
> at
> org.roller.presentation.planet.SyncWebsitesTask.rankSubscriptions(Syn
> cWebsitesTask.java:170)
> at
> org.roller.presentation.planet.SyncWebsitesTask.run(SyncWebsitesTask.
> java:54)
> at
> EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(Unknown So
> urce)
> at java.lang.Thread.run(Thread.java:534)
That means that you don't have a valid technorati license in your
classpath, despite that errors message the SyncWebsitesTask should
still synchronize websites with the aggregator (i.e. ensure that every
Roller blog in the system is present in the aggegator).
If you want Technorati rankings to work, you can get a Technorati
license from technorati.com in the developer's section (it's free).
Place the license in a file called technorati.license and put it in
WEB-INF/classes.
- Dave