You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Ron Gavlin (JIRA)" <ji...@apache.org> on 2009/02/12 23:02:59 UTC

[jira] Created: (SM-1803) BeanEndpoint.requests map leaks a request when sending in-only mep with seda flow to a TransformBeanSupport-extended bean

BeanEndpoint.requests map leaks a request when sending in-only mep with seda flow to a TransformBeanSupport-extended bean 
--------------------------------------------------------------------------------------------------------------------------

                 Key: SM-1803
                 URL: https://issues.apache.org/activemq/browse/SM-1803
             Project: ServiceMix
          Issue Type: Bug
          Components: servicemix-bean
    Affects Versions: servicemix-bean-2008.01
            Reporter: Ron Gavlin
            Priority: Blocker


The BeanEndpoint.requests map leaks a request when sending in-only mep with seda flow to a TransformBeanSupport-extended bean. In order to reproduce the problem, use TransformBeanSupportTest class as follows:

1. Set breakpoint on last statement in testInOnly()
2. Debug testInOnly()
3. When stopped at breakpoint, inspect BeanEndpoint.requests map and notice that the map is empty
4. Change configureContainer() to enable "seda" flow instead of "st" flow
5. Debug testInOnly()
6. When stopped at breakpoint, inspect BeanEndpoint.requests map and notice that a single request containing the client-sent message exchange still remains in the map. Here is the leak that causes OutOfMemoryErrors 

Please let me know if you need additional details.

/Ron


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


[jira] Updated: (SM-1803) BeanEndpoint.requests map leaks a request when sending in-only mep with seda flow to a TransformBeanSupport-extended bean

Posted by "Ron Gavlin (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SM-1803?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ron Gavlin updated SM-1803:
---------------------------

    Attachment:     (was: sm-1803-partial.patch)

> BeanEndpoint.requests map leaks a request when sending in-only mep with seda flow to a TransformBeanSupport-extended bean 
> --------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SM-1803
>                 URL: https://issues.apache.org/activemq/browse/SM-1803
>             Project: ServiceMix
>          Issue Type: Bug
>          Components: servicemix-bean
>    Affects Versions: servicemix-bean-2008.01
>            Reporter: Ron Gavlin
>            Priority: Blocker
>
> The BeanEndpoint.requests map leaks a request when sending in-only mep with seda flow to a TransformBeanSupport-extended bean. See attachment with unit tests and partial patch for details.

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


[jira] Updated: (SM-1803) BeanEndpoint.requests map leaks a request when sending in-only mep with seda flow to a TransformBeanSupport-extended bean

Posted by "Ron Gavlin (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SM-1803?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ron Gavlin updated SM-1803:
---------------------------

    Patch Info: [Patch Available]

Please review and apply patch to trunk as well as 3.2.x branch.

> BeanEndpoint.requests map leaks a request when sending in-only mep with seda flow to a TransformBeanSupport-extended bean 
> --------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SM-1803
>                 URL: https://issues.apache.org/activemq/browse/SM-1803
>             Project: ServiceMix
>          Issue Type: Bug
>          Components: servicemix-bean
>    Affects Versions: servicemix-bean-2008.01
>            Reporter: Ron Gavlin
>            Priority: Blocker
>         Attachments: sm-1803.patch
>
>
> The BeanEndpoint.requests map leaks a request when sending in-only mep with seda flow to a TransformBeanSupport-extended bean. See attachment with unit tests and partial patch for details.

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


[jira] Updated: (SMXCOMP-20) BeanEndpoint.requests map leaks a request when sending in-only mep with seda flow to a TransformBeanSupport-extended bean

Posted by "Gert Vanthienen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SMXCOMP-20?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gert Vanthienen updated SMXCOMP-20:
-----------------------------------

    Attachment: SMXCOMP-20.diff

Attaching patch while svn.apache.org is down

