[ 
https://issues.apache.org/activemq/browse/SM-1211?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=41188#action_41188
 ] 

Srivatsan Sridharan commented on SM-1211:
-----------------------------------------

Thanks Guillaume. We did increase the consumerProcessorSuspendTime using 
component.properties and it worked.

But, why would the server fail accepting further http requests after this 
exception is thrown?

Thanks,
Srivatsan

> Servlet.service() for servlet servicemix-http threw exception
> -------------------------------------------------------------
>
>                 Key: SM-1211
>                 URL: https://issues.apache.org/activemq/browse/SM-1211
>             Project: ServiceMix
>          Issue Type: Test
>          Components: servicemix-http
>    Affects Versions: 3.1
>         Environment: Windows 2003 Server
> JBOSS 4.0.4-GA
> Servicemix web deployment within JBOSS
>            Reporter: Srivatsan Sridharan
>
> We have the following servicemix components in a sa.
> http-consumer-su->http-jsr-su->routing slip
> routingslip->lw-su->http-provider-su
> HTTP consumer is a non-soap endpoint that accepts a POST request. The JSR 
> POJO creates a new message exchange and sets the POST message as the message 
> content and invokes the routing slip.
> The routing slip invokes a lw-su that transforms the message content and 
> POSTs it again to an external web service. We notice from our logs that when 
> there is a delay of 1 minute after the line "Location URI is overridden" in 
> ProviderProcessor.java, the following exception is thrown and the server 
> fails to accept further http requests.
> [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.GeneratedMethodAccessor457.invoke(Unknown Source)       
>  at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.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(ApplicationFilterChain.java:202)
>     at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>     at 
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>   at 
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>   at 
> org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.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.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.processConnection(Http11BaseProtocol.java:664)
>    at 
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>    at 
> org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
>      at java.lang.Thread.run(Thread.java:595)
> Any solution to this would be greatly appreciated!
> Thanks,
> Srivatsan

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to