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