Are you sure that the second request is not generated by e.g. a reverse
proxy?


On Mon, Apr 15, 2013 at 7:59 PM, George Christman
<gchrist...@cardaddy.com>wrote:

> Hello, I have a long running process in my onSuccess method. I'm
> noticing my onActivate and onValidate methods are being called
> multiple times before the onSuccess method has actually completed. I
> was able to successfully reproduce this using Thread.sleep in the
> following example. Does anybody know why this my be happening?
>
> onActivate() {
>    System.out.println("onActivate");
> }
>
> onValidate() {
>    System.out.println("onValidate");
> }
>
> Object onSuccess() throws Exception {
>         if(ApplicationActionEnum.GENERATE_PO == this.action) {
>             try {
>                 Thread.sleep(60000);
>             } catch (Exception e) {
>
>             }
>         }
>         System.out.println("onSuccess");
>         return Index.class;
>     }
>
> My output.
>
> onActivate
> pnValidate
> onActivate
> pnValidate
> OnSuccess
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>

Reply via email to