Webclient Timeout?

Is there a timeout on AJAX calls between WC and the app server? If so, is this configurable (perhaps in Tomcat)?

Thanks in advance

the timeout we have is that 1 request takes more then a minute other request for that same client will then timeout because they are waiting to long on that first one.
Is this the timeout you talk about?
This one is configurable but you have to do this in javascript by calling some java/wicket stuff.

Can you post how to configure this?

Thanks.

to set it to 2 minutes you can do this:

Packages.org.apache.wicket.Application.get().getRequestCycleSettings().setTimeout(Packages.org.apache.wicket.util.time.Duration.minutes(2));

that only has to be called once, but you could do it in the startup of a client
But if you really have problems with this then there is something else going wrong!
A request shouldn’t really take more then 1 minute.

Edit: changed the sample

When I try this in developer

Packages.org.apache.wicket.Application.get().getRequestCycleSettings().setTimeout(org.apache.wicket.util.time.Duration.minutes(2));

I get
ReferenceError: “org” is not defined. (/Users/tony/servoy_workspace/mod_saas_ce/forms/ce_frm_reports.js#249)

Should it be

Packages.org.apache.wicket.Application.get().getRequestCycleSettings().setTimeout(Packages.org.apache.wicket.util.time.Duration.minutes(2));

Shouldn’t it?

¿Was there something wrong with grammar?

Nope, I just meant that it was probably quicker to try it then to ask the question.

Yeah, I did test it, it was my polite way of saying “It should be…”
English is such an imprecise language, where ‘Shouldn’t it…’ and ‘Should it…’ can mean the same thing.