随笔-208  评论-469  文章-30  trackbacks-0
今天把以前的一个管理系统重新拿出来运行的时候,
在登陆页面时调用的验证码出现了以下错误。
 1ERROR - Servlet.service() for servlet jsp threw exception
 2java.lang.IllegalStateException: getOutputStream() has already been called for this response
 3 at org.apache.catalina.connector.Response.getWriter(Response.java:599)
 4 at org.apache.catalina.connector.ResponseFacade.getWriter(ResponseFacade.java:195)
 5 at org.apache.jasper.runtime.JspWriterImpl.initOut(JspWriterImpl.java:124)
 6 at org.apache.jasper.runtime.JspWriterImpl.flushBuffer(JspWriterImpl.java:117)
 7 at org.apache.jasper.runtime.PageContextImpl.release(PageContextImpl.java:191)
 8 at org.apache.jasper.runtime.JspFactoryImpl.internalReleasePageContext(JspFactoryImpl.java:115)
 9 at org.apache.jasper.runtime.JspFactoryImpl.releasePageContext(JspFactoryImpl.java:75)
10 at org.apache.jsp.main.image_jsp._jspService(image_jsp.java:124)
11 at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
12 at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
13 at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
14 at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
15 at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
16 at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
17 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
18 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
19 at hxz.filter.SetEncodingFilter.doFilter(SetEncodingFilter.java:20)
20 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
21 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
22 at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
23 at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
24 at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
25 at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
26 at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
27 at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
28 at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
29 at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
30 at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
31 at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
32 at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
33 at java.lang.Thread.run(Thread.java:595)
34

后来发现,原来是Tomcat的版本有问题,但出现了错误,还是会同样运行!
把你的版本找到5.0以上就行!


posted on 2008-04-03 21:50 EricWong 阅读(1279) 评论(0)  编辑  收藏 所属分类: J2EE

只有注册用户登录后才能发表评论。


网站导航: