You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by BugRat Mail System <to...@cortexity.com> on 2000/12/21 22:25:36 UTC

BugRat Report #648 has been filed.

Bug report #648 has just been filed.

You can view the report at the following URL:

   <http://znutar.cortexity.com/BugRatViewer/ShowReport/648>

REPORT #648 Details.

Project: Tomcat
Category: Bug Report
SubCategory: New Bug Report
Class: swbug
State: received
Priority: medium
Severity: critical
Confidence: public
Environment: 
   Release: Tomcat 3.2
   JVM Release: JDK 1.3
   Operating System: Windows NT4.0
   OS Release: NT4 service Pack 6
   Platform: Windows

Synopsis: 
When a connectino is reset, tomcat should retry sending the response object instead of re-executing the entire jsp.

Description:
When a when a jsp response is asked to be resent because of a "connection reset by peer" only the response object should be resent again. Currently the JSP is re-executed, which can lead to unpredictable results if the jsp is requesting or changing data on a 3rd process. Consider:

jsp code:
--------
<snip>
  someServer = (ServerInterface)Naming.lookup(serverURL);
  someServer.incrementConnections();
<snip>

If the jsp is executed again because of a connection reset, then incrementConnecions() will be executed again. This is not desired behavior.