Open GoogleCodeExporter opened 9 years ago
Are you sure that the counter is incremented? What does the
System.err.println("foobar: "+counter.toString()); print? I can imagine that
the counter++ does not really increment it because the Integer is unboxed
first...
Original comment by martin.grotzke
on 25 Mar 2015 at 7:18
Yes, I'm sure because it works with both the standard tomcat session manager
and with memcached in sticky mode (but I can't find a decent documentation that
explicitly states that box/unboxed integers work the same way). I'm uploading a
cleaner version (the behaviour is a bit different) and a compiled war.
This is a simpler example that I built just to simplify things. I pretend to
use this in a Wicket application. Since it wasn't working, I decided to take
Wicket out of the way and moved to the simplest cenario: a servlet.
Original comment by madskaddie@gmail.com
on 26 Mar 2015 at 10:59
Attachments:
Original issue reported on code.google.com by
madskaddie@gmail.com
on 25 Mar 2015 at 2:03Attachments: