Re: java.lang.NoClassDefFoundError: javax/servlet/ServletContextListener

2006-11-09 Thread Vasiliy Keretsman
t spring context. But it didn't help either [Loaded org.apache.log4j.spi.NullWriter from file:/home/vasya/prj/trunk/WEB-INF/lib/jakarta-log4j.jar] - Error configuring application listener of class enCode.util.spring.WebApplicationContextSupport java.lang.NoClassDefFoundError: javax/servlet/S

RE: java.lang.NoClassDefFoundError: javax/servlet/ServletContextListener

2006-11-08 Thread Caldarale, Charles R
> From: Vasiliy Keretsman [mailto:[EMAIL PROTECTED] > Subject: Re: java.lang.NoClassDefFoundError: > javax/servlet/ServletContextListener > > I manually added servlet-api.jar to CLASSPATH at first and Tomcat > started without errors. You've got something else going

Re: java.lang.NoClassDefFoundError: javax/servlet/ServletContextListener

2006-11-08 Thread Vasiliy Keretsman
That makes no sense at all, since there are no javax.* classes in tools.jar. The only thing that Tomcat might use out of tools.jar is the javac classes, and then only if you configure it to use javac instead of the default compiler. I know it looks strange. I manually added servlet-api.jar to C

RE: java.lang.NoClassDefFoundError: javax/servlet/ServletContextListener

2006-11-08 Thread Caldarale, Charles R
> From: Vasiliy Keretsman [mailto:[EMAIL PROTECTED] > Subject: Re: java.lang.NoClassDefFoundError: > javax/servlet/ServletContextListener > > Linux version of catalina/bin/setclasspath.sh in 5.5.15,17,20 hides > the following classpath setting under condition. With tools.jar

Re: java.lang.NoClassDefFoundError: javax/servlet/ServletContextListener

2006-11-08 Thread Vasiliy Keretsman
Hi! The problem was solved. Linux version of catalina/bin/setclasspath.sh in 5.5.15,17,20 hides the following classpath setting under condition. With tools.jar in classpath it works. if [ "$1" = "debug" -o "$1" = "javac" ] ; then CLASSPATH="$JAVA_HOME"/lib/tools.jar fi Btw, setclasspath.bat d

Re: java.lang.NoClassDefFoundError: javax/servlet/ServletContextListener

2006-11-08 Thread Vasiliy Keretsman
Martin, Chuck Thanks for reply. 1. servlet-api.jat is only in tomcat/common/lib 2. cut from web.xml Can we see the web.xml listener element configuration for ServletContextListener and any listener's deriving from ServletContextListener org.springframework.web.context.ContextLoa

Re: java.lang.NoClassDefFoundError: javax/servlet/ServletContextListener

2006-11-08 Thread Martin Gainty
ation, distribution or copying of it or its contents - Original Message - From: "Vasiliy Keretsman" <[EMAIL PROTECTED]> To: Sent: Wednesday, November 08, 2006 9:56 AM Subject: java.lang.NoClassDefFoundError: javax/servlet/ServletContextListener > Hi! > > I've got

RE: java.lang.NoClassDefFoundError: javax/servlet/ServletContextListener

2006-11-08 Thread Caldarale, Charles R
> From: Vasiliy Keretsman [mailto:[EMAIL PROTECTED] > Subject: java.lang.NoClassDefFoundError: > javax/servlet/ServletContextListener > > - Error configuring application listener of class > myapp.util.WebApplicationContextSupport > java.lang.NoClassDefFoun

java.lang.NoClassDefFoundError: javax/servlet/ServletContextListener

2006-11-08 Thread Vasiliy Keretsman
Hi! I've got the following problem during Tomcat 5.5.20 startup - Error configuring application listener of class myapp.util.WebApplicationContextSupport java.lang.NoClassDefFoundError: javax/servlet/ServletContextListener servlet-api.jar is in common/lib. I've never had such pr