Hi all,

      We jave a java class exposed as a jsr-181 pojo. This JSR service unit
is invoked by a http service unit. This java class processes some 1 million
records from database and writes to an output file. After processing it is
supposed to return a response back with the output file path. 

But since this is a long running process, the http timeout is occuring and
the following exception is thrown. However the processing is happening and
the output file is getting written. But we are not able to get the response
due to http connection timeout. 

Could any one let us know as to where in service mix configurations can we
increased the http connection timeout property. 



 21:17:26,356 ERROR [[servicemix-http]] Servlet.service() for servlet>
servicemix-http threw exception
 java.lang.Exception: Error sending exchange: aborted*>
         at
org.apache.servicemix.http.processors.ConsumerProcessor.process(ConsumerProcessor.java:190)
         at
org.apache.servicemix.http.ManagedContextManager$MainProcessor.process
 (ManagedContextManager.java:116)

         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

         at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

         at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess
orImpl.java:25)

         at java.lang.reflect.Method.invoke(Method.java:585)

         at
org.apache.servicemix.web.http.HttpManagedServlet.service(HttpManagedServlet.java:90)

         at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)

         at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)

         at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)

         at
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

         at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appli
 cationFilterChain.java:202)

         at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFi
 lterChain.java:173)

         at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperVa
 lve.java:213)

         at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextVa
 lve.java:178)

         at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(Security
 AssociationValve.java:175)

         at
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)

         at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)

         at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)

         at
org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnec
 tionValve.java:156)

         at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)

         at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)

         at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java: 869)

         at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.pr
 ocessConnection(Http11BaseProtocol.java:664)

         at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)

         at
org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWork
erThread.java:112)

         at java.lang.Thread.run(Thread.java:595)


Thanks,
Sireesh.

-- 
View this message in context: 
http://www.nabble.com/--servicemix-http---Servlet.service%28%29-error---http-connection-timeout-tf4197956s12049.html#a11939461
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to