> BeanEndpoint.requests map leaks a request when sending in-only mep with seda flow to a TransformBeanSupport-extended bean 
> --------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SMXCOMP-20
>                 URL: https://issues.apache.org/activemq/browse/SMXCOMP-20
>             Project: ServiceMix Components
>          Issue Type: Bug
>          Components: servicemix-bean
>    Affects Versions: servicemix-bean-2008.01
>            Reporter: Ron Gavlin
>            Assignee: Gert Vanthienen
>            Priority: Blocker
>         Attachments: sm-1803.patch, SMXCOMP-20.diff
>
>
> The BeanEndpoint.requests map leaks a request when sending in-only mep with seda flow to a TransformBeanSupport-extended bean. See attachment with unit tests and partial patch for details.

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


[jira] Updated: (SM-1803) BeanEndpoint.requests map leaks a request when sending in-only mep with seda flow to a TransformBeanSupport-extended bean

Posted by "Ron Gavlin (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SM-1803?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ron Gavlin updated SM-1803:
---------------------------

    Comment: was deleted

> BeanEndpoint.requests map leaks a request when sending in-only mep with seda flow to a TransformBeanSupport-extended bean 
> --------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SM-1803
>                 URL: https://issues.apache.org/activemq/browse/SM-1803
>             Project: ServiceMix
>          Issue Type: Bug
>          Components: servicemix-bean
>    Affects Versions: servicemix-bean-2008.01
>            Reporter: Ron Gavlin
>            Priority: Blocker
>         Attachments: sm-1803.patch
>
>
> The BeanEndpoint.requests map leaks a request when sending in-only mep with seda flow to a TransformBeanSupport-extended bean. See attachment with unit tests and partial patch for details.

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


[jira] Resolved: (SMXCOMP-20) BeanEndpoint.requests map leaks a request when sending in-only mep with seda flow to a TransformBeanSupport-extended bean

Posted by "Gert Vanthienen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SMXCOMP-20?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gert Vanthienen resolved SMXCOMP-20.
------------------------------------

       Resolution: Fixed
    Fix Version/s: servicemix-bean-2009.01
                   3.2.4

Thanks to Ron for providing the initial patch for this issue!

Fixes have been committed:
- http://svn.eu.apache.org/viewvc?view=rev&revision=744995 for components trunk
- http://svn.eu.apache.org/viewvc?view=rev&revision=745021 for the ServiceMix 3.2.x maintenance branch

> BeanEndpoint.requests map leaks a request when sending in-only mep with seda flow to a TransformBeanSupport-extended bean 
> --------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SMXCOMP-20
>                 URL: https://issues.apache.org/activemq/browse/SMXCOMP-20
>             Project: ServiceMix Components
>          Issue Type: Bug
>          Components: servicemix-bean
>    Affects Versions: servicemix-bean-2008.01
>            Reporter: Ron Gavlin
>            Assignee: Gert Vanthienen
>            Priority: Blocker
>             Fix For: 3.2.4, servicemix-bean-2009.01
>
>         Attachments: sm-1803.patch, SMXCOMP-20.diff, SMXCOMP-20.diff
>
>
> The BeanEndpoint.requests map leaks a request when sending in-only mep with seda flow to a TransformBeanSupport-extended bean. See attachment with unit tests and partial patch for details.

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


[jira] Work started: (SMXCOMP-20) BeanEndpoint.requests map leaks a request when sending in-only mep with seda flow to a TransformBeanSupport-extended bean

Posted by "Gert Vanthienen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SMXCOMP-20?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on SMXCOMP-20 started by Gert Vanthienen.

> BeanEndpoint.requests map leaks a request when sending in-only mep with seda flow to a TransformBeanSupport-extended bean 
> --------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SMXCOMP-20
>                 URL: https://issues.apache.org/activemq/browse/SMXCOMP-20
>             Project: ServiceMix Components
>          Issue Type: Bug
>          Components: servicemix-bean
>    Affects Versions: servicemix-bean-2008.01
>            Reporter: Ron Gavlin
>            Assignee: Gert Vanthienen
>            Priority: Blocker
>         Attachments: sm-1803.patch
>
>
> The BeanEndpoint.requests map leaks a request when sending in-only mep with seda flow to a TransformBeanSupport-extended bean. See attachment with unit tests and partial patch for details.

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


