tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cmanola...@yahoo.com
Subject Re: Error Message
Date Thu, 17 Aug 2000 23:47:19 GMT
What tomcat are you using ? Is it tomcat 3.1, 3.2 or 3.3 ? 
If it happnes in 3.1 or 3.1 - we have a problem and have to fix it asap.
For 3.3 - we've done few major changes and few more will follow, this will
be fixed soon.

Costin

On Thu, 17 Aug 2000, Manie Coetzee wrote:

> Hi
> 
> Every now and then I get the following error message in my tomcat log
> file.
> 
> ...........................
> Context log: path="/ritevalu" Error in jsp service() : Cannot forward as
> OutputStream or Writer has already been obtained
> 
>  java.lang.IllegalStateException: Cannot forward as OutputStream or
> Writer has already been obtained
>         at
> org.apache.tomcat.core.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:130)
> 
>         at
> org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:357)
> 
>         at
> org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:381)
> 
>         at
> _0002fMainMenu_0002ejspMainMenu_jsp_4._jspService(_0002fMainMenu_0002ejspMainMenu_jsp_4.java:954)
> 
>         at
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:126)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>         at
> org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspServlet.java:174)
> 
>         at
> org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java:261)
> 
>         at
> org.apache.jasper.runtime.JspServlet.service(JspServlet.java:369)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>         at
> org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:503)
> 
>         at
> org.apache.tomcat.core.ContextManager.service(ContextManager.java:559)
>         at
> org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection(Ajp12ConnectionHandler.java:156)
> 
>         at
> org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java:338)
> 
>         at java.lang.Thread.run(Thread.java:475) Context log:
> path="/ritevalu" <b>Internal Servlet Error:</b><br> <pre>
> java.lang.IllegalStateException: Cannot
>  forward as OutputStream or Writer has already been obtained
> 
>         at
> org.apache.tomcat.core.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:130)
> 
>         at
> org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:357)
> 
> .............................
> 
> This does not happen every time, so I can't  get a pattern.
> What does it means when it reports: "Cannot forward as OutputStream or
> Writer has already been obtained"
> 
> I am hosting a server that get's a huge number of hits, and every now
> and then, this exception
> occurs.  The server does not shut down, but from here on the tomcat
> servlet container
> won't serve any more requests, it just time's out.  I am using tomcat in
> conjunction with
> Apache, and have virtual hosting set up.
> 
> Can anybody give me few directions of what the problem may be
> 
> Thanks
> Manie Coetzee
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
> 


Mime
View raw message