Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] Jetty8RC0 - HttpSessionListener.sessionDestroyed() not called

yeah, working on the merge over now and 8.0.1 will be released in the
next day or so

--
jesse mcconnell
jesse@xxxxxxxxxxx

http://webtide.com / http://intalio.com
(the folks behind jetty and cometd)



On Wed, Sep 7, 2011 at 15:30, Clemens Eisserer <linuxhippy@xxxxxxxxx> wrote:
> Was already reported and hopefully the fix will make it into jetty-8 soon.
>
> Thanks, Clemens
>
> 2011/9/3 Jesse McConnell <jesse.mcconnell@xxxxxxxxx>:
>> yes, file a bit and I'll take a look at it
>>
>> bugs.eclipse.org
>>
>> RT/Jetty
>>
>> cheers.
>> jesse
>> --
>> jesse mcconnell
>> jesse.mcconnell@xxxxxxxxx
>>
>>
>>
>> On Sat, Sep 3, 2011 at 11:12, Clemens Eisserer <linuxhippy@xxxxxxxxx> 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
>>> jetty-users@xxxxxxxxxxx
>>> https://dev.eclipse.org/mailman/listinfo/jetty-users
>>>
>> _______________________________________________
>> jetty-users mailing list
>> jetty-users@xxxxxxxxxxx
>> https://dev.eclipse.org/mailman/listinfo/jetty-users
>>
> _______________________________________________
> jetty-users mailing list
> jetty-users@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/jetty-users
>


Back to the top