Return-Path: Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 41738 invoked from network); 19 Jun 2000 10:40:21 -0000 Received: from ntswpdhg01.kpnqwest.com (HELO ntexgswp01.DMZ) (193.242.92.7) by locus.apache.org with SMTP; 19 Jun 2000 10:40:21 -0000 Received: from ntexghub03.kpnqwest.com (unverified) by ntexgswp01.DMZ (Content Technologies SMTPRS 4.1.2) with ESMTP id for ; Mon, 19 Jun 2000 12:06:45 +0200 Received: by ntexghub03.kpnqwest.com with Internet Mail Service (5.5.2650.21) id ; Mon, 19 Jun 2000 12:07:48 +0200 Message-ID: From: "Lovdal, Lars" To: "'tomcat-user@jakarta.apache.org'" Subject: RE: Example JSP don't work Date: Mon, 19 Jun 2000 12:07:46 +0200 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Hello.. Make sure you have the javac-compiler innstalled in your classpath, accessible for Tomcat. This means, add the file tools.jar to the classpath before starting = Tomcat, or copy it to Tomcat's lib directory. An other way to get around this problem, is to install jikes, the = native java compiler from IBM, which would give you a much better speed in compiling your jsp's. Lars L=F8vdal -----Original Message----- From: Sean Mcmurray [mailto:smcmurray@AOCE.UTAH.EDU] Sent: 16 June 2000 20:45 To: tomcat-user@jakarta.apache.org Subject: Example JSP don't work System: RedHat 6.2 JDK 1.1.2 (Blackdown) Tomcat 3.1 Tomcat starts OK, and I can see the first page or two, but when I = actually try to run one of the example JSPs, I get errors like this: Error: 500 Location: /examples/jsp/num/numguess.jsp Internal Servlet Error: org.apache.jasper.JasperException: Unable to compile class for = JSPerror: An error has occurred in the compiler; please file a bug report (http://java.sun.com/cgi-bin/bugreport.cgi). 1 error at org.apache.jasper.compiler.Compiler.compile(Compiler.java, Compiled Code) at = org.apache.jasper.runtime.JspServlet.loadJSP(JspServlet.java, Compiled Code) at org.apache.jasper.runtime.JspServlet$JspServletWrapper.loadIfNecessary(J= spSe rvlet.java, Compiled Code) at org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspServle= t.ja va, Compiled Code) at org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java, Compiled Code) at = org.apache.jasper.runtime.JspServlet.service(JspServlet.java, Compiled Code) at javax.servlet.http.HttpServlet.service(HttpServlet.java, = Compiled Code) at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java,= Compiled Code) at org.apache.tomcat.core.ContextManager.service(ContextManager.java, = Compiled Code) at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(H= ttpC onnectionHandler.java, Compiled Code) at org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java= , Compiled Code) at java.lang.Thread.run(Thread.java, Compiled Code) ------------------------------------------------------------------------= -- To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org For additional commmands, email: tomcat-user-help@jakarta.apache.org