[jira] Updated: (SM-1803) BeanEndpoint.requests map leaks a request when sending in-only mep with seda flow to a TransformBeanSupport-extended bean

Posted by "Ron Gavlin (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SM-1803?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ron Gavlin updated SM-1803:
---------------------------

    Attachment: sm-1803-unit-test.patch

I have attached a patch to the unit tests that exposes the problem.

> BeanEndpoint.requests map leaks a request when sending in-only mep with seda flow to a TransformBeanSupport-extended bean 
> --------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SM-1803
>                 URL: https://issues.apache.org/activemq/browse/SM-1803
>             Project: ServiceMix
>          Issue Type: Bug
>          Components: servicemix-bean
>    Affects Versions: servicemix-bean-2008.01
>            Reporter: Ron Gavlin
>            Priority: Blocker
>         Attachments: sm-1803-unit-test.patch
>
>
> The BeanEndpoint.requests map leaks a request when sending in-only mep with seda flow to a TransformBeanSupport-extended bean. In order to reproduce the problem, use TransformBeanSupportTest class as follows:
> 1. Set breakpoint on last statement in testInOnly()
> 2. Debug testInOnly()
> 3. When stopped at breakpoint, inspect BeanEndpoint.requests map and notice that the map is empty
> 4. Change configureContainer() to enable "seda" flow instead of "st" flow
> 5. Debug testInOnly()
> 6. When stopped at breakpoint, inspect BeanEndpoint.requests map and notice that a single request containing the client-sent message exchange still remains in the map. Here is the leak that causes OutOfMemoryErrors 
> Please let me know if you need additional details.
> /Ron

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


[jira] Updated: (SM-1803) BeanEndpoint.requests map leaks a request when sending in-only mep with seda flow to a TransformBeanSupport-extended bean

Posted by "Ron Gavlin (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SM-1803?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ron Gavlin updated SM-1803:
---------------------------

    Description: 
The BeanEndpoint.requests map leaks a request when sending in-only mep with seda flow to a TransformBeanSupport-extended bean. See attachment with unit tests and partial patch for details.


  was:
The BeanEndpoint.requests map leaks a request when sending in-only mep with seda flow to a TransformBeanSupport-extended bean. In order to reproduce the problem, use TransformBeanSupportTest class as follows:

1. Set breakpoint on last statement in testInOnly()
2. Debug testInOnly()
3. When stopped at breakpoint, inspect BeanEndpoint.requests map and notice that the map is empty
4. Change configureContainer() to enable "seda" flow instead of "st" flow
5. Debug testInOnly()
6. When stopped at breakpoint, inspect BeanEndpoint.requests map and notice that a single request containing the client-sent message exchange still remains in the map. Here is the leak that causes OutOfMemoryErrors 

Please let me know if you need additional details.

/Ron



> BeanEndpoint.requests map leaks a request when sending in-only mep with seda flow to a TransformBeanSupport-extended bean 
> --------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SM-1803
>                 URL: https://issues.apache.org/activemq/browse/SM-1803
>             Project: ServiceMix
>          Issue Type: Bug
>          Components: servicemix-bean
>    Affects Versions: servicemix-bean-2008.01
>            Reporter: Ron Gavlin
>            Priority: Blocker
>         Attachments: sm-1803-partial.patch
>
>
> The BeanEndpoint.requests map leaks a request when sending in-only mep with seda flow to a TransformBeanSupport-extended bean. See attachment with unit tests and partial patch for details.

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


[jira] Updated: (SM-1803) BeanEndpoint.requests map leaks a request when sending in-only mep with seda flow to a TransformBeanSupport-extended bean

