Greg Lopp on 30 Sep 2004 18:19:03 -0000 |
Aaron Crosman wrote: 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. What, were you thinking that because it was java it would be magicly cleaner and easier than everything else? Silly man. Of course it is just as messy as everything else in the IT universe....at least wrt to the problems you are seeing which are how it fits into the rest of the universe. Not to worry. We'll get you through this. There are a number of ways to determine whether tomcat is working. First, does "ps axf" indicate that there are java processes running. Second, does "netstat -tlp" indicate that you have a java process listening on a tcp port. The port number will be something like 8080 or 8180, depending upon your version of Tomcat. The port number and just about everything else is configured in a server.xml file (/etc/tomcat ?)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). Different locations for different versions, or are some of those simply symlinks? I've never used yast or Suse, but I would guess the you have one installation with 5 more and less specific access names.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"Traditional" only works within a given distribution. I suggest pointing it towards the most current/specific access name (/usr/lib/j2sdk1.4.2_03/ or /usr/lib/SunJava2-1.4.2) and seeing how far that gets you.
|
|