Re: Page expired using LazyLoadPanel and clustering

2008-05-15 Thread Eelco Hillenius
> turns out that there are some new images being added to the page, but the
> image url had been messed up, specifically, was '', so when the page loads,

Ugh, that's still a very tricky error it seems. I thought Igor
recently checked something in for that, that at least prints a
warning? I can't find it in the code though.

Eelco

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Page expired using LazyLoadPanel and clustering

2008-05-15 Thread richardwilko

SOLVED!

turns out that there are some new images being added to the page, but the
image url had been messed up, specifically, was '', so when the page loads,
instead of loading the image it makes a call to the home page, so instead of
20 images we get 20 calls to mydomain.com, this then messes up everything
and gives me a headache.  Ive fixed it now

Thanks for everyones help though

Richard



richardwilko wrote:
> 
> right, non-clustered and httpsessionstore = exceptions
> non-clustered and default session store = no exceptions (as far as i can
> see)
> 
> clustered and httpsessionstore = exceptions
> clustered and default session store = exceptions
> 
> 
> although our live site is running on a httpsessionstore (non clustered)
> and does not have these same problems.
> 
> The only thing that's changes is that i upgraded from wicket 1.3.0 to
> 1.3.3 (for clustering support) and some slight changes to the page which
> breaks - but nothing that should be causing these errors, the lazy load
> panel is the same.
> 
> ive also tried wicket 1.3.2 and get same errors.
> 
> But I still cant work out why on one page all my ajax works fine
> regardless of session store or clustering and on a different page the ajax
> causes page expired exceptions.
> 
> 
> 
> 
> 
> 
> Johan Compagner wrote:
>> 
>> if you dont use terra then you should use the DiskPageStore
>> with that store getting page expires shouldnt happen as long as the http
>> session is there.
>> 
>> johan
>> 
>> On Thu, May 15, 2008 at 3:55 PM, richardwilko <
>> [EMAIL PROTECTED]> wrote:
>> 
>>>
>>> Ok, I've been playing around a bit more, and it turns out that this is
>>> not
>>> limited to when I do clustering with terrracotta, but happens when i run
>>> jetty normally.
>>>
>>> The page expired exception fires with this message
>>>
>>> Cannot find the rendered page in session
>>> [pagemap=null,componentPath=60:yellAdTop,versionNumber=0]
>>>
>>> as i understand it pagemapname=null is just the default page map, so
>>> that
>>> shouldnt be a problem.  Im still at a loss as to why this happens
>>> though.
>>>
>>>
>>>
>>>
>>> Johan Compagner wrote:
>>> >
>>> > look at setAttribute then for the store
>>> > It should be but into the session in the detach of the request.
>>> >
>>> > On Thu, May 15, 2008 at 12:30 PM, richardwilko <
>>> > [EMAIL PROTECTED]> wrote:
>>> >
>>> >>
>>> >> I still get the same behaviour with the httpsessionstore.
>>> >>
>>> >> the problem seems to be that the page isnt put in the page map, so
>>> when
>>> >> the
>>> >> ajax call is made to lazy load the panel it cant access the page its
>>> on.
>>> >>
>>> >> looking at the http session data in the terracotta admin console i
>>> see
>>> >> that
>>> >> the AccessStackPageMap has a page map name set to null, and i cant
>>> find
>>> >> the
>>> >> page i should be on in the httpsession.
>>> >>
>>> >>
>>> >>
>>> >> if you use terracotta you shouldnt use the default DiskPageStore i
>>> >> believe
>>> >> but revert back to the 1.2 httpsessionstore..
>>> >>
>>> >>
>>> >> --
>>> >> View this message in context:
>>> >>
>>> http://www.nabble.com/Page-expired-using-LazyLoadPanel-and-clustering-tp17249134p17250260.html
>>> >> Sent from the Wicket - User mailing list archive at Nabble.com.
>>> >>
>>> >>
>>> >> -
>>> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>> >> For additional commands, e-mail: [EMAIL PROTECTED]
>>> >>
>>> >>
>>> >
>>> >
>>>
>>> --
>>> View this message in context:
>>> http://www.nabble.com/Page-expired-using-LazyLoadPanel-and-clustering-tp17249134p17253801.html
>>> Sent from the Wicket - User mailing list archive at Nabble.com.
>>>
>>>
>>> -
>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>
>>>
>> 
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Page-expired-using-LazyLoadPanel-and-clustering-tp17249134p17258169.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Page expired using LazyLoadPanel and clustering

