After search the mailing list archive more extensively I was able to find 
something that worked for me.

I simply deleted the temp file:  
lucene-df0aa24d655351869e985b7372bc1408-write.lock

It seems that lucene must create this file in order to prevent concurrent 
indexing of the data.
Since the indexing occurs whenever something new is created, this seemed to be 
the perfect solution.

My only question now is, how did that file not get deleted in the first place?

Chad
________________________________________
From: [EMAIL PROTECTED] [EMAIL PROTECTED] On Behalf Of Chad Hansen [EMAIL 
PROTECTED]
Sent: Monday, January 28, 2008 3:54 PM
To: [email protected]
Subject: [Dspace-tech] Lock obtain timed out: error

I am doing a fresh_install of dspace 1.4.1. I have followed the installation 
steps and am running into the following problem.

Any time I go to add something, like a new community or collection (these are 
the only things I have tried so far) I get and internal server error screen.
The error message is as follows:

Lock obtain timed out: 
Lock@/srv/www/tomcat5/base/temp/lucene-df0aa24d655351869e985b7372bc1408-write.lock
=============================================
java.io.IOException: Lock obtain timed out: 
Lock@/srv/www/tomcat5/base/temp/lucene-df0aa24d655351869e985b7372bc1408-write.lock
at org.apache.lucene.store.Lock.obtain(Lock.java:56)
at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:254)
at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:204)
at org.dspace.search.DSIndexer.openIndex(DSIndexer.java:286)
at org.dspace.search.DSIndexer.indexContent(DSIndexer.java:92)
at org.dspace.search.DSIndexer.reIndexContent(DSIndexer.java:176)
at org.dspace.content.Community.update(Community.java:441)
at 
org.dspace.app.webui.servlet.admin.EditCommunitiesServlet.processConfirmEditCommunity(EditCommunitiesServlet.java:410)
at 
org.dspace.app.webui.servlet.admin.EditCommunitiesServlet.doDSPost(EditCommunitiesServlet.java:230)...

Any ideas?

Chad


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to