[jsword-devel] jsword-devel Digest, Vol 46, Issue 15
Yiguang Hu
yighu at yahoo.com
Fri Mar 28 15:59:37 MST 2008
Thanks Peter.
I unzipped AB.zip under /root/.sword and I can see the
book name show up on my book selection drop down list.
But when I use that book for search I got the
following semiliar error in the tomcat log. The
directory /root/.jsword/lucene/Sword/AB is empty.
Any input would be appreciated.
Thanks
Yiguang
INFO: second load failure
java.io.FileNotFoundException: no segments* file found
in
org.apache.lucene.store.FSDirectory@/root/.jsword/lucene/Sword/AB:
files:
at
org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:516)
at
org.apache.lucene.index.IndexReader.open(IndexReader.java:185)
at
org.apache.lucene.index.IndexReader.open(IndexReader.java:148)
at
org.apache.lucene.search.IndexSearcher.<init>(IndexSearcher.java:48)
at
org.crosswire.jsword.index.lucene.LuceneIndex.activate(LuceneIndex.java:303)
at
org.crosswire.common.activate.Activator.activate(Activator.java:57)
at
org.crosswire.jsword.index.lucene.LuceneIndex.checkActive(LuceneIndex.java:338)
at
org.crosswire.jsword.index.lucene.LuceneIndex.find(LuceneIndex.java:200)
at
org.crosswire.jsword.index.query.BaseQuery.find(BaseQuery.java:53)
at
org.crosswire.jsword.index.lucene.LuceneSearcher.search(LuceneSearcher.java:86)
at
org.crosswire.jsword.index.lucene.LuceneSearcher.search(LuceneSearcher.java:76)
at
org.crosswire.jsword.book.basic.AbstractBook.find(AbstractBook.java:116)
at
org.crosswire.jsword.book.basic.AbstractBook.find(AbstractBook.java:96)
at
org.crosswire.client.webjsword.SearchController.searchandshow(SearchController.java:243)
at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
--- jsword-devel-request at crosswire.org wrote:
> Send jsword-devel mailing list submissions to
> jsword-devel at crosswire.org
>
> To subscribe or unsubscribe via the World Wide Web,
> visit
>
>
http://www.crosswire.org/mailman/listinfo/jsword-devel
> or, via email, send a message with subject or body
> 'help' to
> jsword-devel-request at crosswire.org
>
> You can reach the person managing the list at
> jsword-devel-owner at crosswire.org
>
> When replying, please edit your Subject line so it
> is more specific
> than "Re: Contents of jsword-devel digest..."
>
>
> Today's Topics:
>
> 1. Re: jsword-devel Digest, Vol 46, Issue 12
> (peter)
>
>
>
----------------------------------------------------------------------
>
> Message: 1
> Date: Fri, 28 Mar 2008 08:47:00 +0000
> From: peter <refdoc at gmx.net>
> Subject: Re: [jsword-devel] jsword-devel Digest, Vol
> 46, Issue 12
> To: J-Sword Developers Mailing List
> <jsword-devel at crosswire.org>
> Message-ID: <47ECB084.50701 at gmx.net>
> Content-Type: text/plain; charset=UTF-8
>
> Bible modules in Linux are in one of two p;laces
> normally
>
> /home/$USER/.sword
>
> or
>
> /usr/share/sword
>
>
> You can simply unzip a module in place and the next
> time jsword or
> libsword is called it will "know" that there is a
> new module.
>
> Peter
>
> DM Smith wrote:
> > Yiguang,
> > I'm on holiday this week and have limited internet
> connectivity. When I
> > get home, I'll take a look at your problem.
> > In Him,
> > DM
> >
> > Yiguang Hu wrote:
> >> I would really appreciate if some one could help
> me
> >> out here. My intention is to build a web front
> based
> >> on jsword (similar to sword web, I may try to
> modify
> >> sword web to make it work with jsword if that
> would be
> >> easier). My question is how to install Bible on
> linux
> >> without using the Bibledesktop since I don't have
> a
> >> xwindow on the linux (the machie is remote) and I
> >> don't have a xemulator on my desktop either. So
> that
> >> the web application based on jsword could access
> the
> >> bible/book modules.
> >> Thanks
> >> Yiguang
> >>
> >>
> >>> I looked the tomcat log file and found the
> >>> following.
> >>> I check the folders /root/.jsword/lucene/Sword/*
> >>> and found all of them are empty.
> >>>
> >>> Is there any configuration file I should look
> at?
> >>> Do I need to download the bible module files
> and
> >>> put
> >>> it somewhere like the sword web?
> >>>
> >>> Thanks
> >>> Yiguang
> >>>
> >>> Mar 22, 2008 3:54:10 PM
> >>> org.apache.catalina.startup.Catalina start
> >>> INFO: Server startup in 2814 ms
> >>> Mar 22, 2008 3:54:32 PM
> >>> org.crosswire.jsword.index.lucene.LuceneIndex
> >>> activate
> >>> INFO: second load failure
> >>> java.io.FileNotFoundException: no segments* file
> >>> found
> >>> in
> >>>
> >>>
> >>
>
org.apache.lucene.store.FSDirectory@/root/.jsword/lucene/Sword/KJV:
> >>
> >>> files:
> >>> at
> >>>
> >>>
> >>
>
org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:516)
> >>
> >>> at
> >>>
> >>>
> >>
>
org.apache.lucene.index.IndexReader.open(IndexReader.java:185)
> >>
> >>> at
> >>>
> >>>
> >>
>
org.apache.lucene.index.IndexReader.open(IndexReader.java:148)
> >>
> >>> at
> >>>
> >>>
> >>
>
org.apache.lucene.search.IndexSearcher.<init>(IndexSearcher.java:48)
> >>
> >>> at
> >>>
> >>>
> >>
>
org.crosswire.jsword.index.lucene.LuceneIndex.activate(LuceneIndex.java:303)
> >>
> >>> at
> >>>
> >>>
> >>
>
org.crosswire.common.activate.Activator.activate(Activator.java:57)
> >>
> >>> at
> >>>
> >>>
> >>
>
org.crosswire.jsword.index.lucene.LuceneIndex.checkActive(LuceneIndex.java:338)
> >>
> >>> at
> >>>
> >>>
> >>
>
org.crosswire.jsword.index.lucene.LuceneIndex.find(LuceneIndex.java:200)
> >>
> >>> at
> >>>
> >>>
> >>
>
org.crosswire.jsword.index.query.BaseQuery.find(BaseQuery.java:53)
> >>
> >>> at
> >>>
> >>>
> >>
>
org.crosswire.jsword.index.lucene.LuceneSearcher.search(LuceneSearcher.java:86)
> >>
> >>> at
> >>>
> >>>
> >>
>
org.crosswire.jsword.index.lucene.LuceneSearcher.search(LuceneSearcher.java:76)
> >>
> >>> at
> >>>
> >>>
> >>
>
org.crosswire.jsword.book.basic.AbstractBook.find(AbstractBook.java:116)
> >>
> >>> at
> >>>
> >>>
> >>
>
org.crosswire.jsword.book.basic.AbstractBook.find(AbstractBook.java:96)
> >>
> >>> at
> >>>
> >>>
> >>
>
org.crosswire.client.webjsword.SearchController.searchandshow(SearchController.java:242)
> >>
> >>> at
>
=== message truncated ===
____________________________________________________________________________________
OMG, Sweet deal for Yahoo! users/friends:Get A Month of Blockbuster Total Access, No Cost. W00t
http://tc.deals.yahoo.com/tc/blockbuster/text2.com
More information about the jsword-devel
mailing list