org.apache.catalina.SessionListener does not have to be defined in web.xml. It's Tomcat internal class - org.apache.catalina.Session has method addSessionListener()... Though javax.servlet.http.HttpSessionBindingListener may be a better solution, because it's part of a standard.
Martin 2011/6/28 Mark Thomas <[email protected]> > > On 27/06/2011 21:42, Martin Kouba wrote: > > You may inspire yourself with code from my blog post - > > http://www.symbiont-it.cz/crawlersessionmanagervalve-a-tomcat6, lines 86 > > to 134 (text is unfortunately in czech :-). > > No problem, I can figure it out. > > I actually went a different way as SessionListener has to be defined in > the web.xml. Instead I went with an approach based on > HttpSessionBindingListener. > > I'm testing this now with the Jira instance at issues.a.o and if all > goes well, it will be in the next 7.0.x release. > > Mark > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
