3 Replies Latest reply on Aug 19, 2004 4:30 PM by milesparker

    Time out in index writer...

      java.io.IOException: Lock obtain timed out
      at org.apache.lucene.store.Lock.obtain(Lock.java:97)
      at org.apache.lucene.index.IndexWriter.(IndexWriter.java:173)
      at org.apache.lucene.index.IndexWriter.(IndexWriter.java:160)
      at org.jboss.nukes.core.modules.index.Index.getWriter(Index.java:344)
      at org.jboss.nukes.core.modules.index.Index.access$400(Index.java:38)
      at org.jboss.nukes.core.modules.index.Index$WriterTask.run(Index.java:53
      5)
      at EDU.oswego.cs.dl.util.concurrent.QueuedExecutor$RunLoop.run(QueuedExe
      cutor.java:88)
      at java.lang.Thread.run(Thread.java:534)

      This happens regularly upon nukes deployment -- I am especially wondering if there is anyway this might be contributing to problems I've been having uploading larger files.

        • 1. Re: Time out in index writer...


          Anyone have any idea what is going on here?

          This is very frustrating, because now that I have built the funcitonality to upload a directory stucture I cannot upload any large files. Even relativly small files (600+K) have difficulties. :-(

          • 2. Re: Time out in index writer...

            it's not related I think.

            to upload larger file, this must be tweaked on the CoreModule which has an value that limits the file uploaded size.

            julien

            • 3. Re: Time out in index writer...


              I tried changing that value (MaxUploadSize) to a very large value -- but after experimenting it appears that this is the problem. I had it at 80MB. For whatever reason hanging it back to a lower value worked for smaller (600k) files. I am going to try it on intermediate sized files now, but it looks like very large files won't work.