aspose file tools*
The moose likes Servlets and the fly likes Why Is Tomcat 4 Doing This? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Why Is Tomcat 4 Doing This?" Watch "Why Is Tomcat 4 Doing This?" New topic
Author

Why Is Tomcat 4 Doing This?

ernest fakudze
Ranch Hand

Joined: Aug 27, 2001
Posts: 216
Hi to all!
Yesterday I downloaded the new Tomncat 4 to replace my 3.23 version. I configured the Java_home as usual and now when I try to click on the jsp e.g numberguess and servlet links I get the error below. Why is this? Has anybody experienced the same error message? Help will be appreciated.
The error is...
A Servlet Exception Has Occurred
org.apache.jasper.JasperException: Unable to compile class for JSP if (pageContext != null) pageContext.handlePageException(t);
^
1 error
at org.apache.jasper.compiler.Compiler.compile(Unknown Source)
at org.apache.jasper.servlet.JspServlet.loadJSP(Unknown Source)
at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(Unknown Source)
at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(Unknown Source)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(Unknown Source)
at org.apache.jasper.servlet.JspServlet.service(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Unknown Source)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(Unknown Source)
at org.apache.catalina.core.StandardWrapperValve.invoke(Unknown Source)
at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source)
at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
at org.apache.catalina.core.StandardContextValve.invoke(Unknown Source)
at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source)
at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
at org.apache.catalina.core.StandardContext.invoke(Unknown Source)
at org.apache.catalina.core.StandardHostValve.invoke(Unknown Source)
at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source)
at org.apache.catalina.valves.AccessLogValve.invoke(Unknown Source)
at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source)
at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
at org.apache.catalina.core.StandardEngineValve.invoke(Unknown Source)
at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source)
at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
at org.apache.catalina.connector.http.HttpProcessor.process(Unknown Source)
at org.apache.catalina.connector.http.HttpProcessor.run(Unknown Source)
at java.lang.Thread.run(Thread.java:484)

In a time of drastic change it is the learners who inherit the future. The learned usually find themselves equipped to live in a world that no longer exists.<br />Eric Hoffer
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12678
    
    5
On my Tomcat 4b6 you also have to set an environment variable for
CATALINA_HOME
Bill


Java Resources at www.wbrogden.com
ernest fakudze
Ranch Hand

Joined: Aug 27, 2001
Posts: 216
Sorry William but this is the final release of Tomcat 4 and I'm running Windows 2000. Do I still need to set the environment variable for CATALINA_HOME?
Mike Curwen
Ranch Hand

Joined: Feb 20, 2001
Posts: 3695

http://jakarta.apache.org/tomcat/tomcat-4.0-doc/RUNNING.txt
Why would you think it wouldn't?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Why Is Tomcat 4 Doing This?
 
Similar Threads
Beginner's, servlet problem
Can not compile the jsp file
java.lang.verifyError;Illegal target of jump or branch
struts-example.war
New To JSP