Could it be that those packages have incompatible classes:
jakarta-tomcat-4.0-b5.zip  &  jakarta-servletapi-4.0-b5.zip

Why do you need jakarta-servletapi?  tomcat supports servlets.


----- Original Message -----
From: "Marc-andre Thibodeau" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, June 15, 2001 10:54 AM
Subject: I need help!!


>
> I spent too many hours trying to solve my problem.  The next step will
> be a psychotherapist!
>
> Here is all I did:
>
> Trying to install:  Tomcat 4.0 b5
> JDK:  1.3.0
> OS: Linux 6.1
> downloaded:  jakarta-tomcat-4.0-b5.zip  &  jakarta-servletapi-4.0-b5.zip
>
> unzipped both of them
> set CATALINA_HOME correctly
> set JAVA_HOME correctly
> set TOMCAT_HOME to same directory as CATALINA_HOME
> put servlet.jar file downloaded in $CATALINA_HOME/lib
> executed $CATALINA_HOME/bin/startup.sh
>
> and here's the important parts of the logfiles I get:
>
> localhost_examples_log.2001-06-15.txt
> -----------------------------
> 2001-06-15 10:30:12 StandardContext[/examples]: Exception starting
> filter Compression Filter
> java.lang.ClassCastException: compressionFilters.CompressionFilter
>         at
>
org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilter
Config.java:250)
>
>         at
>
org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFil
terConfig.java:311)
>
> (... and other ClassCastExceptions, all related to filters)
>
> localhost_log_2001-06-15.txt
> ----------------------
> 2001-06-15 10:49:34 StandardContext[]: Servlet  threw load() exception
> javax.servlet.ServletException: Class
> org.apache.jasper.servlet.JspServlet is not a Servlet
>         at
> org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:813)
>
> ----- Root Cause -----
> java.lang.ClassCastException: org.apache.jasper.servlet.JspServlet
>         at
> org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:810)
>
> (... and other ServletExceptions)
>
> If anybody can help, I would appreciate it a lot!
>
> MA
>

Reply via email to