It looks like jasper can not find javac, you need to install the j2sdk
not the runtime for jsp to work.

> -----Original Message-----
> From: Wood, Mike [mailto:mwood@;api.com] 
> Sent: Thursday, November 14, 2002 3:15 PM
> To: [EMAIL PROTECTED]
> Subject: New Tomcat Linux User - Unable to compile class for JSP
> 
> 
> 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(Unkn
> own 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-> [EMAIL PROTECTED]>
> For 
> additional commands, 
> e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>
> 


--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>

Reply via email to