tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 38740] - (5.5.15) session attributes set in sessionCreated not synched
Date Tue, 21 Feb 2006 19:10:35 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38740>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38740





------- Additional Comments From njwesselman@jamestower.com  2006-02-21 20:10 -------
Created an attachment (id=17763)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=17763&action=view)
Test case with workaround

It looks like I'll be using SimpleTcpReplicationManager anyway, but I figure I
owe one to Apache after all these years. ;) Test case webapp is attached. Just
deploy and then hit sessiondata.jsp, you'll see the "foo" attribute created by
the session listener. Refresh until you hit a different tomcat in the cluster,
you'll see "foo" isn't replicated.

In web.xml, uncomment the servlet filter to see the workaround in action.
Source for the servlet listener and filter are included under WEB-INF.

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

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


Mime
View raw message