[Yanel-dev] problem re-starting Yanel containing a realm with search lock

Michael Wechner michael.wechner at wyona.com
Mon May 19 10:25:16 CEST 2008


Hi

I have recently noticed the following problem

21420 2008-05-19 11:28:24,992 [http-9290-Processor25] ERROR 
org.wyona.yanel.core.map.RealmManager.readRealms():259  - Error setting 
up realm [yanel-website]: 
/home/ulysses/src/realms/yanel-website/realm.xml: java.lang.Exception: 
Could not configure realm [yanel-website] with config file: 
/home/ulysses/src/realms/yanel-website/realm.xml: 
org.wyona.yarep.core.RepositoryException: Could not create repository: 
yanel-website 
/home/ulysses/src/realms/yanel-website/config/res-config-repository.xml 
Could not read repository configuration: Lock obtain timed out: 
SimpleFSLock@/home/ulysses/src/realms/yanel-website/res-configs-repo/search-index/write.lock
        at org.wyona.yanel.core.map.Realm.<init>(Realm.java:104)
        at 
org.wyona.yanel.core.map.RealmManager.readRealms(RealmManager.java:232)
        at 
org.wyona.yanel.core.map.RealmManager.<init>(RealmManager.java:118)
        at 
org.wyona.yanel.core.map.RealmManager.<init>(RealmManager.java:76)
        at org.wyona.yanel.core.Yanel.init(Yanel.java:80)
        at org.wyona.yanel.servlet.YanelServlet.init(YanelServlet.java:154)


I haven't noticed this before. Is it possible that this is some 
regression of the recent repo changes? That some IndexWriter isn't 
closed properly?

Also maybe http://www.manning-sandbox.com/message.jspa?messageID=39279 helps

Thanks

Michi

-- 
Michael Wechner
Wyona      -   Open Source Content Management - Yanel, Yulup
http://www.wyona.com
michael.wechner at wyona.com, michi at apache.org
+41 44 272 91 61



More information about the Yanel-development mailing list