tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Laurent Salle" <Laurent.Sa...@aventin.com>
Subject OutputStream is already being used for this request WAS: new multiprocessor bug
Date Tue, 01 Aug 2000 08:13:18 GMT


> -----Original Message-----
> From: Paul Lamb [mailto:paul@oil-law.com]
> Sent: Tuesday, August 01, 2000 5:17 AM
> To: 'tomcat-dev@jakarta.apache.org'
> Subject: new multiprocessor bug
>
>
> I updated to the latest cvs code and started getting the
> following exception
> after clicking the submit on a forms based login jsp. It generated a 50MB
> log file in about 10 seconds. In looking through about the first hundred
> exceptions they all are this same one.
>
> This ONLY seems to happen on a multiprocessor system; it does not on a
> single.
>
>[snip]


	I have a similar problem on a single processor.

	The IllegalStateException is repeated a great number of time.

	The probleme arise with different servlet.
$ ls -lF
[tomcat@tibulle log]$ ls -lF
total 24936
-rw-rw-r--    1 tomcat   tomcat        598 Aug  1 11:26 jasper.log
-rw-r--r--    1 tomcat   tomcat     106456 Aug  1 11:29 mod_jk.log
-rw-rw-r--    1 tomcat   tomcat       4724 Aug  1 11:29 servlet.log
-rw-rw-r--    1 tomcat   tomcat   25372092 Aug  1 11:29 tomcat.log
-rw-rw-r--    1 tomcat   tomcat        470 Aug  1 11:29 tomcat_console.log
[tomcat@tibulle log]$ tail tomcat.log
        at
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:367)
        at
org.apache.tomcat.core.ContextManager.handleError(ContextManager.java:991)
        at org.apache.tomcat.core.Handler.service(Handler.java:272)
        at
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:367)
        at
org.apache.tomcat.core.ContextManager.handleError(ContextManager.java:991)
        at org.apache.tomcat.core.Handler.service(Handler.java:272)
        at
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:367)
        at
org.apache.tomcat.core.ContextManager.handleError(ContextManager.java:991)
        at org.apache.tomcat.core.Handler.service(Handler.java:272)
        at org.apache.tomcat.core.ServletWrapper.s
[tomcat@tibulle log]$ head -n 26 tomcat.log
965121983196 - ContextManager: Adding context Ctx(/examples)
965121983219 - ContextManager: Adding context Ctx(/admin)
965121983227 - Tomcat: Loaded config file /home/tomcat/conf/server.xml
965121983232 - ContextManager: Adding context Ctx()
965121983232 - ContextManager: Adding context Ctx(/test)
965121983233 - ContextManager: Adding context Ctx(/cocoon)
965121983241 - ContextManager: Adding context Ctx(/arpeije)
965121983241 - ContextManager: Adding context Ctx(/news)
965121985223 - Tomcat: Tomcat Web Server 3.3 dev
965121985511 - PoolTcpConnector: Starting HttpConnectionHandler on 8080
965121985733 - PoolTcpConnector: Starting Ajp12ConnectionHandler on 8007
965122149456 - Context: IllegalStateException in R( /cocoon +
/structure/slides.xml + null) - java.lang.IllegalStateException:
OutputStream is already being used for this request
        at
org.apache.tomcat.facade.HttpServletResponseFacade.getWriter(HttpServletResp
onseFacade.java:179)
        at org.apache.cocoon.Frontend.print(Frontend.java:96)
        at org.apache.cocoon.Frontend.error(Frontend.java:91)
        at org.apache.cocoon.Cocoon.service(Cocoon.java:176)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at
org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:379)
        at org.apache.tomcat.core.Handler.service(Handler.java:262)
        at
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:367)
        at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:67
1)
        at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:617)
        at
org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection
(Ajp12ConnectionHandler.java:161)
        at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:393)
        at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
        at java.lang.Thread.run(Thread.java:484)


Mime
View raw message