The exception is caused by Tomcat being unable to find a class called HttpServletRequest. This class is included with servlet-api.jar, which should have come handy with tomcat package.
Tomcat discovers its libraries from common/lib. Try placing a copy of the jar in /usr/share/tomcat5/common/lib or var/lib/tomcat5/common/lib/ When you see similar error when you are running a webapp, place the jar in your application's WEB-INF/lib Hope it helps. Regards, Allen Lam. HKU Hub Administrator, http://hub.hku.hk Sergio Belkin wrote: > Hi, > > I reinstalled tomcat and problem persists, this the content of > var/lib/tomcat5/common/lib/ > > > > total 0 > lrwxrwxrwx 1 root root 44 Dec 17 12:27 naming-resources.jar -> > /usr/share/java/tomcat5/naming-resources.jar > lrwxrwxrwx 1 root root 42 Dec 17 12:27 naming-factory.jar -> > /usr/share/java/tomcat5/naming-factory.jar > lrwxrwxrwx 1 root root 27 Dec 17 12:27 jdtcore.jar -> > /usr/share/java/jdtcore.jar > lrwxrwxrwx 1 root root 23 Mar 30 16:10 [jsp].jar -> /usr/share/java/jsp.jar > lrwxrwxrwx 1 root root 34 Mar 30 16:10 [jndi].jar -> > /usr/lib/jvm-exports/java/jndi.jar > lrwxrwxrwx 1 root root 41 Mar 30 16:10 [jdbc-stdext].jar -> > /usr/lib/jvm-exports/java/jdbc-stdext.jar > lrwxrwxrwx 1 root root 28 Mar 30 16:10 [javamail].jar -> > /usr/share/java/javamail.jar > lrwxrwxrwx 1 root root 35 Mar 30 16:10 [jasper5-runtime].jar -> > /usr/share/java/jasper5-runtime.jar > lrwxrwxrwx 1 root root 36 Mar 30 16:10 [jasper5-compiler].jar -> > /usr/share/java/jasper5-compiler.jar > lrwxrwxrwx 1 root root 23 Mar 30 16:10 [jaf].jar -> /usr/share/java/jaf.jar > lrwxrwxrwx 1 root root 32 Mar 30 16:10 [commons-pool].jar -> > /usr/share/java/commons-pool.jar > lrwxrwxrwx 1 root root 39 Mar 30 16:10 [commons-logging-api].jar -> > /usr/share/java/commons-logging-api.jar > lrwxrwxrwx 1 root root 30 Mar 30 16:10 [commons-el].jar -> > /usr/share/java/commons-el.jar > lrwxrwxrwx 1 root root 32 Mar 30 16:10 [commons-dbcp].jar -> > /usr/share/java/commons-dbcp.jar > lrwxrwxrwx 1 root root 39 Mar 30 16:10 [commons-collections].jar -> > /usr/share/java/commons-collections.jar > lrwxrwxrwx 1 root root 42 Mar 30 16:10 [ant]ant-jakarta-regexp.jar -> > /usr/share/java/ant/ant-jakarta-regexp.jar > lrwxrwxrwx 1 root root 41 Mar 30 16:10 [ant]ant-apache-regexp.jar -> > /usr/share/java/ant/ant-apache-regexp.jar > lrwxrwxrwx 1 root root 47 Mar 30 16:10 > [ant]ant-apache-regexp-1.6.5.jar -> > /usr/share/java/ant/ant-apache-regexp-1.6.5.j > > > 2009/3/30 Allen Lam <allen.dsp...@gmail.com>: >> First check: do you have servlet-api.jar in common/lib? >> If not, try placing a copy to there. >> >> If it does not help, it could involve some harder classpath issues. Perhaps >> reinstalling a new version of Tomcat is easier than fixing it. >> >> Regards, >> Allen Lam. >> HKU Hub Administrator, http://hub.hku.hk >> >> >> >> Sergio Belkin wrote: >>> DSpace <dspace-tech@lists.sourceforge.net> >>> >>> Hi, >>> >>> Tomcat was running well and suddenly stop of working. >>> >>> I am using tomcat5-5.5.23-0jpp.7.el5_2.1 on Centos 5.2 >>> >>> >>> /etc/tomcat5/tomcat5.conf looks like as follows: >>> JAVA_HOME="/usr/lib/jvm/java" >>> CATALINA_HOME="/usr/share/tomcat5" >>> JASPER_HOME="/usr/share/tomcat5" >>> CATALINA_TMPDIR="/usr/share/tomcat5/temp" >>> JAVA_ENDORSED_DIRS="/usr/share/tomcat5/common/endorsed" >>> JAVA_OPTS="$JAVA_OPTS >>> -Dcatalina.ext.dirs=$CATALINA_HOME/shared/lib:$CATALINA_HOME/common/lib" >>> TOMCAT_USER="tomcat" >>> SHUTDOWN_WAIT=30 >>> CATALINA_PID=/var/run/tomcat5.pid >>> >>> >>> And var/log/tomcat5/catalina.out has: >>> >>> SEVERE: Begin event threw error >>> java.lang.NoClassDefFoundError: javax/servlet/http/HttpServletRequest > > > ------------------------------------------------------------------------------ _______________________________________________ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech