Re: Request Cycle TimeOut
please file a bug. also understand that if you set timeout to one hour that means the user will not be able to access any other page within that session until the original request goes through. -igor On 8/16/07, Gustavo Yoshizaki [EMAIL PROTECTED] wrote: Hi, I have some problems with the time out of the request cycle. I extended my application from WebApplication and in the init method added the following line: getRequestCycleSettings().setTimeout(Duration.ONE_HOUR); However, in one page with an ajax link, I got the following error: 09:00:05,290 ERROR [RequestCycle] java.lang.InterruptedException wicket.WicketRuntimeException: java.lang.InterruptedException at wicket.Session.getPage(Session.java:431) This is an error thrown in Session.class: try { pageMapsUsedInRequest.wait(timeout.getMilliseconds()); } catch (InterruptedException ex) { throw new WicketRuntimeException(ex); } The timeout that pageMapsUsedInRequest waits is 1 minute, which is default of Wicket. It seems that the settings is being ignored. I'm using Wicket 1.2.6 Thanks
Re: Request Cycle TimeOut
https://issues.apache.org/jira/ -igor On 8/16/07, Gustavo Yoshizaki [EMAIL PROTECTED] wrote: Okey, Thanks for the answer. How do I report this bug? Gustavo On 8/16/07, Igor Vaynberg [EMAIL PROTECTED] wrote: please file a bug. also understand that if you set timeout to one hour that means the user will not be able to access any other page within that session until the original request goes through. -igor On 8/16/07, Gustavo Yoshizaki [EMAIL PROTECTED] wrote: Hi, I have some problems with the time out of the request cycle. I extended my application from WebApplication and in the init method added the following line: getRequestCycleSettings().setTimeout(Duration.ONE_HOUR); However, in one page with an ajax link, I got the following error: 09:00:05,290 ERROR [RequestCycle] java.lang.InterruptedException wicket.WicketRuntimeException: java.lang.InterruptedException at wicket.Session.getPage(Session.java:431) This is an error thrown in Session.class: try { pageMapsUsedInRequest.wait(timeout.getMilliseconds()); } catch (InterruptedException ex) { throw new WicketRuntimeException(ex); } The timeout that pageMapsUsedInRequest waits is 1 minute, which is default of Wicket. It seems that the settings is being ignored. I'm using Wicket 1.2.6 Thanks
Re: Request Cycle TimeOut
Okey, Thanks for the answer. How do I report this bug? Gustavo On 8/16/07, Igor Vaynberg [EMAIL PROTECTED] wrote: please file a bug. also understand that if you set timeout to one hour that means the user will not be able to access any other page within that session until the original request goes through. -igor On 8/16/07, Gustavo Yoshizaki [EMAIL PROTECTED] wrote: Hi, I have some problems with the time out of the request cycle. I extended my application from WebApplication and in the init method added the following line: getRequestCycleSettings().setTimeout(Duration.ONE_HOUR); However, in one page with an ajax link, I got the following error: 09:00:05,290 ERROR [RequestCycle] java.lang.InterruptedException wicket.WicketRuntimeException: java.lang.InterruptedException at wicket.Session.getPage(Session.java:431) This is an error thrown in Session.class: try { pageMapsUsedInRequest.wait(timeout.getMilliseconds()); } catch (InterruptedException ex) { throw new WicketRuntimeException(ex); } The timeout that pageMapsUsedInRequest waits is 1 minute, which is default of Wicket. It seems that the settings is being ignored. I'm using Wicket 1.2.6 Thanks