2008-05-15 Thread richardwilko

right, non-clustered and httpsessionstore = exceptions
non-clustered and default session store = no exceptions (as far as i can
see)

clustered and httpsessionstore = exceptions
clustered and default session store = exceptions


although our live site is running on a httpsessionstore (non clustered) and
does not have these same problems.

The only thing that's changes is that i upgraded from wicket 1.3.0 to 1.3.3
(for clustering support) and some slight changes to the page which breaks -
but nothing that should be causing these errors, the lazy load panel is the
same.

ive also tried wicket 1.3.2 and get same errors.

But I still cant work out why on one page all my ajax works fine regardless
of session store or clustering and on a different page the ajax causes page
expired exceptions.






Johan Compagner wrote:
> 
> if you dont use terra then you should use the DiskPageStore
> with that store getting page expires shouldnt happen as long as the http
> session is there.
> 
> johan
> 
> On Thu, May 15, 2008 at 3:55 PM, richardwilko <
> [EMAIL PROTECTED]> wrote:
> 
>>
>> Ok, I've been playing around a bit more, and it turns out that this is
>> not
>> limited to when I do clustering with terrracotta, but happens when i run
>> jetty normally.
>>
>> The page expired exception fires with this message
>>
>> Cannot find the rendered page in session
>> [pagemap=null,componentPath=60:yellAdTop,versionNumber=0]
>>
>> as i understand it pagemapname=null is just the default page map, so that
>> shouldnt be a problem.  Im still at a loss as to why this happens though.
>>
>>
>>
>>
>> Johan Compagner wrote:
>> >
>> > look at setAttribute then for the store
>> > It should be but into the session in the detach of the request.
>> >
>> > On Thu, May 15, 2008 at 12:30 PM, richardwilko <
>> > [EMAIL PROTECTED]> wrote:
>> >
>> >>
>> >> I still get the same behaviour with the httpsessionstore.
>> >>
>> >> the problem seems to be that the page isnt put in the page map, so
>> when
>> >> the
>> >> ajax call is made to lazy load the panel it cant access the page its
>> on.
>> >>
>> >> looking at the http session data in the terracotta admin console i see
>> >> that
>> >> the AccessStackPageMap has a page map name set to null, and i cant
>> find
>> >> the
>> >> page i should be on in the httpsession.
>> >>
>> >>
>> >>
>> >> if you use terracotta you shouldnt use the default DiskPageStore i
>> >> believe
>> >> but revert back to the 1.2 httpsessionstore..
>> >>
>> >>
>> >> --
>> >> View this message in context:
>> >>
>> http://www.nabble.com/Page-expired-using-LazyLoadPanel-and-clustering-tp17249134p17250260.html
>> >> Sent from the Wicket - User mailing list archive at Nabble.com.
>> >>
>> >>
>> >> -
>> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> >> For additional commands, e-mail: [EMAIL PROTECTED]
>> >>
>> >>
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Page-expired-using-LazyLoadPanel-and-clustering-tp17249134p17253801.html
>> Sent from the Wicket - User mailing list archive at Nabble.com.
>>
>>
>> -
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Page-expired-using-LazyLoadPanel-and-clustering-tp17249134p17255175.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Page expired using LazyLoadPanel and clustering

