Closed GoogleCodeExporter closed 9 years ago
Can you please also post your configuration?
When submitting a pull request (what I'd highly appreciate) a test pointing out
the issue would be cool!
Original comment by martin.grotzke
on 8 Feb 2012 at 5:31
Sorry, forgot the config. Also, we are using version 1.6.1 of the plugin.
<Manager className="de.javakaffee.web.msm.MemcachedBackupSessionManager"
memcachedNodes="n1:node1:11211,n2:node2:11211"
sticky="false"
lockingMode="auto"
requestUriIgnorePattern="/rest/ignorable/?$"
backupThreadCount="4"
operationTimeout="100"
transcoderFactoryClass="de.javakaffee.web.msm.JavaSerializationTranscoderFactory"/>
I put in the pull request, there is a simple unit test. I can try to
reconstruct an integration test, if that would be helpful. Let me know, thanks.
Original comment by markwhit...@gmail.com
on 8 Feb 2012 at 5:35
An integration test would be great, but I can write this also after merging.
Original comment by martin.grotzke
on 8 Feb 2012 at 6:38
Regarding the configuration, your web.xml contains a session-timeout="-1"?
Original comment by martin.grotzke
on 8 Feb 2012 at 8:58
Honestly, I don't know where our expiry is setup for our webapp configuration
right now. It is not set in web.xml, so it is probably in some Spring config
somewhere.
Session.getMaxInactiveInterval() is returning -60 (not sure why it is not -1 or
0). The tomcat6 javadocs say any negative value should count as non-expiring:
https://tomcat.apache.org/tomcat-6.0-doc/api/org/apache/catalina/Session.html#ge
tMaxInactiveInterval()
Original comment by markwhit...@gmail.com
on 8 Feb 2012 at 9:47
Ok, I'm just writing the integration test...
Original comment by martin.grotzke
on 8 Feb 2012 at 9:48
Ok, I'm just writing the integration test...
Original comment by martin.grotzke
on 8 Feb 2012 at 9:51
Thanx for the pull request!
It's merged into master, and I added the integration test
(NonStickySessionsIntegrationTest.testLoadBackupSessionShouldWorkWithInfiniteSes
sionTimeoutIssue120).
Original comment by martin.grotzke
on 8 Feb 2012 at 10:00
Do you need an immediate release btw?
Original comment by martin.grotzke
on 8 Feb 2012 at 10:44
Nope, we are just using a patched version for now. Just put it in your next
scheduled release if you can. Thanks a lot!
Original comment by markwhit...@gmail.com
on 8 Feb 2012 at 11:00
Ok.
Original comment by martin.grotzke
on 9 Feb 2012 at 9:08
Original issue reported on code.google.com by
markwhit...@gmail.com
on 8 Feb 2012 at 4:47