Thanks for the reply... Java -version shows this:
java version "1.4.2" gij (GNU libgcj) version 4.1.2 20070626 (Red Hat 4.1.2-14) I used all pre-built packages hoping that they would do the trick ;) I updated the tomcat startup script with the proper JAVA_HOME and now I get: [EMAIL PROTECTED] rc3.d]# /etc/rc3.d/K20tomcat5 start Starting tomcat5: /usr/bin/rebuild-jar-repository: error: Could not find jdbc-stdext Java extension for this JVM /usr/bin/rebuild-jar-repository: error: Could not find jndi Java extension for this JVM /usr/bin/rebuild-jar-repository: error: Some detected jars were not found for this jvm /usr/bin/rebuild-jar-repository: error: Could not find jaas Java extension for this JVM /usr/bin/rebuild-jar-repository: error: Some detected jars were not found for this jvm [ OK ] I know it's not Nutch specific so appreciate the patience here... Paul -----Original Message----- From: Martin Kuen [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 29, 2008 12:16 PM To: nutch-user@lucene.apache.org Subject: Re: New Installation - Problems - Error 500 Hi, if you type "java -version" in your shell the shell will output the java version you are using. I assume the output will refer to to gcj not to the sun-jdk. You should change your environment variables or create the necassary ones. Open a shell and in your tomcat installation's root directory try: export JAVA_HOME="/usr/java/jdk1.5.0_14" bin/startup.sh You may have a look on the cmdline what's tomcat's output after you start it. The startup script will print where it assumes JAVA_HOME is located. Did you use some prebuilt packages for CentOs or did you install it manually using the distribution from apache? Best Regards, Martin On Jan 29, 2008 5:38 PM, Paul Stewart <[EMAIL PROTECTED]> wrote: > Thanks.. my apologies as new to Java (to complicate matters). > > When I check in the tomcat.conf file I can't find a place to specify. > When I do a search, there is multiple versions installed: > > /usr/bin/java > /usr/share/java > /usr/include/c++/4.1.1/gnu/java > /usr/include/c++/4.1.1/java > /usr/java > /usr/java/jdk1.5.0_14/bin/java > /usr/java/jdk1.5.0_14/jre/bin/java > /usr/lib/jvm-exports/java > /usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/bin/java > /usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre/bin/java > /usr/lib/jvm/java > /usr/lib/java > /etc/alternatives/java > /etc/java > /var/lib/alternatives/java > > Appreciate it, > > Paul > > > -----Original Message----- > From: Andrzej Bialecki [mailto:[EMAIL PROTECTED] > Sent: Tuesday, January 29, 2008 11:30 AM > To: nutch-user@lucene.apache.org > Subject: Re: New Installation - Problems - Error 500 > > Paul Stewart wrote: > > > > > java.lang.NoClassDefFoundError: org.apache.hadoop.util.ReflectionUtils > > java.lang.Class.initializeClass(libgcj.so.7rh) > > This is not coming from Sun JDK - it's coming from GCJ. Check which > version of Java is used by Tomcat. > > > org.apache.hadoop.fs.FileSystem.get(FileSystem.java:159) > > org.apache.hadoop.fs.FileSystem.getNamed(FileSystem.java:119) > > org.apache.hadoop.fs.FileSystem.get(FileSystem.java:91) > > org.apache.nutch.searcher.NutchBean.<init>(NutchBean.java:95) > > org.apache.nutch.searcher.NutchBean.<init>(NutchBean.java:84) > > org.apache.nutch.searcher.NutchBean.get(NutchBean.java:71) > > org.apache.jsp.search_jsp._jspService(search_jsp.java:106) > > > > -- > Best regards, > Andrzej Bialecki <>< > ___. ___ ___ ___ _ _ __________________________________ > [__ || __|__/|__||\/| Information Retrieval, Semantic Web > ___|||__|| \| || | Embedded Unix, System Integration > http://www.sigram.com Contact: info at sigram dot com > > > > > > > ------------------------------------------------------------------------ ---- > > "The information transmitted is intended only for the person or entity to > which it is addressed and contains confidential and/or privileged material. > If you received this in error, please contact the sender immediately and > then destroy this transmission, including all attachments, without copying, > distributing or disclosing same. Thank you." > ---------------------------------------------------------------------------- "The information transmitted is intended only for the person or entity to which it is addressed and contains confidential and/or privileged material. If you received this in error, please contact the sender immediately and then destroy this transmission, including all attachments, without copying, distributing or disclosing same. Thank you."