I have this issue in 5.0rc1. I found this exception in my logs:
ERROR 2010-09-14 09:19:03,406 IndexOperation:beginWriting - ERROR creating
writer
java.io.IOException: Cannot create directory:
/home/dave/roller_data/search-index
        at
org.apache.lucene.store.SimpleFSLock.obtain(SimpleFSLockFactory.java:118)
        at org.apache.lucene.store.Lock.obtain(Lock.java:73)
        at org.apache.lucene.index.IndexWriter.init(IndexWriter.java:1538)
        at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:1095)
        at
org.apache.roller.weblogger.business.search.operations.IndexOperation.beginWriting(IndexOperation.java:205)
        at
org.apache.roller.weblogger.business.search.operations.ReIndexEntryOperation.doRun(ReIndexEntryOperation.java:89)
        at
org.apache.roller.weblogger.business.search.operations.WriteToIndexOperation.run(WriteToIndexOperation.java:42)
        at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
        at
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:619)

Dave replied:
Make sure you set your search index dir property and it points to a
directory that exists. The default value is
'${user.home}/roller_data/search-index'.

Not sure what that means. I didn't override a property like that.

Rgrds, Olivier


2010/9/22 æon <aeon.lan...@gmail.com>

> I added a tag cloud to the weblog template:
>
> #set($mytags = $model.weblog.getPopularTags(-1, 30))
> #foreach ($tag in $mytags)
> <a class="tag s${tag.intensity}" href="$url.tag($tag.name)"
> title="$tag.count">
> $tag.name
> </a>
> #end
>
> But when clicking a tag, the 404 error page appear
>
> !Lo sentimos! No se ha podido encontrar su documento (404)
> Status Code 404
> Message
> Type
> Exception El fichero que solicitó no se pudo encontrar en este servidor.
>
>
>
> Enrique Fuenzalida M.
> http://www.individual.cl/
>

Reply via email to