Hi guys
I am using org.eclipse.help in my RCP. And I have come
across a strange issue:
Sometimes when I go to Help->Help Contents, I get a
window with this:
HTTP ERROR 500
Problem accessing /help/advanced/help.jsp. Reason:
Unable to compile class for JSP
Caused by:
org.apache.jasper.JasperException: Unable to compile class for JSP
at
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:572)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:303)
at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at
org.eclipse.equinox.jsp.jasper.JspServlet.service(JspServlet.java:153)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at
org.eclipse.equinox.http.registry.internal.ServletManager$ServletWrapper.service(ServletManager.java:180)
at
org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
at
org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:126)
at
org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68)
……
……
Caused by: java.io.IOException: tmpFile.renameTo(classFile) failed
at
org.apache.jasper.compiler.SmapUtil$SDEInstaller.install(SmapUtil.java:245)
at
org.apache.jasper.compiler.SmapUtil.installSmap(SmapUtil.java:164)
at
org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:429)
at
org.apache.jasper.compiler.Compiler.compile(Compiler.java:297)
at
org.apache.jasper.compiler.Compiler.compile(Compiler.java:276)
at
org.apache.jasper.compiler.Compiler.compile(Compiler.java:264)
at
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:563)
... 25 more
Note that it does not appears each time. If I
refresh or restart the program, the error will not appear.
It seems someone has the same problem: http://www.eclipse.org/forums/index.php/m/624477/#msg_624477
But no one solve this.
So, Is there anyone who can help me? Any ideas how to fix
this? Thanks!
--Cesar