码迷,mamicode.com
首页 > Web开发 > 详细

访问tomcat6.0下发布的某jsp程序运行不稳定的原因

时间:2014-11-04 15:22:24      阅读:203      评论:0      收藏:0      [点我收藏+]

标签:server   程序   error   tomcat   

HTTP Status 500 -


type Exception report

message description The server encountered an internal error () that prevented it from fulfilling this request.

exception

org.apache.jasper.JasperException: org.apache.jasper.JasperException: Unable to compile class for JSP org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:491)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:338)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:717)


root cause

org.apache.jasper.JasperException: Unable to compile class for JSP
	org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:597)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:317)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:717)


root cause

java.io.FileNotFoundException: D:\Tomcat 6.0\work\Catalina\localhost\Expulsion-Search\org\apache\jsp\index_jsp.java (拒绝访问。)
	java.io.FileOutputStream.open(Native Method)
	java.io.FileOutputStream.<init>(Unknown Source)
	java.io.FileOutputStream.<init>(Unknown Source)
	org.apache.jasper.compiler.Compiler.setupContextWriter(Compiler.java:291)
	org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:230)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:347)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:327)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:314)
	org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:589)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:317)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:717)


note The full stack trace of the root cause is available in the Apache Tomcat/6.0.26 logs.


Apache Tomcat/6.0.26

访问tomcat6.0下发布的某jsp学籍程序运行不稳定的原因:主要是访问量过大而产生日志满了,导致访问不稳定,主要通过两种方法解决:一种是删除运行下的程序日志,另一种是对tomcat做相关日志的配置。

本文出自 “运维” 博客,请务必保留此出处http://sky9896.blog.51cto.com/2330653/1571585

访问tomcat6.0下发布的某jsp程序运行不稳定的原因

标签:server   程序   error   tomcat   

原文地址:http://sky9896.blog.51cto.com/2330653/1571585

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!