Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
Description
Hello,
I have created a pull request on GitHub to allow the standalone war bootstrapper to use a factory to create an alternate session manager.
https://github.com/apache/tomcat-maven-plugin/pull/5
I am using this with a modified version of the memcached-session-manager project to allow my standalone war project to use that session manager.
I think this would be of utility to more people. Here is the MSM pull request for reference: https://github.com/magro/memcached-session-manager/pull/33
And here is an example of how you would use this patch:
java -Dmsm.memcachedNodes="n1:localhost:21211" -jar standalone.jar \
-sessionManagerFactory de.javakaffee.web.msm.MemcachedBackupSessionManagerFactory