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?

  1. will reduce no of times these errors happen?
  2. what side effect of increasing time out?

thanks


Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

mysql - Pass value between different pages (form) with PHP -