2008-05-15 Thread Johan Compagner
if you dont use terra then you should use the DiskPageStore
with that store getting page expires shouldnt happen as long as the http
session is there.

johan

On Thu, May 15, 2008 at 3:55 PM, richardwilko <
[EMAIL PROTECTED]> wrote:

>
> Ok, I've been playing around a bit more, and it turns out that this is not
> limited to when I do clustering with terrracotta, but happens when i run
> jetty normally.
>
> The page expired exception fires with this message
>
> Cannot find the rendered page in session
> [pagemap=null,componentPath=60:yellAdTop,versionNumber=0]
>
> as i understand it pagemapname=null is just the default page map, so that
> shouldnt be a problem.  Im still at a loss as to why this happens though.
>
>
>
>
> Johan Compagner wrote:
> >
> > look at setAttribute then for the store
> > It should be but into the session in the detach of the request.
> >
> > On Thu, May 15, 2008 at 12:30 PM, richardwilko <
> > [EMAIL PROTECTED]> wrote:
> >
> >>
> >> I still get the same behaviour with the httpsessionstore.
> >>
> >> the problem seems to be that the page isnt put in the page map, so when
> >> the
> >> ajax call is made to lazy load the panel it cant access the page its on.
> >>
> >> looking at the http session data in the terracotta admin console i see
> >> that
> >> the AccessStackPageMap has a page map name set to null, and i cant find
> >> the
> >> page i should be on in the httpsession.
> >>
> >>
> >>
> >> if you use terracotta you shouldnt use the default DiskPageStore i
> >> believe
> >> but revert back to the 1.2 httpsessionstore..
> >>
> >>
> >> --
> >> View this message in context:
> >>
> http://www.nabble.com/Page-expired-using-LazyLoadPanel-and-clustering-tp17249134p17250260.html
> >> Sent from the Wicket - User mailing list archive at Nabble.com.
> >>
> >>
> >> -
> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >> For additional commands, e-mail: [EMAIL PROTECTED]
> >>
> >>
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/Page-expired-using-LazyLoadPanel-and-clustering-tp17249134p17253801.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


Re: Page expired using LazyLoadPanel and clustering

2008-05-15 Thread richardwilko

Ok, I've been playing around a bit more, and it turns out that this is not
limited to when I do clustering with terrracotta, but happens when i run
jetty normally.

The page expired exception fires with this message 

Cannot find the rendered page in session
[pagemap=null,componentPath=60:yellAdTop,versionNumber=0]

as i understand it pagemapname=null is just the default page map, so that
shouldnt be a problem.  Im still at a loss as to why this happens though.




Johan Compagner wrote:
> 
> look at setAttribute then for the store
> It should be but into the session in the detach of the request.
> 
> On Thu, May 15, 2008 at 12:30 PM, richardwilko <
> [EMAIL PROTECTED]> wrote:
> 
>>
>> I still get the same behaviour with the httpsessionstore.
>>
>> the problem seems to be that the page isnt put in the page map, so when
>> the
>> ajax call is made to lazy load the panel it cant access the page its on.
>>
>> looking at the http session data in the terracotta admin console i see
>> that
>> the AccessStackPageMap has a page map name set to null, and i cant find
>> the
>> page i should be on in the httpsession.
>>
>>
>>
>> if you use terracotta you shouldnt use the default DiskPageStore i
>> believe
>> but revert back to the 1.2 httpsessionstore..
>>
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Page-expired-using-LazyLoadPanel-and-clustering-tp17249134p17250260.html
>> Sent from the Wicket - User mailing list archive at Nabble.com.
>>
>>
>> -
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Page-expired-using-LazyLoadPanel-and-clustering-tp17249134p17253801.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Page expired using LazyLoadPanel and clustering

2008-05-15 Thread Johan Compagner
look at setAttribute then for the store
It should be but into the session in the detach of the request.

On Thu, May 15, 2008 at 12:30 PM, richardwilko <
[EMAIL PROTECTED]> wrote:

