You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2011/01/19 21:54:41 UTC

DO NOT REPLY [Bug 50620] New: Session related errors prevent clean recycle of Request and Response objects by CoyoteAdapter

https://issues.apache.org/bugzilla/show_bug.cgi?id=50620

           Summary: Session related errors prevent clean recycle of
                    Request and Response objects by CoyoteAdapter
           Product: Tomcat 6
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: major
          Priority: P2
         Component: Catalina
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: c1vamsi1c@gmail.com


Created an attachment (id=26521)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=26521)
Patch created against tomcat/tc6.0.x/trunk

Session related errors prevent clean recycle of
org.apache.catalina.connector.Request and
org.apache.catalina.connector.Response objects by CoyoteAdapter. In
org.apache.catalina.connector.Request.recycle() method, if an exception is
thrown by session.endAccess() call, request object recycling aborts failing to
cleanup fully and leaving the request object in inconsistent state. Further
requests processed by CoyoteAdapter.service() using this inconsistent request
object result in request being redirected to the last url that resulted in
inconsistent request object which is still holding on to wrong session and
contexts.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


DO NOT REPLY [Bug 50620] Session related errors prevent clean recycle of Request and Response objects by CoyoteAdapter

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50620

--- Comment #1 from Mark Thomas <ma...@apache.org> 2011-01-20 13:36:30 EST ---
Thanks for the report.

Fixed in 7.0.x and will be in 7.0.7 onwards.

I used a slightly different patch but it does the same thing.

I have proposed a back-port of the fix for 6.0.x

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


DO NOT REPLY [Bug 50620] Session related errors prevent clean recycle of Request and Response objects by CoyoteAdapter

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50620

Konstantin Kolinko <kn...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #3 from Konstantin Kolinko <kn...@gmail.com> 2011-02-03 16:56:50 EST ---
Fixed in 5.5 with r1066996 and will be in 5.5.33.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


DO NOT REPLY [Bug 50620] Session related errors prevent clean recycle of Request and Response objects by CoyoteAdapter

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50620

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|Catalina                    |Catalina
            Version|unspecified                 |5.5.31
            Product|Tomcat 6                    |Tomcat 5
   Target Milestone|default                     |---

--- Comment #2 from Mark Thomas <ma...@apache.org> 2011-01-20 16:36:31 EST ---
Fixed in 6.0.x and will be included in 6.0.31 onwards.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org