DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24019>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24019 Unable to compile Class in JSP Summary: Unable to compile Class in JSP Product: Tomcat 5 Version: 5.0.0 Platform: PC URL: http://sorry its on a private network OS/Version: Other Status: NEW Severity: Major Priority: Other Component: Jasper AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] We are running Apache Tomcat 5.0.12 beta as our test and dev servers for one of our projects. When I left yesterday these pages seemed to work perfectly well but when I came in this morning and ran one particular page amongst a slew of similar pages (which all worked fine), I received this error: org.apache.jasper.JasperException: Unable to compile class for JSP No Java compiler was found to compile the generated source for the JSP. This can usually be solved by copying manually $JAVA_HOME/lib/tools.jar from the JDK to the common/lib directory of the Tomcat server, followed by a Tomcat restart. If using an alternate Java compiler, please check its installation and access path. org.apache.jasper.compiler.DefaultErrorHandler.javacError (DefaultErrorHandler.java:128) org.apache.jasper.compiler.ErrorDispatcher.javacError (ErrorDispatcher.java:351) org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:413) org.apache.jasper.compiler.Compiler.compile(Compiler.java:453) org.apache.jasper.compiler.Compiler.compile(Compiler.java:437) org.apache.jasper.JspCompilationContext.compile (JspCompilationContext.java:555) org.apache.jasper.servlet.JspServletWrapper.service (JspServletWrapper.java:291) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248) javax.servlet.http.HttpServlet.service(HttpServlet.java:856) I looked in the logs for the complete error stack but none of the stuff that came after this seemed very helpful (to me) I compared the page to the working code on our production site, which runs an earlier non-beta Tomcat, and it appeared to be the same with only a few minor changes. I copied the production files back to the test server and got the same error. When I hit back and then forward again, the page popped up, which I suspect was the most recently compiled version of that page. I am using Internet Explorer 6. For awhile I was convinced this was just some bug in my code but then I saw something (http://www.jguru.com/forums/view.jsp?EID=1122230) that suggestesd that this might be a known bug in Tomcat 5, but then I didnt see it listed here in Bugzilla. So I am adding it, I hope thats OK, I hope it is an error in Tomcat (no offense) and not just me being stupid. I would hate to waste your time, I have a great respect for everything you guys do and I just want you to know that you are (obviously) appreciated a lot. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
