Was already reported and hopefully the fix will make it into jetty-8 soon. Thanks, Clemens
2011/9/3 Jesse McConnell <[email protected]>: > yes, file a bit and I'll take a look at it > > bugs.eclipse.org > > RT/Jetty > > cheers. > jesse > -- > jesse mcconnell > [email protected] > > > > On Sat, Sep 3, 2011 at 11:12, Clemens Eisserer <[email protected]> wrote: >> Hi, >> >> I've switched recently from jetty 7.4 to Jetty-8RC0, but encountered a >> problem with session listeners. >> I add a SessionListener to the ServletContext in order to do some >> cleanup-work when the session is destroyed, >> however with Jetty-8RC0 it seems sessionDestroyed is never called. >> >> I use the following code: >> >>> ServletContextHandler context = new >>> ServletContextHandler(ServletContextHandler.SESSIONS); >>> context.getSessionHandler().getSessionManager().setMaxInactiveInterval(90); >>> context.getSessionHandler().addEventListener(new CacioSessionListener()); >>> context.addServlet(new ServletHolder(new SomeServlet()), "/SomeServlet"); >> >> With Jetty-7.4 the code above works as intended. >> Should I file a bug about that? >> >> >> Thanks, Clemens >> _______________________________________________ >> jetty-users mailing list >> [email protected] >> https://dev.eclipse.org/mailman/listinfo/jetty-users >> > _______________________________________________ > jetty-users mailing list > [email protected] > https://dev.eclipse.org/mailman/listinfo/jetty-users > _______________________________________________ jetty-users mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/jetty-users
