even if it were a singleton, some containers will load spooled
sessions on startup before the filter is initialized, thus even the
singleton would be not yet there.

-igor

On Fri, Mar 18, 2011 at 11:17 AM, Pedro Santos <pedros...@gmail.com> wrote:
> PersistentPageManager$SessionEntry is the serializable piece of Wicket
> inside the servlet session, IMO it should serialize/deserialize regardless
> of the Wicket lifecycle. Can the DefaultPageStore be changed to be a
> singleton an not a per application instance?
>
> On Fri, Mar 18, 2011 at 12:42 PM, Igor Vaynberg 
> <igor.vaynb...@gmail.com>wrote:
>
>> i would say that the lack of response shows that people dont care
>> about a couple more xml lines they have to add to web.xml once and
>> forget about.
>>
>> -igor
>>
>> On Fri, Mar 18, 2011 at 7:47 AM, Martin Grigorov <mgrigo...@apache.org>
>> wrote:
>> > On Thu, Mar 17, 2011 at 10:54 PM, Martin Grigorov <mgrigo...@apache.org
>> >wrote:
>> >
>> >> Hi,
>> >>
>> >> To solve https://issues.apache.org/jira/browse/WICKET-3470 we need to
>> >> introduce ServletContextListener in Wicket.
>> >> In comment
>> >>
>> https://issues.apache.org/jira/browse/WICKET-3470?focusedCommentId=13008166&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13008166Idescribed
>>  a proposal how we can change web.xml configuration to make it
>> >> working. The proposal is based on a discussion between me and Igor in
>> IRC.
>> >>
>> >> This is a rather big change and we need more opinions, so please share
>> if
>> >> you have ideas.
>> >>
>> >
>> > By "big" here I mean conceptually, not code wise. Technically it doesn't
>> > seem to be big or complex.
>> >
>> >>
>> >> --martin-g
>> >>
>> >> P.S. I'm interested to understand why there is no such problem with
>> Wicket
>> >> 1.4?
>> >> I guess sessions in 1.4 are cleared earlier and never persisted between
>> web
>> >> container restarts.
>> >>
>> >> --
>> >> Martin Grigorov
>> >> jWeekend
>> >> Training, Consulting, Development
>> >> http://jWeekend.com <http://jweekend.com/>
>> >>
>> >>
>> >
>> >
>> > --
>> > Martin Grigorov
>> > jWeekend
>> > Training, Consulting, Development
>> > http://jWeekend.com <http://jweekend.com/>
>> >
>>
>
>
>
> --
> Pedro Henrique Oliveira dos Santos
>

Reply via email to