roller-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave <snoopd...@gmail.com>
Subject Re: tags doesn't work (Roller 5.0.0-RC2)
Date Thu, 30 Sep 2010 15:34:03 GMT
I can't reproduce this problem in my dev environment or on my blog
(e.g. http://rollerweblogger.org/roller/tags/java).

- Dave



On Sun, Sep 26, 2010 at 4:01 AM, æon <aeon.lancer@gmail.com> wrote:
> Ok, I deleted the directory. Now "C:/roller_data/" doesn't exist.
>
> I did restart Tomcat service and I deleted browser history (cache,
> cookies, history, etc.).
>
> I tried again and it still throws 404 when clicking a tag link. :\
>
> What's next?
>
> :D
>
> Enrique Fuenzalida
> http://www.individual.cl/
>
>
>
>
> On Fri, Sep 24, 2010 at 4:37 PM, Dave <snoopdave@gmail.com> wrote:
>> With 5.0 you should be able to delete the index directory or the
>> contents of the index directory and Roller will reindex. And stop
>> bringing up Liferay! ;-)
>>
>> See also https://issues.apache.org/jira/browse/ROL-1876
>>
>> - Dave
>>
>>
>> On Thu, Sep 23, 2010 at 8:38 AM, Nicolas Muller
>> <n.muller@nouvellemarque.com> wrote:
>>> You should be able to delete the dir and rebuild the index though UI.
>>> Liferay ;) as the same problem. They catch the exception and rebuild
>>> indexes.
>>>
>>> Best regards
>>> Nicolas
>>>
>>> -----Message d'origine-----
>>> De : Olivier [mailto:wijngaar@gmail.com]
>>> Envoyé : jeudi 23 septembre 2010 14:14
>>> À : user@roller.apache.org
>>> Objet : Re: tags doesn't work (Roller 5.0.0-RC2)
>>>
>>> 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.beginW
>>> riting(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.ja
>>> va:886)
>>>        at
>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:9
>>> 08)
>>>        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.lancer@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/
>>>>
>>>
>>>
>>
>

Mime
View raw message