日期:2014-05-17  浏览次数:20913 次

jsp页面无法编译,Permission denied
在linux + tomcat 上部署的项目,使用的是root启动项目后,项目可以正常访问,隔了一段时间再访问,就会报这个问题,一般这个页面是启动后没有直接访问到的页面,而是在过一段时间后点到的,如果再次重启服务器页面访问正常,隔一段时间后又会出现这个问题。求大神指导~

Struts Problem Report

Struts has detected an unhandled exception:

Messages:
/usr/local/apache/tomcat/work/Catalina/localhost/_/org/apache/jsp/user/msg/msg_005ftreehole_jsp.java (Permission denied)
Unable to compile class for JSP
org.apache.jasper.JasperException: Unable to compile class for JSP
File: org/apache/jasper/JspCompilationContext.java
Line number: 656
Stacktraces

org.apache.jasper.JasperException: org.apache.jasper.JasperException: Unable to compile class for JSP
    org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:548)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:379)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:389)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:333)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
    org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)
    org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
    org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
    org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:471)
    org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:402)
    org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:329)
    org.apache.struts2.dispatcher.ServletDispatcherResult.doExecute(ServletDispatcherResult.java:159)
    org.apache.struts2.dispatcher.StrutsResultSupport.execute(StrutsResultSupport.java:186)
    com.opensymphony.xwork2.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:373)
    com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:277)
    com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:176)
    com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)
    com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)
    com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:263)
    org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.doIntercept(AnnotationValidationInterceptor.java:68)
    com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)
    com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)
    com.opensymphony.xwork2.interceptor.ConversionErrorInterceptor.intercept(ConversionErrorInterceptor.java:133)
&