I am making a request from Jetty to another server and this request sometimes take more than 30 seconds to finish. When this happens I the following in the logs -
2014-01-24 00:27:46,214 DEBUG [requests-56] o.e.jetty.server.HttpChannel - HttpChannelOverHttp@58372003{r=1,a=ASYNCWAIT} handle exit
2014-01-24 00:27:46,873 DEBUG [Scheduler-627004083]
o.eclipse.jetty.io.IdleTimeout - SelectChannelEndPoint@12417fb{/127.0.0.1:51117<r-l>/127.0.0.1:8080,o=true,is=false,os=false,fi=FillInterest@68a26052{true,AC.ExReadCB@7cfeace3},wf=WriteFlusher@7c61dd28{IDLE},it=30000}{HttpConnection@7cfeace3{INTERESTED},g=HttpGenerator{s=START},p=HttpParser{s=START,0 of -1}}{io=1,kio=1,kro=1} idle timeout check, elapsed: 29875 ms, remaining: 125 ms
2014-01-24 00:27:46,999 DEBUG [Scheduler-627004083] o.eclipse.jetty.io.IdleTimeout -
SelectChannelEndPoint@12417fb{/127.0.0.1:51117<r-l>/127.0.0.1:8080,o=true,is=false,os=false,fi=FillInterest@68a26052{true,AC.ExReadCB@7cfeace3},wf=WriteFlusher@7c61dd28{IDLE},it=30000}{HttpConnection@7cfeace3{INTERESTED},g=HttpGenerator{s=START},p=HttpParser{s=START,0 of -1}}{io=1,kio=1,kro=1} idle timeout check, elapsed: 30002 ms, remaining: -2 ms
2014-01-24 00:27:47,001 DEBUG [Scheduler-627004083] o.eclipse.jetty.io.IdleTimeout - SelectChannelEndPoint@12417fb{/127.0.0.1:51117<r-l>/127.0.0.1:8080,o=true,is=false,os=false,fi=FillInterest@68a26052{true,AC.ExReadCB@7cfeace3},wf=WriteFlusher@7c61dd28{IDLE},it=30000}{HttpConnection@7cfeace3{INTERESTED},g=HttpGenerator{s=START},p=HttpParser{s=START,0 of
-1}}{io=1,kio=1,kro=1} idle timeout expired
2014-01-24 00:27:47,001 DEBUG [Scheduler-627004083] o.e.j.io.AbstractConnection - HttpConnection@7cfeace3{INTERESTED},g=HttpGenerator{s=START},p=HttpParser{s=START,0 of -1} onFillInterestedFailed java.util.concurrent.TimeoutException: Idle timeout expired: 30002/30000 ms
2014-01-24 00:27:47,002 DEBUG [Scheduler-627004083] o.e.jetty.io.ChannelEndPoint - oshut
SelectChannelEndPoint@12417fb{/127.0.0.1:51117<r-l>/127.0.0.1:8080,o=true,is=false,os=false,fi=FillInterest@68a26052{false,null},wf=WriteFlusher@7c61dd28{IDLE},it=30000}{HttpConnection@7cfeace3{INTERESTED},g=HttpGenerator{s=START},p=HttpParser{s=START,0 of -1}}{io=1,kio=1,kro=1}
2014-01-24 00:27:47,003 DEBUG [Scheduler-627004083] o.e.jetty.io.WriteFlusher - failed: WriteFlusher@7c61dd28{IDLE} java.util.co
I would like to increase this timeout from 30 seconds to 60 seconds so that this error does not occur. I have tried various settings for the timeout but none of them seems to work. Can any one please help me with this.
thanks,
gg