Aaron Crosman on 30 Sep 2004 17:52:01 -0000

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[PLUG] Java/Tomcat/Lucene

Over the last few days I have managed to prove to myself that everything
I thought I knew about using Java in the real world is wrong.  Now I'm
confused and I need some guidance here.

I'm trying to setup Lucene (part of Apache's Jakarta project) to setup a
search engine for one of our sites.  So far it's not going well.  Per
the suggestion of the Lucene docs I started by setting up Tomcat.  Since
I use SuSE YaST made that a fairly painless process, and after a little
tweaking of the configuration it seems to be running (although I'm not
really sure).  I then tried to follow the Lucene quick start directions,
and I'm not getting anywhere.  SuSE seems to have installed java in no
less then 5 places (/usr/lib/java/, /usr/lib/j2sdk1.4.2_03/,
/usr/lib/SunJava2, /usr/lib/SunJava2-1.4, /usr/lib/SunJava2-1.4.2) this
seems bad, but maybe I'm just missing something about this.  What I need
to find is the CLASSPATH for java.  Is there a traditional place that
this should be set to.  The Tomcat start script is designed to set one,
but it's blank by default, so I'm not sure where I should point it.

Ideas/Thoughts/Suggested documentation are all welcome.  I'm rather
confused about how this should work ever since I noticed the multiple
copies of Java kicking around.

Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug