Results 1 to 1 of 1
Thread: Write.lock issue
- 04-19-2012, 06:55 AM #1
Member
- Join Date
- Apr 2012
- Posts
- 1
- Rep Power
- 0
Write.lock issue
I am stuck with some issue related to Write.lock file.
During the Typeahead index creation, the program had to be stopped in between.
After that, whenever I am trying to zip/extract the index directory, I am getting the following exception:-
org.apache.lucene.store.LockReleaseFailedException : failed to delete C:\GM CS Workspace\GM_CS_INT_New\lucene-publisher\output\d837acdb-95a0-4d25-80d7-48874363e3f8\typeahead\1\typeahead\1\indexmain\wri te.lock
or
java.util.zip.ZipException: error in opening zip file
There is an IoException Occured :java.util.zip.ZipException: error in opening zip file
In the log file, the following exception is logged:-
Error while attempting to zip files, exception is java.io.IOException: The process cannot access the file because another process has locked a portion of the file
So far, I have tried :-
System restart
Manually removing the Write.lock file in the output/guid folder
Manually deleting the Write.lock file in the Users/Tmp folder
Please let me know what I can do about it.
Though it is not affecting the creation of indexes.
Similar Threads
-
Lock a folder
By nchouhan15@gmail.com in forum New To JavaReplies: 4Last Post: 03-13-2012, 08:33 AM -
Beginner trying to write Java code, has issue w/ printing result and 2 decimals
By flpanthers1 in forum New To JavaReplies: 8Last Post: 06-06-2011, 02:27 AM -
Efficient Read/Write Lock
By ClickerMonkey in forum Threads and SynchronizationReplies: 2Last Post: 01-07-2011, 06:09 AM -
Text Box Lock Up
By Indegon in forum New To JavaReplies: 6Last Post: 11-12-2010, 01:17 AM -
lock a file
By flaca in forum New To JavaReplies: 3Last Post: 08-19-2008, 03:00 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks