Hi Udaykumar,
at first, for clarification: if you run msm with sticky sessions (which is the case according to the configuration you shared) you must configure your load balancer with sticky sessions as well (and configure the jvmRoute in tomcat). If you don't want to use sticky sessions, configure msm with sticky="false".
Do you (want to) use sticky or non-sticky sessions?
HttpSessionListener.sessionCreated is not invoked in your case because from msm's point of view the session is not created / it's not new, but "just" loaded by another tomcat (due to a tomcat failover for sticky sessions, or as a standard operation for non-sticky sessions).
For a session loaded into tomcat a HttpSessionActivationListener's sessionWillPassivate should be invoked.
Can you explain your use case, why you're going to collect sessions?
Knowing this I should be able to help better.
Cheers,
Martin
--
---
You received this message because you are subscribed to the Google Groups "memcached-session-manager" group.
To unsubscribe from this group and stop receiving emails from it, send an email to memcached-session-...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to memcached-session-manager+unsub...@googlegroups.com.
Have you read docs/servlet spec on HttpSessionActivationListener and how to use it? IIRC it must be part of the session.
On your use case: Getting a session by session ID isn't a use case ;-) Why do you want to do this? Still, to achieve this you can look up sessions in memcached.
You can also search issues and the mailing list, maybe other people asked similar things.
Cheers,
Martin
To unsubscribe from this group and stop receiving emails from it, send an email to memcached-session-...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
---
You received this message because you are subscribed to the Google Groups "memcached-session-manager" group.
To unsubscribe from this group and stop receiving emails from it, send an email to memcached-session-...@googlegroups.com.