Re: [Wicket-user] Random page expiration

2007-06-21 Thread Ingram Chen

done: *WICKET-683 *

On 6/22/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote:


Could you please open a JIRA issue for this and attach the project?
Thanks!

Eelco

On 6/21/07, Ingram Chen <[EMAIL PROTECTED]> wrote:
> all,
>
>   I found another way to reproduce this problem, which may happened in
slow
> network:
>
> (1) make a link that require 5 seconds to process.
> (2) click that link "three" times, after 5 seconds, go to page B
> (3) do any thing on page B cause expire.
>
> It seems that this is caused by race condition ?
>  I think mulitple clicks is quite normal under slow network. The user
may
> click link several times because web site is not responsive.
>
> attachement is another quickstart to reproduce this problem.
> (I have changed LeastRecentlyAccessedEvictionStrategy(100)
> up to 100 access to eliminate eviction issues)
>
> ps. My Test Environment is Linux 2.6, sun jdk6, firefox 2.0.4
>
>
>
> On 6/21/07, Ingram Chen <[EMAIL PROTECTED]> wrote:
> > Hi all,
> >
> >We have experience random page expiration after using wicket 1.2.7
> (latest Snapshot)
> > I search mailing list archive found
> >
>
http://www.nabble.com/Page-Expiration-when-first-clicking-AJAX-tf3729176.html#a10438002
> > discuss similar issue. But it seems that no further discuss on
solution...
> >
> > It's hard to reproduce such random expiration, but at least I found
one
> kind of reproducible steps:
> >
> > step 1: link to homepage
> >url is http://localhost:8081/quickstart/app
> >
> > step 2: "double click" link on homepage, go to 2nd instance of page B
> >url becomes
> http://localhost:8081/quickstart/app/?wicket:interface=:2
> ::
> >(double click create two instances of page B)
> >
> > step 3: use browser back button go back to first instance of page B
> >url becomes
> http://localhost:8081/quickstart/app/?wicket:interface=:1
> ::
> >
> > step 4: do anything on first instance of page B will cause expiration.
> >
> > Ideally 1st instance of page B should in pageMap but it seems got
lost.
> >
> > Attachement is quickstart to reproduce such problem.
> >
> > any help ?
> >
> > --
> > Ingram Chen
> > ��便��啦: http://dinbendon.net
> > blog: http://www.javaworld.com.tw/roller/page/ingramchen
> >
>
>
>
> --
> Ingram Chen
> ��便��啦: http://dinbendon.net
> blog: http://www.javaworld.com.tw/roller/page/ingramchen
>
-
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
>
>

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user





--
Ingram Chen
��便��啦: http://dinbendon.net
blog: http://www.javaworld.com.tw/roller/page/ingramchen
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Random page expiration

2007-06-21 Thread Eelco Hillenius

Could you please open a JIRA issue for this and attach the project? Thanks!

Eelco

On 6/21/07, Ingram Chen <[EMAIL PROTECTED]> wrote:

all,

  I found another way to reproduce this problem, which may happened in slow
network:

(1) make a link that require 5 seconds to process.
(2) click that link "three" times, after 5 seconds, go to page B
(3) do any thing on page B cause expire.

It seems that this is caused by race condition ?
 I think mulitple clicks is quite normal under slow network. The user may
click link several times because web site is not responsive.

attachement is another quickstart to reproduce this problem.
(I have changed LeastRecentlyAccessedEvictionStrategy(100)
up to 100 access to eliminate eviction issues)

ps. My Test Environment is Linux 2.6, sun jdk6, firefox 2.0.4



