[greenstone-users] Exception building with Lucene

From Diego Spano
DateWed Jan 14 06:29:40 2009
Subject [greenstone-users] Exception building with Lucene
In-Reply-To (AC6F23A2BA13C347A59BDCBCFF41E27B5CC0C62A73-UFEXCH-MBXCL03-ad-ufl-edu)
Mark,

It looks like you're using the GNU version of Java . Please try downloading
the Sun version of Java
and see if this works better.

Diego Spano

De: greenstone-users-bounces@list.scms.waikato.ac.nz
[mailto:greenstone-users-bounces@list.scms.waikato.ac.nz] En nombre de
Sullivan,Mark
Enviado el: martes, 13 de enero de 2009 14:37
Para: greenstone-users@list.scms.waikato.ac.nz
Asunto: [greenstone-users] Exception building with Lucene

I recently upgraded to Greenstone 2.81 and I am attempting build collections
with Lucene for the first time. I am currently getting the error below and
wonder if anyone can help me figure out what is going on. It appears to go
through the first pass just fine, but then hits a problem.

GreenstoneXMLPlugin: processing UF/07/04/04/82/00002/doc.xml

GreenstoneXMLPlugin: processing UF/07/04/04/82/00003/doc.xml

GreenstoneXMLPlugin: processing UF/07/04/04/82/00004/doc.xml

GreenstoneXMLPlugin: processing UF/07/03/04/88/00001/doc.xml

GreenstoneXMLPlugin: processing UF/07/03/04/89/00001/doc.xml

GreenstoneXMLPlugin: processing UF/07/03/04/89/00002/doc.xml

GreenstoneXMLPlugin: processing UF/07/06/04/81/00001/doc.xml

Stats ( Compressing text from text)

Total bytes in collection: 1664131658

Total bytes in text: 1687795670

*** building index
text;internal.Author;internal.Title;internal.Citation;allfields;dc.Subject;u
fdc.Spatial;ufdc.BibID;ufdc.VID;ufdc.SubCollection;ufdc.SourceCode;ufdc.Hold
ingCode..; at level Doc in subdirectory didx

Creating index dictionary (lucene_passes -I1)

Cmd: perl -S "/opt/gsdl281/bin/script/lucene_passes.pl" -removeold index Doc
"/opt/gsdl281/collect/dloclucene/building" "didx"

ArchivesInfPlugin: processing
/opt/gsdl281/collect/dloclucene/archives/archives.inf

-removeold set

Monitoring for input!

Exception in thread "main" GreenstoneXMLPlugin: processing
CA/00/00/00/05/00001/doc.xml

Java.lang.NoClassDefFoundError:
org.greenstone.LuceneWrapper.GS2LuceneIndedexer

at gnu.java.lang.MainThread.run (libgcj.so.7rh)

Caused by: java.lang.ClassNotFoundException:
org.greenstone.LuceneWrapper.GS2LuceneIndexer not found in
gnu.gcj.runtime.SystemClassLoader{ urls=[],
parent=gnu.gcj.runtime.ExtensionClassLoader{urls=null[], parent=null }}

at java.net.URLCLassLoader.findClass(libgcj.so.7rh)

at gnu.gcj.runtime.SystemClassLoader.findClass(libgcj.so.7rh)

at java.lang.ClassLoader.loadClass(libgcj.so.7rh)

at java.lang.ClassLoader.loadClass(libgcj.so.7rh)

at gnu.java.lang.MainThread.run(libgcj.so.7rh)

GreenstoneXMLPlugin: processing CA/00/00/00/05/00002/doc.xml

GreenstoneXMLPlugin: processing CA/00/00/00/05/00003/doc.xml

GreenstoneXMLPlugin: processing CA/00/00/00/05/00004/doc.xml

And then the process aborts.

In addition, I am using Greenstone just as the searching mechanism, so the
users never really see the items in Greenstone. I have configured the
collection to return the item as XML imbedded in the HTML, but no page
images. Do I really need the following plug ins?

plugin GAPlug

plugin NULPlug

plugin PagedImgPlug

plugin ArcPlug

plugin MetadataXMLPlug

http://www.uflib.ufl.edu/ufdc/

Many thanks for any help you can provide.

Mark Sullivan

Systems Programmer

Digital Library Center

University of Florida Libraries

(352) 273-2900 (w)

(352) 682-9692 (c)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://list.scms.waikato.ac.nz/mailman/private/greenstone-users/attachments/20090113/1a8cea9d/attachment-0001.html