I just realized that root owned everything under work. When I changed it to tomcat, it works now. Thanks.
-----Original Message----- From: Fay, Michael Sent: Tuesday, May 10, 2005 9:36 AM To: 'Tomcat Users List' Subject: RE: error trying to run a jsp Both tomcat and httpd have write permissions to the directory...is someone else supposed to be in the tomcat group? -----Original Message----- From: Raghupathy,Gurumoorthy [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 10, 2005 9:21 AM To: 'Tomcat Users List' Subject: RE: error trying to run a jsp Please check If the directory "/usr/local/tomcat/jakarta-tomcat-5/build/work/Catalina/localhost/" has write permission for wwwrun user ? Guru -----Original Message----- From: Fay, Michael [mailto:[EMAIL PROTECTED] Sent: 10 May 2005 17:17 To: 'Tomcat Users List' Subject: error trying to run a jsp We are getting the following error when trying use a jsp, either directly through tomcat, or through apache with the tomcat connector: type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception org.apache.jasper.JasperException: Unable to compile class for JSP org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:5 65) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:2 93) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) root cause java.io.FileNotFoundException: /usr/local/tomcat/jakarta-tomcat-5/build/work/Catalina/localhost/jsp-example s/org/apache/jsp/jsptest0509_jsp.java (No such file or directory) 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:131) org.apache.jasper.compiler.Compiler.compile(Compiler.java:286) org.apache.jasper.compiler.Compiler.compile(Compiler.java:267) org.apache.jasper.compiler.Compiler.compile(Compiler.java:255) org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:5 56) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:2 93) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) note The full stack trace of the root cause is available in the Apache Tomcat/5.5 logs. I know nothing about tomcat or jsp, and our web people keep insisting that this means that java_home isn't set right, though it's set in all the startup scripts. Can anyone give me any ideas here? --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