>
> I still get the same behaviour with the httpsessionstore.
>
> the problem seems to be that the page isnt put in the page map, so when the
> ajax call is made to lazy load the panel it cant access the page its on.
>
> looking at the http session data in the terracotta admin console i see that
> the AccessStackPageMap has a page map name set to null, and i cant find the
> page i should be on in the httpsession.
>
>
>
> if you use terracotta you shouldnt use the default DiskPageStore i believe
> but revert back to the 1.2 httpsessionstore..
>
>
> --
> View this message in context:
> http://www.nabble.com/Page-expired-using-LazyLoadPanel-and-clustering-tp17249134p17250260.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


Re: Page expired using LazyLoadPanel and clustering

2008-05-15 Thread richardwilko

I still get the same behaviour with the httpsessionstore.

the problem seems to be that the page isnt put in the page map, so when the
ajax call is made to lazy load the panel it cant access the page its on.

looking at the http session data in the terracotta admin console i see that
the AccessStackPageMap has a page map name set to null, and i cant find the
page i should be on in the httpsession.



if you use terracotta you shouldnt use the default DiskPageStore i believe
but revert back to the 1.2 httpsessionstore..


-- 
View this message in context: 
http://www.nabble.com/Page-expired-using-LazyLoadPanel-and-clustering-tp17249134p17250260.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Page expired using LazyLoadPanel and clustering

2008-05-15 Thread Johan Compagner
if you use terracotta you shouldnt use the default DiskPageStore i believe
but revert back to the 1.2 httpsessionstore..



On Thu, May 15, 2008 at 11:28 AM, richardwilko <
[EMAIL PROTECTED]> wrote:

>
> We are using the default session store, in that we haven't specified
> anything
> different.
>
> All the pages are serizable and are clusterable by terracotta.
>
> The only difference in the clustered and non clustered app is that you have
> to use the terracotta session manager in jetty for terracotta to work.  I'm
> tempted to blame that for the problem, but i dont see the problem on other
> pages with lazy loaded components.
>
>
>
>
>
> Johan Compagner wrote:
> >
> > so it seems a terracotta  problem or config problem...
> > What kind of session store are you using?
> >
> > On Thu, May 15, 2008 at 11:15 AM, richardwilko <
> > [EMAIL PROTECTED]> wrote:
> >
> >>
> >> Hi,
> >>
> >> I almost have clustering working now - thanks for all the help people
> >> have
> >> given me.
> >>
> >> However keep seeing page exprired errors, specifically on a page that
> has
> >> an
> >> ajax lazy load panel on it.  the page will load fine, but when the lazy
> >> load
> >> code executes the app throws a page expired error, a bit of digging
> >> arround
> >> shows me that wicket cannot find the page it has just created in
> session.
> >>  I
> >> am sure that its the ajax request from the lazy load panel as if I turn
> >> off
> >> javascript the page loads fine.
> >>
> >> This does not happen when I dont use terracotta clustering.
> >>
> >> We are using jetty 6.1.9, terracotta 2.5.4, wicket 1.3.3.  Whats
> strange
> >> is
> >> that even after I get the page expired error and go back into my app I
> >> still
> >> have the same jsessionid and looking at the session data in terracotta I
> >> see
> >> that I still have the same session.  Also this doesn't occur on every
> >> page
> >> with lazy loaded components, just one of them.
> >>
> >> Its like the session isnt updated before the ajax lazy load panel call
> is
> >> made.
> >>
> >> Can anyone shed any light on this?  I've spent way too much time getting
> >> clustering to work already...
> >>
> >> Thanks,
> >>
> >> Richard
> >> --
> >> View this message in context:
> >>
> http://www.nabble.com/Page-expired-using-LazyLoadPanel-and-clustering-tp17249134p17249134.html
> >> Sent from the Wicket - User mailing list archive at Nabble.com.
> >>
> >>
> >> -
> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >> For additional commands, e-mail: [EMAIL PROTECTED]
> >>
> >>
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/Page-expired-using-LazyLoadPanel-and-clustering-tp17249134p17249333.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


