Hi,

exception
org.apache.jasper.JasperException: Unable to compile class for JSP
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:520)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

root cause
java.io.FileNotFoundException:
/usr/lib/jakarta-tomcat-5/work/xforms/_/org/apache/jsp/hello_jsp.java
        java.io.FileOutputStream.open(Native Method)
        java.io.FileOutputStream.<init>(FileOutputStream.java:179)
        java.io.FileOutputStream.<init>(FileOutputStream.java:70)
org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:188)
        org.apache.jasper.compiler.Compiler.compile(Compiler.java:470)
        org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
        org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:802)


Above is the error message.

I'm running Debian Linux and have a working Java installation Here is my
start up command.

jsvc.exec -user tomcat -home /usr/lib/j2sdk1.4-sun
-Dcatalina.home=/usr/lib/jakarta-tomcat-5
-Djava.io.tmpdir=/var/tmp -outfile
/usr/lib/jakarta-tomcat-5/logs/catalina.out
-errfile &1
-cp
/usr/lib/j2sdk1.4-sun/lib/tools.jar:/usr/lib/jakarta-tomcat-5/bin/commons-daemon.jar:/usr/lib/jakarta-tomcat-5/bin/bootstrap.jar



org.apache.catalina.startup.Bootstrap


I have done the following 1) Set the Classpath on the commandline 2) Also copied tools.jar to common/lib in Catalina home, and set permission the same as the other jars 3) checked the permissions on the work directory

Looking in the work directory, the .java version of the JSP is not there
so it seems to be failing here.

Thanks,
Anthony.


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to