How about the KeepAliveFilter? Anybody knows can this work?

2009/3/2 nabble user <[email protected]>

> Hello,
> I am having a long response that takes 5-6 minutes to finish  to send to my
> client.
> I get this time out error and errors the transmission in the middle.
> is there a timeout setting that I can configure for not getting this
> exception?
> I have kept my timeouts to be too large, still i get this exception - any
> ideas?
>
> thanks
> sincerely
> Ramesh
>
> SocketSessionConfig tSessionConfig = acceptor.getSessionConfig();
> tSessionConfig.setTcpNoDelay(false);
> tSessionConfig.setKeepAlive(true);
> tSessionConfig.setBothIdleTime(6000000);
> tSessionConfig.setWriteTimeout(30000);
>
> org.apache.mina.common.WriteTimeoutException
>    at
>
> org.apache.mina.common.IdleStatusChecker.notifyWriteTimeout(IdleStatusChecker.java:272)
>    at
>
> org.apache.mina.common.IdleStatusChecker.notifyIdleSession(IdleStatusChecker.java:218)
>    at
>
> org.apache.mina.common.IdleStatusChecker.notifyIdleness(IdleStatusChecker.java:168)
>    at
>
> org.apache.mina.common.AbstractPollingIoProcessor.notifyIdleSessions(AbstractPollingIoProcessor.java:452)
>    at
>
> org.apache.mina.common.AbstractPollingIoProcessor.access$700(AbstractPollingIoProcessor.java:43)
>    at
>
> org.apache.mina.common.AbstractPollingIoProcessor$Worker.run(AbstractPollingIoProcessor.java:683)
>

Reply via email to