Re: Page expired using LazyLoadPanel and clustering

2008-05-15 Thread richardwilko

We are using the default session store, in that we haven't specified anything
different.

All the pages are serizable and are clusterable by terracotta.

The only difference in the clustered and non clustered app is that you have
to use the terracotta session manager in jetty for terracotta to work.  I'm
tempted to blame that for the problem, but i dont see the problem on other
pages with lazy loaded components.





Johan Compagner wrote:
> 
> so it seems a terracotta  problem or config problem...
> What kind of session store are you using?
> 
> On Thu, May 15, 2008 at 11:15 AM, richardwilko <
> [EMAIL PROTECTED]> wrote:
> 
>>
>> Hi,
>>
>> I almost have clustering working now - thanks for all the help people
>> have
>> given me.
>>
>> However keep seeing page exprired errors, specifically on a page that has
>> an
>> ajax lazy load panel on it.  the page will load fine, but when the lazy
>> load
>> code executes the app throws a page expired error, a bit of digging
>> arround
>> shows me that wicket cannot find the page it has just created in session.
>>  I
>> am sure that its the ajax request from the lazy load panel as if I turn
>> off
>> javascript the page loads fine.
>>
>> This does not happen when I dont use terracotta clustering.
>>
>> We are using jetty 6.1.9, terracotta 2.5.4, wicket 1.3.3.  Whats strange
>> is
>> that even after I get the page expired error and go back into my app I
>> still
>> have the same jsessionid and looking at the session data in terracotta I
>> see
>> that I still have the same session.  Also this doesn't occur on every
>> page
>> with lazy loaded components, just one of them.
>>
>> Its like the session isnt updated before the ajax lazy load panel call is
>> made.
>>
>> Can anyone shed any light on this?  I've spent way too much time getting
>> clustering to work already...
>>
>> Thanks,
>>
>> Richard
>> --
>> View this message in context:
>> http://www.nabble.com/Page-expired-using-LazyLoadPanel-and-clustering-tp17249134p17249134.html
>> Sent from the Wicket - User mailing list archive at Nabble.com.
>>
>>
>> -
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Page-expired-using-LazyLoadPanel-and-clustering-tp17249134p17249333.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Page expired using LazyLoadPanel and clustering

2008-05-15 Thread Johan Compagner
so it seems a terracotta  problem or config problem...
What kind of session store are you using?

On Thu, May 15, 2008 at 11:15 AM, richardwilko <
[EMAIL PROTECTED]> wrote:

>
> Hi,
>
> I almost have clustering working now - thanks for all the help people have
> given me.
>
> However keep seeing page exprired errors, specifically on a page that has
> an
> ajax lazy load panel on it.  the page will load fine, but when the lazy
> load
> code executes the app throws a page expired error, a bit of digging arround
> shows me that wicket cannot find the page it has just created in session.
>  I
> am sure that its the ajax request from the lazy load panel as if I turn off
> javascript the page loads fine.
>
> This does not happen when I dont use terracotta clustering.
>
> We are using jetty 6.1.9, terracotta 2.5.4, wicket 1.3.3.  Whats strange
> is
> that even after I get the page expired error and go back into my app I
> still
> have the same jsessionid and looking at the session data in terracotta I
> see
> that I still have the same session.  Also this doesn't occur on every page
> with lazy loaded components, just one of them.
>
> Its like the session isnt updated before the ajax lazy load panel call is
> made.
>
> Can anyone shed any light on this?  I've spent way too much time getting
> clustering to work already...
>
> Thanks,
>
> Richard
> --
> View this message in context:
> http://www.nabble.com/Page-expired-using-LazyLoadPanel-and-clustering-tp17249134p17249134.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>