Re: Concurrent access IndexReader / IndexWriter - FileNotFoundException

2010-01-09 Thread legrand thomas
lSocket.invoke(ChannelSocket.java:773) >     at > org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:703) >     at > org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:895) >     at > org.apache.tomcat.util.threads.Thre

Re: Concurrent access IndexReader / IndexWriter - FileNotFoundException

2010-01-09 Thread Michael McCandless
gt; org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:200) >     at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283) >     at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:773) >     at > org.apache.jk.common.ChannelSocket.p

Re: Concurrent access IndexReader / IndexWriter - FileNotFoundException

2010-01-09 Thread legrand thomas
McCandless a écrit : De: Michael McCandless Objet: Re: Concurrent access IndexReader / IndexWriter - FileNotFoundException À: java-user@lucene.apache.org Date: Samedi 9 Janvier 2010, 14h51 Can you post the full FNFE stack trace? Mike On Fri, Jan 8, 2010 at 5:35 AM, legrand thomas wrote: >

Re: Concurrent access IndexReader / IndexWriter - FileNotFoundException

2010-01-09 Thread Michael McCandless
Can you post the full FNFE stack trace? Mike On Fri, Jan 8, 2010 at 5:35 AM, legrand thomas wrote: > Hi, > > I often get a FileNotFoundException when my single IndexWriter commits while > the IndexReader also tries to read. My application is multithreaded (Tomcat > uses the business APIs); I f

Re: Concurrent access IndexReader / IndexWriter - FileNotFoundException

2010-01-09 Thread legrand thomas
de : Ven 8.1.10, Michael McCandless a écrit : De: Michael McCandless Objet: Re: Concurrent access IndexReader / IndexWriter - FileNotFoundException À: java-user@lucene.apache.org Date: Vendredi 8 Janvier 2010, 13h00 Normally, this (using an IndexReader, [re-]opening a new IndexReader while an Inde

Re: Concurrent access IndexReader / IndexWriter - FileNotFoundException

2010-01-08 Thread Michael McCandless
Normally, this (using an IndexReader, [re-]opening a new IndexReader while an IndexWriter is committing) is perfectly fine. The reader searches the point-in-time snapshot of the index as of when it was opened. But: what filesystem are you using? NFS presents challenges, for example. Mike On Fr