Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 26734 invoked from network); 29 Aug 2009 11:01:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 29 Aug 2009 11:01:31 -0000 Received: (qmail 70456 invoked by uid 500); 29 Aug 2009 11:01:29 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 70385 invoked by uid 500); 29 Aug 2009 11:01:29 -0000 Mailing-List: contact java-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-user@lucene.apache.org Delivered-To: mailing list java-user@lucene.apache.org Received: (qmail 70375 invoked by uid 99); 29 Aug 2009 11:01:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 29 Aug 2009 11:01:29 +0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [208.97.132.81] (HELO spunkymail-a13.g.dreamhost.com) (208.97.132.81) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 29 Aug 2009 11:01:19 +0000 Received: from [10.0.0.128] (adsl-065-013-152-164.sip.rdu.bellsouth.net [65.13.152.164]) by spunkymail-a13.g.dreamhost.com (Postfix) with ESMTP id 3EDED129B28 for ; Sat, 29 Aug 2009 04:00:58 -0700 (PDT) Message-Id: <695C6352-5CCC-4603-9211-0C931448529E@apache.org> From: Grant Ingersoll To: java-user@lucene.apache.org In-Reply-To: <1500883127.20471251474454677.JavaMail.root@mail.uk.scalix.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Subject: Re: New "Stream closed" exception with Java 6 Date: Sat, 29 Aug 2009 07:00:57 -0400 References: <1500883127.20471251474454677.JavaMail.root@mail.uk.scalix.com> X-Mailer: Apple Mail (2.936) X-Virus-Checked: Checked by ClamAV on apache.org I think you code there needs to show the underlying exception, too, so we can see that stack trace. -Grant On Aug 28, 2009, at 11:47 AM, Chris Bamford wrote: > Hi Grant > > Please see attached. > > Thanks, > > - Chris > > > ----- Original Message ----- > From: Grant Ingersoll > Sent: Fri, 28/8/2009 1:26pm > To: java-user@lucene.apache.org > Subject: Re: New "Stream closed" exception with Java 6 > > Are there any log messages around that spot? Did something happen to > the underlying Reader you are using? Can you share that little bit of > indexing code? > > On Aug 27, 2009, at 10:11 AM, Chris Bamford wrote: > >> Hi, >> >> Since moving our app to Java 6 and Tomcat 6, we have started getting >> occasional exceptions of the form: >> >> java.io.IOException: Stream closed >> at sun.nio.cs.StreamDecoder.ensureOpen(Unknown Source) >> at sun.nio.cs.StreamDecoder.read(Unknown Source) >> at java.io.InputStreamReader.read(Unknown Source) >> at >> org >> .apache >> .lucene >> .analysis >> .standard.StandardTokenizerImpl.zzRefill(StandardTokenizerImpl.java: >> 443) >> at >> org >> .apache >> .lucene >> .analysis >> .standard >> .StandardTokenizerImpl.getNextToken(StandardTokenizerImpl.java:629) >> at >> org >> .apache >> .lucene >> .analysis.standard.StandardTokenizer.next(StandardTokenizer.java:140) >> at >> org >> .apache >> .lucene.analysis.standard.StandardFilter.next(StandardFilter.java:43) >> at >> org.apache.lucene.analysis.LowerCaseFilter.next(LowerCaseFilter.java: >> 34) >> at >> org >> .apache >> .lucene.analysis.snowball.SnowballFilter.next(SnowballFilter.java:64) >> at >> org >> .apache >> .lucene >> .index.DocInverterPerField.processFields(DocInverterPerField.java: >> 134) >> at >> org >> .apache >> .lucene >> .index >> .DocFieldConsumersPerField >> .processFields(DocFieldConsumersPerField.java:36) >> at >> org >> .apache >> .lucene >> .index >> .DocFieldProcessorPerThread >> .processDocument(DocFieldProcessorPerThread.java:234) >> at >> org >> .apache >> .lucene.index.DocumentsWriter.updateDocument(DocumentsWriter.java: >> 765) >> at >> org >> .apache >> .lucene.index.DocumentsWriter.addDocument(DocumentsWriter.java:743) >> at >> org.apache.lucene.index.IndexWriter.addDocument(IndexWriter.java: >> 1902) >> at >> org.apache.lucene.index.IndexWriter.addDocument(IndexWriter.java: >> 1880) >> at >> com >> .scalix >> .index.manager.BatchUpdater.performContentAdds(BatchUpdater.java:386) >> at >> com.scalix.index.manager.BatchUpdater.processMods(BatchUpdater.java: >> 176) >> at >> com.scalix.index.manager.QueueManager.processQueue(QueueManager.java: >> 134) >> at com.scalix.index.manager.QueueManager.run(QueueManager.java:81) >> at java.lang.Thread.run(Unknown Source) >> >> We are using Lucene 2.4. Any ideas what is happening? >> >> Thanks! >> >> - Chris >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org >> For additional commands, e-mail: java-user-help@lucene.apache.org >> > > -------------------------- > Grant Ingersoll > http://www.lucidimagination.com/ > > Search the Lucene ecosystem (Lucene/Solr/Nutch/Mahout/Tika/Droids) > using Solr/Lucene: > http://www.lucidimagination.com/search > > > --------------------------------------------------------------------- > 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 -------------------------- Grant Ingersoll http://www.lucidimagination.com/ Search the Lucene ecosystem (Lucene/Solr/Nutch/Mahout/Tika/Droids) using Solr/Lucene: http://www.lucidimagination.com/search --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org