quick follow-up:

I see that the docs say Lucene 3.0 for H2 1.3, so I've migrated up.

But I am still getting the error about Lock obtain time-out


Thu Apr 07 02:21:42 EDT 2011
java.sql.SQLException: Error while indexing document
at org.h2.fulltext.FullTextLucene.convertException(FullTextLucene.java:230)
    at org.h2.fulltext.FullTextLucene.init(FullTextLucene.java:113)
    at org.h2.fulltext.FullTextLucene.reindex(FullTextLucene.java:149)
at com.hsi.trains.ReIndexLucene.main(ReIndexLucene.java:23) <--------------my code
Caused by: java.sql.SQLException: Error while indexing document
at org.h2.fulltext.FullTextLucene.convertException(FullTextLucene.java:230) at org.h2.fulltext.FullTextLucene.getIndexAccess(FullTextLucene.java:292)
    at org.h2.fulltext.FullTextLucene.init(FullTextLucene.java:111)
    ... 2 more
Caused by: org.apache.lucene.store.LockObtainFailedException: Lock obtain timed out: NativeFSLock@C:\Users\Clinton Hyde\mag-db\write.lock
    at org.apache.lucene.store.Lock.obtain(Lock.java:84)
    at org.apache.lucene.index.IndexWriter.init(IndexWriter.java:1060)
    at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:882)
at org.h2.fulltext.FullTextLucene.getIndexAccess(FullTextLucene.java:282)
    ... 3 more



I have upgraded by the server and my client app to H2 153 and Lucene 3.0

 -- clint

--
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/h2-database?hl=en.

Reply via email to