Each incoming request requires a thread for the duration of that request. How can occur, if the one thread suspended, the another thread is answers? Where defines the maximal timeout waiting of responses?
-----Original Message----- From: Mark Thomas [mailto:[EMAIL PROTECTED] Sent: Friday, November 23, 2007 4:49 AM To: Tomcat Users List Subject: Re: Recieving responses from another request Самойлов Андрей Иванович wrote: > I use Tomcat v5.5.9, OS Windows 2003. On the Tomcat deployed a servlet, which > executes a stored procedure on the Oracle database, then prints the result of > execution into output stream: > > StoredProcedure(); > > PrintWriter out = response.getWriter(); ... > out.println(result); > out.close(); > > If a stored procedure executes too slowly (>1 hour), then a client recieves > response from another request. > How to eliminate this? This might be a Tomcat issue. Upgrade to 5.5.25 to be sure. More likely, this is a problem with your code. You need to check that it is thread-safe. Mark --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]