lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Srinivas Vadrevu (JIRA)" <j...@apache.org>
Subject [jira] Created: (LUCENENET-21) Problem with FSDirectory.SetDisableLocks
Date Sat, 07 Oct 2006 22:07:19 GMT
Problem with FSDirectory.SetDisableLocks
----------------------------------------

                 Key: LUCENENET-21
                 URL: http://issues.apache.org/jira/browse/LUCENENET-21
             Project: Lucene.Net
          Issue Type: Bug
         Environment: XP Pro, Visual Studio.NET
            Reporter: Srinivas Vadrevu


When I try to execute the method SetDisableLocks in the local machine, it works fine, but
when I deploy to my hosting directory, it throws the following exception:

The type initializer for 'Lucene.Net.Store.FSDirectory' threw an exception.
at Lucene.Net.Store.FSDirectory.SetDisableLocks(Boolean doDisableLocks) at RadioSaiIndexer.search(String
queryString) in d:\hosting\svadrevu\sse\App_Code\RadioSaiIndexer.cs:line 75
IndexPath=d:\hosting\svadrevu\sse\App_Data\tftdindex

I think it has something to do with the lock directory and write permissions.  I had similar
problem, when i didn't disable locks, as it is trying to write outside the application directory.
 But now I cannot even disable locks as it is throwing an exception.  Can anyone please help
with this issue?

Thanks a bunch,
Sree.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message