Posted by "Ron Gavlin (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SM-1803?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ron Gavlin updated SM-1803:
---------------------------

    Attachment: sm-1803-partial.patch

This patch includes a new unit test to expose problems with SEDA flow and a partial patch that works for in-only and non-error/fault robust-in-only. Unit tests for in-out and robust-in-only (error & fault) are still broken. Please review.

> BeanEndpoint.requests map leaks a request when sending in-only mep with seda flow to a TransformBeanSupport-extended bean 
> --------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SM-1803
>                 URL: https://issues.apache.org/activemq/browse/SM-1803
>             Project: ServiceMix
>          Issue Type: Bug
>          Components: servicemix-bean
>    Affects Versions: servicemix-bean-2008.01
>            Reporter: Ron Gavlin
>            Priority: Blocker
>         Attachments: sm-1803-partial.patch
>
>
> The BeanEndpoint.requests map leaks a request when sending in-only mep with seda flow to a TransformBeanSupport-extended bean. In order to reproduce the problem, use TransformBeanSupportTest class as follows:
> 1. Set breakpoint on last statement in testInOnly()
> 2. Debug testInOnly()
> 3. When stopped at breakpoint, inspect BeanEndpoint.requests map and notice that the map is empty
> 4. Change configureContainer() to enable "seda" flow instead of "st" flow
> 5. Debug testInOnly()
> 6. When stopped at breakpoint, inspect BeanEndpoint.requests map and notice that a single request containing the client-sent message exchange still remains in the map. Here is the leak that causes OutOfMemoryErrors 
> Please let me know if you need additional details.
> /Ron

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


[jira] Updated: (SMXCOMP-20) BeanEndpoint.requests map leaks a request when sending in-only mep with seda flow to a TransformBeanSupport-extended bean

Posted by "Gert Vanthienen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SMXCOMP-20?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gert Vanthienen updated SMXCOMP-20:
-----------------------------------

    Attachment: SMXCOMP-20.diff

> BeanEndpoint.requests map leaks a request when sending in-only mep with seda flow to a TransformBeanSupport-extended bean 
> --------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SMXCOMP-20
>                 URL: https://issues.apache.org/activemq/browse/SMXCOMP-20
>             Project: ServiceMix Components
>          Issue Type: Bug
>          Components: servicemix-bean
>    Affects Versions: servicemix-bean-2008.01
>            Reporter: Ron Gavlin
>            Assignee: Gert Vanthienen
>            Priority: Blocker
>         Attachments: sm-1803.patch, SMXCOMP-20.diff, SMXCOMP-20.diff
>
>
> The BeanEndpoint.requests map leaks a request when sending in-only mep with seda flow to a TransformBeanSupport-extended bean. See attachment with unit tests and partial patch for details.

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


[jira] Updated: (SM-1803) BeanEndpoint.requests map leaks a request when sending in-only mep with seda flow to a TransformBeanSupport-extended bean

Posted by "Ron Gavlin (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SM-1803?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ron Gavlin updated SM-1803:
---------------------------

    Attachment: sm-1803.patch

The attached patch passes all existing unit tests as well as the new unit tests included in the patch.

> BeanEndpoint.requests map leaks a request when sending in-only mep with seda flow to a TransformBeanSupport-extended bean 
> --------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SM-1803
>                 URL: https://issues.apache.org/activemq/browse/SM-1803
>             Project: ServiceMix
>          Issue Type: Bug
>          Components: servicemix-bean
>    Affects Versions: servicemix-bean-2008.01
>            Reporter: Ron Gavlin
>            Priority: Blocker
>         Attachments: sm-1803.patch
>
>
> The BeanEndpoint.requests map leaks a request when sending in-only mep with seda flow to a TransformBeanSupport-extended bean. See attachment with unit tests and partial patch for details.

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


[jira] Updated: (SM-1803) BeanEndpoint.requests map leaks a request when sending in-only mep with seda flow to a TransformBeanSupport-extended bean

