lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ian Lea <ian....@gmail.com>
Subject Re: Test File locks
Date Wed, 26 May 2010 15:53:12 GMT
No answers but some things you could try:

There have been some reports of problems with file paths being
specified in different ways - UNC versus something else perhaps.

Use SimpleFSLockFactory rather than the default native class.

Try a recent version of lucene unless you already are.


--
Ian.

On Tue, May 25, 2010 at 11:43 PM, Spencer Tickner
<spencertickner@gmail.com> wrote:
> Hi Everyone,
>
> Thanks in advance for any help.
>
> I've been building lucene index to a MS Windows Server 2003 test
> environment with no problem. When attempting to build the same index
> onto a Windows Server 2008 machine I get the following error:
>
> Cannot create directory: \\whatever\index
>        at org.apache.lucene.store.NativeFSLockFactory.acquireTestLock(NativeFSLockFactory.java:75)
>        at org.apache.lucene.store.NativeFSLockFactory.makeLock(NativeFSLockFactory.java:142)
>        at org.apache.lucene.store.Directory.makeLock(Directory.java:146)
>        at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:1108)
>        at qp.builder.LibraryBuilder.buildNewLibrary(LibraryBuilder.java:167)
>
> I found some info via google where people were having a similar issue
> now and then, but this is always. Anyone had a similar issue?
>
> Thanks,
>
> Spencer
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message