Tomcat Connection timeout -
i running spring + ext js app on tomcat. due few heavy process takes significant time, time time , following exceptions
defaulthandlerexceptionresolver:141|handling of [org.springframework.http.converter.httpmessagenotwritableexception] resulted in exception java.lang.illegalstateexception: cannot call senderror() after response has been committed @ org.apache.catalina.connector.responsefacade.senderror(responsefacade.java:467)
so decided increase connection time out in server.xml in following way
<connector clientauth="false" connectiontimeout="120000" port="18080" protocol="http/1.1" redirectport="8443" disableuploadtimeout="false" connectionuploadtimeout="120000" minsparethreads="25" /> i have couple of questions?
- will reduce no of times these errors happen?
- what side effect of increasing time out?
thanks
Comments
Post a Comment