[ 
https://issues.apache.org/activemq/browse/SM-1179?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Justin Jose updated SM-1179:
----------------------------

    Attachment: ConsumerProcessor.java

I attached this file which contains I believe a more thorough fix to the 
problem. In addition to the problem mentioned in this issue, it is simply not 
enough to remove the exchange as the exchange is not marked done, or error and 
what not.  The attached code prevents the "memory" leak and the issue talked 
about in this issue as well as deals with the issues with the exchange status. 

> Exchange not found - Servicemix is totally blocked
> --------------------------------------------------
>
>                 Key: SM-1179
>                 URL: https://issues.apache.org/activemq/browse/SM-1179
>             Project: ServiceMix
>          Issue Type: Bug
>          Components: servicemix-http
>    Affects Versions: 3.1.1
>         Environment: RedHat
>            Reporter: Noseda Anne
>            Priority: Critical
>         Attachments: ConsumerProcessor.java, ConsumerProcessor_sm1179.patch, 
> smlog.log
>
>
> 11:49:06,069 | WARN  | btpool1-4  | jetty                    | 
> ervicemix.http.jetty.JCLLogger   96 | /janus/
> java.lang.IllegalStateException: Exchange not found
>         at 
> org.apache.servicemix.http.processors.ConsumerProcessor.process(ConsumerProcessor.java:186)
>         at 
> org.apache.servicemix.http.HttpBridgeServlet.doPost(HttpBridgeServlet.java:71)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
>         at 
> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
>         at 
> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:362)
>         at 
> org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712)
>         at 
> org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:211)
>         at 
> org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
>         at 
> org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
>         at org.mortbay.jetty.Server.handle(Server.java:313)
>         at 
> org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:506)
>         at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:375)
>         at 
> org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:396)
>         at 
> org.mortbay.jetty.nio.SelectChannelConnector$RetryContinuation.run(SelectChannelConnector.java:511)
>         at 
> org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442)
>  

-- 
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