Posted by "Ron Gavlin (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SM-1803?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ron Gavlin updated SM-1803:
---------------------------

    Comment: was deleted

> BeanEndpoint.requests map leaks a request when sending in-only mep with seda flow to a TransformBeanSupport-extended bean 
> --------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SM-1803
>                 URL: https://issues.apache.org/activemq/browse/SM-1803
>             Project: ServiceMix
>          Issue Type: Bug
>          Components: servicemix-bean
>    Affects Versions: servicemix-bean-2008.01
>            Reporter: Ron Gavlin
>            Priority: Blocker
>
> The BeanEndpoint.requests map leaks a request when sending in-only mep with seda flow to a TransformBeanSupport-extended bean. In order to reproduce the problem, use TransformBeanSupportTest class as follows:
> 1. Set breakpoint on last statement in testInOnly()
> 2. Debug testInOnly()
> 3. When stopped at breakpoint, inspect BeanEndpoint.requests map and notice that the map is empty
> 4. Change configureContainer() to enable "seda" flow instead of "st" flow
> 5. Debug testInOnly()
> 6. When stopped at breakpoint, inspect BeanEndpoint.requests map and notice that a single request containing the client-sent message exchange still remains in the map. Here is the leak that causes OutOfMemoryErrors 
> Please let me know if you need additional details.
> /Ron

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


[jira] Assigned: (SMXCOMP-20) BeanEndpoint.requests map leaks a request when sending in-only mep with seda flow to a TransformBeanSupport-extended bean

Posted by "Gert Vanthienen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SMXCOMP-20?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gert Vanthienen reassigned SMXCOMP-20:
--------------------------------------

    Assignee: Gert Vanthienen

> BeanEndpoint.requests map leaks a request when sending in-only mep with seda flow to a TransformBeanSupport-extended bean 
> --------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SMXCOMP-20
>                 URL: https://issues.apache.org/activemq/browse/SMXCOMP-20
>             Project: ServiceMix Components
>          Issue Type: Bug
>          Components: servicemix-bean
>    Affects Versions: servicemix-bean-2008.01
>            Reporter: Ron Gavlin
>            Assignee: Gert Vanthienen
>            Priority: Blocker
>         Attachments: sm-1803.patch
>
>
> The BeanEndpoint.requests map leaks a request when sending in-only mep with seda flow to a TransformBeanSupport-extended bean. See attachment with unit tests and partial patch for details.

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


[jira] Updated: (SM-1803) BeanEndpoint.requests map leaks a request when sending in-only mep with seda flow to a TransformBeanSupport-extended bean

Posted by "Ron Gavlin (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SM-1803?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ron Gavlin updated SM-1803:
---------------------------

    Attachment:     (was: sm-1803-unit-test.patch)

> BeanEndpoint.requests map leaks a request when sending in-only mep with seda flow to a TransformBeanSupport-extended bean 
> --------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SM-1803
>                 URL: https://issues.apache.org/activemq/browse/SM-1803
>             Project: ServiceMix
>          Issue Type: Bug
>          Components: servicemix-bean
>    Affects Versions: servicemix-bean-2008.01
>            Reporter: Ron Gavlin
>            Priority: Blocker
>
> The BeanEndpoint.requests map leaks a request when sending in-only mep with seda flow to a TransformBeanSupport-extended bean. In order to reproduce the problem, use TransformBeanSupportTest class as follows:
> 1. Set breakpoint on last statement in testInOnly()
> 2. Debug testInOnly()
> 3. When stopped at breakpoint, inspect BeanEndpoint.requests map and notice that the map is empty
> 4. Change configureContainer() to enable "seda" flow instead of "st" flow
> 5. Debug testInOnly()
> 6. When stopped at breakpoint, inspect BeanEndpoint.requests map and notice that a single request containing the client-sent message exchange still remains in the map. Here is the leak that causes OutOfMemoryErrors 
> Please let me know if you need additional details.
> /Ron

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