LockObtainFailedException again.

11 views
Skip to first unread message

Yevgeniy Protsyuk

unread,
Nov 25, 2014, 10:05:54 AM11/25/14
to lucene-a...@googlegroups.com
Hello ! I keep  getting this exception regardless  of the GaeLock is deleted or not. 
looks like the following 
Uncaught exception from servlet javax.servlet.UnavailableException: org.apache.lucene.store.LockObtainFailedException: Lock obtain timed out: com.googlecode.luceneappengine.GaeLockFactory$1@15591c4

I my code I am trying to create an index with one TextField. the TextField is created from a String which I get fro m a txt file. 
Deleting the GaeLock online doesnt help.  


Any suggestions on what I am doing wrong?

Yevgeniy Protsyuk

unread,
Nov 27, 2014, 6:16:29 AM11/27/14
to lucene-a...@googlegroups.com
Actually , the behaviour of the error is a bit different now : when I delete the GaeLock file in the local version - it works for some time until the file is again created. 
With the online version the problem persists regardless if the GaeLock persists. 

Fabio Grucci

unread,
Feb 15, 2015, 11:54:10 AM2/15/15
to lucene-a...@googlegroups.com
Hello, sorry for the late response but recently I had some things to do that brought me far from LAE.

I need more details to check your lock errors, you can check the demo application to understand how to manage the locks.

If yes simply migrating to a newer version should solve your issue.

Thanks for the patience

Reply all
Reply to author
Forward
0 new messages