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

ifdb314 edited comment on SM-1179 at 8/25/08 9:33 AM:
----------------------------------------------------------

I attached this file (ConsumerProcessor.java) from package: 
org.apache.servicemix.http.processors;   which contains what I believe is 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.  This fix was load tested and profiled before and 
after the fix and is confirmed to have fixed the memory leak and exchange 
issues.

      was (Author: ifdb314):
    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.  
This fix was load tested and profiled before and after the fix and is confirmed 
to have fixed the memory leak and exchange issues.
  
> 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