RE: Lucene Error : java.io.FileNotFoundException

2008-07-04 Thread John Griffin
et on the JBoss forum and with luck someone will know what else you need to replace. John G. -Original Message- From: yugana [mailto:[EMAIL PROTECTED] Sent: Friday, July 04, 2008 4:12 AM To: java-user@lucene.apache.org Subject: Re: Lucene Error : java.io.FileNotFoundException I see

Re: Lucene Error : java.io.FileNotFoundException

2008-07-04 Thread Michael McCandless
I'm not familiar with JBoss' error output, but, maybe this is telling you your version of HIbernate is also old (ie depends on Lucene 1.4)? Mike yugana wrote: I see a JAR file at D:\jboss-portal-2.6.5.GA\server\default\deploy\jboss-portal.sar \portal-cms.sar\lib . when I tried to replac

Re: Lucene Error : java.io.FileNotFoundException

2008-07-04 Thread yugana
I see a JAR file at D:\jboss-portal-2.6.5.GA\server\default\deploy\jboss-portal.sar\portal-cms.sar\lib . when I tried to replace this JAR with the new JAR file, I get the following errors while restarting the JBoss server. 11:50:10,046 ERROR [URLDeploymentScanner] Incomplete Deployment listing:

Re: Lucene Error : java.io.FileNotFoundException

2008-07-04 Thread Michael McCandless
Are you getting exactly the same error (same source files and exact same line numbers)? If so, somehow a Lucene 1.4 JAR is still sneaking in. Lucene 1.4 won't be able to read an index created by Lucene 2.3. You'll see exactly that FileNotFoundException because newer versions of Lucene

Re: Lucene Error : java.io.FileNotFoundException

2008-07-03 Thread yugana
I have checked all the jars and tried replacing with the same versions. Still I get the same error. Please let me know what else to check. yug Michael McCandless-2 wrote: > > > It looks like under JBoss you are accidentally using Lucene 1.4, not > 2.3.2. > > Mike > > yugana wrote: > >> >

Re: Lucene Error : java.io.FileNotFoundException

2008-07-03 Thread Michael McCandless
It looks like under JBoss you are accidentally using Lucene 1.4, not 2.3.2. Mike yugana wrote: Hi, I am indexing content and searching using lucene. It is working fine when I use the simple servlet and jsp mechanism. I am able to search on the indexed content. I tried to implement th

Re: Lucene Error : java.io.FileNotFoundException

2008-07-02 Thread yugana
I haven't set the path in the configuration file. I have hardcoded the locations. //the directory that stores html files private final String dataDir = "d:\\dataDir"; //the directory that is used to store lucene index private final String indexDir = "d:\\indexDir"; saikrishna

Re: Lucene Error : java.io.FileNotFoundException

2008-07-02 Thread saikrishna venkata pendyala
Please check the path set for lucene-index in configuration file. On Thu, Jul 3, 2008 at 10:11 AM, yugana <[EMAIL PROTECTED]> wrote: > > Hi, > > I am indexing content and searching using lucene. It is working fine when I > use the simple servlet and jsp mechanism. I am able to search on the > ind