Hi Stuart, I changed dsrun line:
java -Xmx256m -classpath $FULLPATH "$@" To /usr/java/jdk1.5.0_11/bin/java -Xmx256m -classpath $FULLPATH "$@" And it's working great now! Thanks! -- Jake Cameron, BCSc(UNB) Technical Specialist III Library Systems and Web Services University of Lethbridge Phone: (403) 329-2756 Office: L1110C Email: [EMAIL PROTECTED] -----Original Message----- From: Stuart Lewis [sdl] [mailto:[EMAIL PROTECTED] Sent: Monday, March 26, 2007 9:01 AM To: Cameron, Jacob; [email protected] Subject: RE: [Dspace-tech] Lucene error Hi Jacob, Have you been able to try running index-all using a Sun JDK rather than the GNU JDK? The following line in your stack trace shows that you are running the GNU version: at java.lang.Class.initializeClass() (/usr/lib/libgcj.so.5.0.0) "Warning: -Xmx256m not understood. Ignoring." also suggests you are not using the Sun JDK. You might need to explicitly define where your Sun JDK is in [dspace]/bin/dsrun Thanks, Stuart _________________________________________________________________ Datblygydd Cymwysiadau'r We Web Applications Developer Gwasanaethau Gwybodaeth Information Services Prifysgol Cymru Aberystwyth University of Wales Aberystwyth E-bost / E-mail: [EMAIL PROTECTED] Ffon / Tel: (01970) 622860 _________________________________________________________________ -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Cameron, Jacob Sent: 26 March 2007 15:51 To: [email protected] Subject: [Dspace-tech] Lucene error Hey everyone, Anyone have any ideas or suggestions on what I can do to stop this error when I run index-all. I'm running JDK1.5.0_11. Creating browse index Warning: -Xmx256m not understood. Ignoring. Indexing all Items in DSpace.... ... Done Creating search index Warning: -Xmx256m not understood. Ignoring. Exception in thread "main" java.lang.IncompatibleClassChangeError: field org.apache.lucene.analysis.standard.StandardFilter.tokenImage was not found. at _Jv_ResolvePoolEntry(java.lang.Class, int) (/usr/lib/libgcj.so.5.0.0) at org.apache.lucene.analysis.standard.StandardFilter.<clinit>() (Unknown Source) at java.lang.Class.initializeClass() (/usr/lib/libgcj.so.5.0.0) at org.dspace.search.DSAnalyzer.tokenStream(java.lang.String, java.io.Reader) (Unknown Source) at org.apache.lucene.index.DocumentWriter.invertDocument(org.apache.lucene. document.Document) (Unknown Source) at org.apache.lucene.index.DocumentWriter.addDocument(java.lang.String, org.apache.lucene.document.Document) (Unknown Source) at org.apache.lucene.index.IndexWriter.addDocument(org.apache.lucene.docume nt.Document, org.apache.lucene.analysis.Analyzer) (Unknown Source) at org.apache.lucene.index.IndexWriter.addDocument(org.apache.lucene.docume nt.Document) (Unknown Source) at org.dspace.search.DSIndexer.writeIndexRecord(org.apache.lucene.index.Ind exWriter, int, java.lang.String, java.util.HashMap, java.lang.String) (Unknown Source) at org.dspace.search.DSIndexer.writeCommunityIndex(org.dspace.core.Context, org.apache.lucene.index.IndexWriter, org.dspace.content.Community) (Unknown Source) at org.dspace.search.DSIndexer.indexAllCommunities(org.dspace.core.Context, org.apache.lucene.index.IndexWriter) (Unknown Source) at org.dspace.search.DSIndexer.createIndex(org.dspace.core.Context) (Unknown Source) at org.dspace.search.DSIndexer.main(java.lang.String[]) (Unknown Source) -- Jake Cameron, BCSc(UNB) Technical Specialist III Library Systems and Web Services University of Lethbridge Phone: (403) 329-2756 Office: L1110C Email: [EMAIL PROTECTED] ------------------------------------------------------------------------ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDE V _______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech

