Bug 1377246 - session.invalidate does not work on cluster enabled webapps
Summary: session.invalidate does not work on cluster enabled webapps
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: tomcat
Version: 7.2
Hardware: Unspecified
OS: Unspecified
urgent
unspecified
Target Milestone: rc
: ---
Assignee: Coty Sutherland
QA Contact: Michal Karm Babacek
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-09-19 09:49 UTC by Dasharath Masirkar
Modified: 2020-01-17 15:56 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-11-21 16:37:46 UTC
Target Upstream Version:


Attachments (Terms of Use)
Simple web app to reproduce the issue (1.26 KB, application/zip)
2016-09-19 09:49 UTC, Dasharath Masirkar
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Apache Bugzilla 56578 0 None None None 2016-09-19 09:49:13 UTC

Description Dasharath Masirkar 2016-09-19 09:49:14 UTC
Created attachment 1202414 [details]
Simple web app to reproduce the issue

Description of problem:
session.invalidate does not work on cluster enabled webapps (the application web.xml with <distributable/> element) when Tomcat is clustered. In standalone instance it works fine.

Version-Release number of selected component (if applicable):
tomcat-7.0.54-2.el7_1

How reproducible:
Always

Steps to Reproduce:
1.Use Clustered Tomcat, with the following added to the <Host/> in server.xml:
<Cluster className="org.apache.catalina.ha.tcp.SimpleTcpCluster"/>

2.Deploy attached TestApp.war to the tomcat webapps
3.Open session.jsp in a web browser (http://127.0.0.1:8080/TestApp/session.jsp). Note creation time.
4.Refresh page and note creation time stays the same.
5.Click on Invalidate and note that creation time is not updated.

Actual results:
When click on Invalidate, the creation time is not updated.

Expected results:
When click on Invalidate, the creation time must be updated.

Additional info:
This is captured as upstream bug https://bz.apache.org/bugzilla/show_bug.cgi?id=56578 and has been fixed in 7.0.55 onwards.

Comment 10 Coty Sutherland 2016-11-21 16:37:46 UTC
This issue has been fixed and the case associated with the zstream request is now closed. I'm closing this as rhel-7.3.0 has been released with the fix. If there is need for a zstream fix, we can revisit this.


Note You need to log in before you can comment on or make changes to this bug.