On 6/21/07, Ingram Chen <[EMAIL PROTECTED]> wrote:
> Hi all,
>
>We have experience random page expiration after using wicket 1.2.7
(latest Snapshot)
> I search mailing list archive found
>
http://www.nabble.com/Page-Expiration-when-first-clicking-AJAX-tf3729176.html#a10438002
> discuss similar issue. But it seems that no further discuss on solution...
>
> It's hard to reproduce such random expiration, but at least I found one
kind of reproducible steps:
>
> step 1: link to homepage
>url is http://localhost:8081/quickstart/app
>
> step 2: "double click" link on homepage, go to 2nd instance of page B
>url becomes
http://localhost:8081/quickstart/app/?wicket:interface=:2
::
>(double click create two instances of page B)
>
> step 3: use browser back button go back to first instance of page B
>url becomes
http://localhost:8081/quickstart/app/?wicket:interface=:1
::
>
> step 4: do anything on first instance of page B will cause expiration.
>
> Ideally 1st instance of page B should in pageMap but it seems got lost.
>
> Attachement is quickstart to reproduce such problem.
>
> any help ?
>
> --
> Ingram Chen
> ��便��啦: http://dinbendon.net
> blog: http://www.javaworld.com.tw/roller/page/ingramchen
>



--
Ingram Chen
��便��啦: http://dinbendon.net
blog: http://www.javaworld.com.tw/roller/page/ingramchen
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Random page expiration

2007-06-21 Thread Ingram Chen

all,

 I found another way to reproduce this problem, which may happened in slow
network:

(1) make a link that require 5 seconds to process.
(2) click that link "three" times, after 5 seconds, go to page B
(3) do any thing on page B cause expire.

It seems that this is caused by race condition ?
I think mulitple clicks is quite normal under slow network. The user may
click link several times because web site is not responsive.

attachement is another quickstart to reproduce this problem.
(I have changed LeastRecentlyAccessedEvictionStrategy(100) up to 100 access
to eliminate eviction issues)

ps. My Test Environment is Linux 2.6, sun jdk6, firefox 2.0.4


On 6/21/07, Ingram Chen <[EMAIL PROTECTED]> wrote:


Hi all,

   We have experience random page expiration after using wicket 1.2.7(latest 
Snapshot)
I search mailing list archive found

http://www.nabble.com/Page-Expiration-when-first-clicking-AJAX-tf3729176.html#a10438002
discuss similar issue. But it seems that no further discuss on solution...

It's hard to reproduce such random expiration, but at least I found one
kind of reproducible steps:

step 1: link to homepage
   url is http://localhost:8081/quickstart/app

step 2: "double click" link on homepage, go to 2nd instance of page B
   url becomes
http://localhost:8081/quickstart/app/?wicket:interface=:2::
   (double click create two instances of page B)

step 3: use browser back button go back to first instance of page B
   url becomes http://localhost:8081/quickstart/app/?wicket:interface=:1
::

step 4: do anything on first instance of page B will cause expiration.

Ideally 1st instance of page B should in pageMap but it seems got lost.

Attachement is quickstart to reproduce such problem.

any help ?

--
Ingram Chen
��便��啦: http://dinbendon.net
blog: http://www.javaworld.com.tw/roller/page/ingramchen





--
Ingram Chen
��便��啦: http://dinbendon.net
blog: http://www.javaworld.com.tw/roller/page/ingramchen


quickstart-click3times.tar.gz
Description: GNU Zip compressed data
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] Random page expiration

2007-06-21 Thread Ingram Chen

Hi all,

  We have experience random page expiration after using wicket
1.2.7(latest Snapshot)
I search mailing list archive found
http://www.nabble.com/Page-Expiration-when-first-clicking-AJAX-tf3729176.html#a10438002
discuss similar issue. But it seems that no further discuss on solution...

It's hard to reproduce such random expiration, but at least I found one kind
of reproducible steps:

step 1: link to homepage
  url is http://localhost:8081/quickstart/app

step 2: "double click" link on homepage, go to 2nd instance of page B
  url becomes
http://localhost:8081/quickstart/app/?wicket:interface=:2::
  (double click create two instances of page B)

step 3: use browser back button go back to first instance of page B
  url becomes
http://localhost:8081/quickstart/app/?wicket:interface=:1::

step 4: do anything on first instance of page B will cause expiration.

Ideally 1st instance of page B should in pageMap but it seems got lost.

Attachement is quickstart to reproduce such problem.

any help ?

--
Ingram Chen
��便��啦: http://dinbendon.net
blog: http://www.javaworld.com.tw/roller/page/ingramchen


quickstart.tar.gz
Description: GNU Zip compressed data
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user