cnzz / memcached-session-manager

Automatically exported from code.google.com/p/memcached-session-manager
0 stars 0 forks source link

Allow dash inside jvmRoute #69

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. Set jvm route in server.xml with dash (e.g. MYSERVER-T1, MYSERVER-T2)
2. Start two nodes
3. Go to app through apache httpd mod_jk cluster with stickysessions
4. Observe session-id assigned and it contains jvmRoute
5. Kill server in use
6. Reload page
7. Observe session-id changed completely, not only jvmRoute part

What is the expected output? What do you see instead?

Session failover - restoration of session on another node.

What version of the product are you using? On what operating system?

1.3.6

Please provide any additional information below.

Patch for this problem provided.  
It is for jvmRoute to contain not only \w symbols
but dash also. Regular expression for jvmRoute changed to [a-zA-Z0-9\-].

Original issue reported on code.google.com by rusla...@gmail.com on 30 Dec 2010 at 9:26

Attachments:

GoogleCodeExporter commented 9 years ago
This is a duplicate of issue #62, see these commits:
https://github.com/magro/memcached-session-manager/commit/ee75536d
https://github.com/magro/memcached-session-manager/commit/49725e61

This is not yet released, you'd need to build the current master (I could also 
provide built jars).

Original comment by martin.grotzke on 30 Dec 2010 at 1:13

GoogleCodeExporter commented 9 years ago

Original comment by martin.grotzke on 27 Jan 2011 at 10:36