I have successfully ran Tomcat on Windows and I'm now having problems getting my Redhat Linux 7.2 install to run.
I can successfully access *.html files (http://host:8080/examples/jsp/index.html). I cannot get any jsp files to compile (http://host:8080/examples/jsp/num/numguess.jsp , http://host:8080/index.jsp ). When I access a jsp URL, I get the following response: org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: -1 in the jsp file: null Generated servlet error: [javac] Compiling 1 source file at org.apache.jasper.compiler.DefaultErrorHandler.javacError(Unknown Source) at org.apache.jasper.compiler.ErrorDispatcher.javacError(Unknown Source) at org.apache.jasper.compiler.Compiler.generateClass(Unknown Source) at org.apache.jasper.compiler.Compiler.compile(Unknown Source) at org.apache.jasper.JspCompilationContext.compile(Unknown Source) at org.apache.jasper.servlet.JspServletWrapper.service(Unknown Source) ... ... ... --------------------------------------------------- Installation: I first installed J2RE 1.4.1 from: j2re-1_4_1_01-linux-i586-rpm.bin Next, I installed the following Tomcat RPMs: tomcat4-4.1.12-full.2jpp.noarch.rpm tomcat4-admin-4.1.12-full.2jpp.noarch.rpm tomcat4-webapps-4.1.12-full.2jpp.noarch.rpm I opened /etc/tomcat4/tomcat4.conf and added the line JAVA_HOME="/usr/java/j2re1.4.1_01" I executed: /etc/init.d/tomcat4 start I have not changed any other configuration files. -------------------------------------------------- Any ideas on what is wrong? -- To unsubscribe, e-mail: <mailto:tomcat-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>
