Q: How to configure session manager in tomcats server.xml?
A: <Manager... goes inside <Context... From Tomcat docs:
The Manager element MAY be nested inside the Context component. If this is not enabled, a default manager configuration will be created automatically, which is sufficient for most requirements, see the Standard Manager implementation below for details on this configuration.
Q: What interface should be implemented to use my session manager?
A: org.apache.catalina.Manager
source share