You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by Br...@cognizant.com on 2007/07/27 18:03:40 UTC

Reg:[[servicemix-http]] Servlet.service() error

Gert,

 

      I have exposed a java class a jsr-181 pojo. This class processes
around 1 million records from database and writes some of the fields to
an output file and once this is done it is supposed to respond by
sending the output file path to another service. This is a long running
process that takes around 1 hour to finish.

 

But we are getting the following error and the service is not returning
the response to the second service. However the process is running and
output file is getting generated. The error that we are getting is as
below:

 

Could you please help us in resolving this error

 

 

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(Consumer
Processor.java:190)

        at
org.apache.servicemix.http.ManagedContextManager$MainProcessor.process(M
anagedContextManager.java:116)

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

        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)

        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)

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

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

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

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

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

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

        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:202)

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

        at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:213)

        at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:178)

        at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAs
sociationValve.java:175)

        at
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.j
ava: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(CachedConnecti
onValve.java:156)

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

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

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

        at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.proc
essConnection(Http11BaseProtocol.java:664)

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

        at
org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorker
Thread.java:112)

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

 

 

 

 

Thanks

Brahma.