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

2006-11-09 Thread Vasiliy Keretsman
hi! I manually added servlet-api.jar to CLASSPATH at first and Tomcat started without errors. You've got something else going on. Tomcat completely ignores any existing CLASSPATH setting and establishes its own; the system classloader is used only for bin/bootstrap.jar. Sorry, forgot to

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 problem with

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 listener

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 does not

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

Re: Unable to read TLD META-INF/c.tld from JAR file

2006-11-02 Thread Vasiliy Keretsman
I am sorry I didn't see the details. perhaps there is a problem with running tomcat with compatibility package and having tld's in WEB- INF/lib/standard.jar file. Yes, it might be that. I am running Tomcat 5.0.28 on JDK5 locally and it works. Do you know any resources or solution for this

Unable to read TLD META-INF/c.tld from JAR file

2006-11-01 Thread Vasiliy Keretsman
Hello! Strange problem appears with Tomcat. It can't read the tlds from JAR file (standard.jar). org.apache.jasper.JasperException: Unable to read TLD META-INF/c.tld from JAR file It happens only once when Tomcat/work folder is empty. After page refresh everything goes well. Details: 1. Tomcat

Re: Unable to read TLD META-INF/c.tld from JAR file

2006-11-01 Thread Vasiliy Keretsman
at infinitesource dot ca On Wed, 2006-11-01 at 19:03 +0200, Vasiliy Keretsman wrote: Hello! Strange problem appears with Tomcat. It can't read the tlds from JAR file (standard.jar). org.apache.jasper.JasperException: Unable to read TLD META-INF/c.tld from JAR file It happens only once when Tomcat