lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Don Vaillancourt <d...@webimpact.com>
Subject Re: Lucene Error
Date Fri, 25 Jun 2004 18:34:14 GMT
Hello,

Someone replied to me off-list and suggested to me the same thing and it 
did resolve the problem.

Thanks

At 12:37 PM 25/06/2004, you wrote:
>Hello Don,
>
>I've never seen this, and I'm pretty sure it's not really Lucene's
>fault.  Lucene is aware only of segments/files listed in segments file.
>  Could it have anything to do with that ColdFusion code that wraps
>Lucene by any chance?
>
>Regardless, it's probably not the best practise to store non-Lucene
>files in a Lucene index directory.  I suggest you store that log
>elsewhere, and avoid any issues that way. :)
>
>Otis
>
>--- Don Vaillancourt <donv@webimpact.com> wrote:
> > Hello All,
> >
> > I'm using Lucene to build collections from ColdFusion which I've got
> > working pretty good so far.  But I am getting the following exception
> > for
> > some reason that I can't understand and never used to get before.
> >
> > Below is the stack trace for that error.  Lucene is telling me that
> > it
> > cannot delete a file named 'query_1088174609733.log' which I create
> > in the
> > same folder as the Lucene collections.  I don't understand why Lucene
> > is
> > trying to delete this file.  I have verified that I am creating a new
> >
> > collection and not updating an existing one.
> >
> > Anyone have any ideas.
> >
> > Thanks
> >
> > java.io.IOException: couldn&apos;t delete query_1088174609733.log
> >          at
> > org.apache.lucene.store.FSDirectory.create(FSDirectory.java:166)
> >          at
> > org.apache.lucene.store.FSDirectory.<init>(FSDirectory.java:151)
> >          at
> >
>org.apache.lucene.store.FSDirectory.getDirectory(FSDirectory.java:132)
> >          at
> > org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:160)
> >          at Index.getIndexWriter(Index.java:154)
> >          at Index.update(Index.java:83)
> >          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> > Method)
> >          at
> >
>sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> >          at
> >
>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> >          at java.lang.reflect.Method.invoke(Method.java:324)
> >          at coldfusion.runtime.StructBean.invoke(StructBean.java:326)
> >          at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:1650)
> >          at
> >
>cfindex2ecfm778374439.runPage(C:\Inetpub\wwwroot\prism\prism376\Lucene\index.cfm:58)
> >          at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:147)
> >          at
> > coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:357)
> >          at
> > coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:62)
> >          at
> >
>coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:107)
> >          at coldfusion.filter.PathFilter.invoke(PathFilter.java:80)
> >          at
> > coldfusion.filter.LicenseFilter.invoke(LicenseFilter.java:24)
> >          at
> > coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:47)
> >          at
> >
>coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28)
> >          at
> > coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:35)
> >          at
> > coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:43)
> >          at
> > coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
> >          at coldfusion.CfmServlet.service(CfmServlet.java:105)
> >          at
> > jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91)
> >          at
> > jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
> >          at
> >
>jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:252)
> >          at
> >
>jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:527)
> >          at
> >
>jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:192)
> >          at
> >
>jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:348)
> >          at
> >
>jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:451)
> >          at
> >
>jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:294)
> >          at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
> >
> >
> >
> >
> >
> >
> > Don Vaillancourt
> > Director of Software Development
> >
> > WEB IMPACT INC.
> > 416-815-2000 ext. 245
> > email: donv@web-impact.com
> > web: http://www.web-impact.com
> >
> >
> >
> >
> > This email message is intended only for the addressee(s)
> > and contains information that may be confidential and/or
> > copyright.  If you are not the intended recipient please
> > notify the sender by reply email and immediately delete
> > this email. Use, disclosure or reproduction of this email
> > by anyone other than the intended recipient(s) is strictly
> > prohibited. No representation is made that this email or
> > any attachments are free of viruses. Virus scanning is
> > recommended and is the responsibility of the recipient.
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: lucene-user-help@jakarta.apache.org

Don Vaillancourt
Director of Software Development

WEB IMPACT INC.
416-815-2000 ext. 245
email: donv@web-impact.com
web: http://www.web-impact.com




This email message is intended only for the addressee(s)
and contains information that may be confidential and/or
copyright.  If you are not the intended recipient please
notify the sender by reply email and immediately delete
this email. Use, disclosure or reproduction of this email
by anyone other than the intended recipient(s) is strictly
prohibited. No representation is made that this email or
any attachments are free of viruses. Virus scanning is
recommended and is the responsibility of the recipient.












Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message