ServiceMix Components
  1. ServiceMix Components
  2. SMXCOMP-295

Under high load JMS in/out provider fails to receive responses.

    Details

    • Patch Info:
      Patch Available

      Description

      Under high load JMS in/out provider fails to receive responses. It is a threading problem in JMS provider in/out exchange processing while doing template.receiveSelected() call to receive messages. This happens in a scenario where servicemix-jms consumer has more than 1 concurrent consumers (saw the problem with 5 concurrent consumer with 100 message and atleast 1 message being lost).

      I will attach a patch to resolve this shortly.

      1. SM-1513.patch
        2 kB
        Ulhas Bhole
      2. SM-1513-revert.patch
        1 kB
        Ulhas Bhole

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open In Progress In Progress
        22s 1 Ulhas Bhole 20/Aug/08 09:14
        In Progress In Progress Resolved Resolved
        17h 7m 1 Freeman Fang 21/Aug/08 02:21
        Resolved Resolved Reopened Reopened
        11d 12h 8m 1 Ulhas Bhole 01/Sep/08 14:29
        Reopened Reopened Resolved Resolved
        23h 33m 1 Freeman Fang 02/Sep/08 14:02
        Jeff Turner made changes -
        Project Import Sat Nov 27 01:42:42 EST 2010 [ 1290840162973 ]
        Gert Vanthienen made changes -
        Fix Version/s servicemix-jms-2008.01 [ 12030 ]
        Affects Version/s 3.2.2 [ 12006 ]
        Key SM-1513 SMXCOMP-295
        Affects Version/s 3.2.2 [ 11861 ]
        Component/s servicemix-jms [ 11794 ]
        Fix Version/s 3.2.3 [ 12005 ]
        Fix Version/s 3.3 [ 11850 ]
        Fix Version/s servicemix-jms-2008.01 [ 11943 ]
        Fix Version/s 3.3 [ 12055 ]
        Fix Version/s 3.2.3 [ 11910 ]
        Project ServiceMix [ 10950 ] ServiceMix Components [ 11080 ]
        Component/s servicemix-jms [ 11524 ]
        Guillaume Nodet made changes -
        Fix Version/s servicemix-jms-2008.01 [ 11943 ]
        Freeman Fang made changes -
        Resolution Fixed [ 1 ]
        Status Reopened [ 4 ] Resolved [ 5 ]
        Hide
        Freeman Fang added a comment -

        revert patch on behalf of Ulhas
        http://svn.apache.org/viewvc?rev=691222&view=rev for 3.2 branch
        http://svn.apache.org/viewvc?rev=691229&view=rev for servicemix-jms component project

        Show
        Freeman Fang added a comment - revert patch on behalf of Ulhas http://svn.apache.org/viewvc?rev=691222&view=rev for 3.2 branch http://svn.apache.org/viewvc?rev=691229&view=rev for servicemix-jms component project
        Hide
        Ulhas Bhole added a comment -

        Yes we do need to move to latest ActiveMQ version to get the fix for this problem. I just had a look at the pom.xml and Servicemix 3.2 uses old version 4.1.1 of ActiveMQ whereas the fix is applied to 5.x version and will be available in 5.2

        – Ulhas

        Show
        Ulhas Bhole added a comment - Yes we do need to move to latest ActiveMQ version to get the fix for this problem. I just had a look at the pom.xml and Servicemix 3.2 uses old version 4.1.1 of ActiveMQ whereas the fix is applied to 5.x version and will be available in 5.2 – Ulhas
        Hide
        Freeman Fang added a comment -

        Hi Ulhas,
        do we also need update amq version to pick up this fix?

        Freeman

        Show
        Freeman Fang added a comment - Hi Ulhas, do we also need update amq version to pick up this fix? Freeman
        Ulhas Bhole made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Hide
        Ulhas Bhole added a comment -

        Need to revert the fix (patch attahed) as the problem was identified in Apache ActiveMQ and fix by Jira https://issues.apache.org/activemq/browse/AMQ-1917

        Show
        Ulhas Bhole added a comment - Need to revert the fix (patch attahed) as the problem was identified in Apache ActiveMQ and fix by Jira https://issues.apache.org/activemq/browse/AMQ-1917
        Ulhas Bhole made changes -
        Attachment SM-1513-revert.patch [ 16924 ]
        Hide
        Ulhas Bhole added a comment -

        Reverting previous fix related to synchronization since the problem was identified and fixed in Apache ActiveMQ. Jira: https://issues.apache.org/activemq/browse/AMQ-1917

        Show
        Ulhas Bhole added a comment - Reverting previous fix related to synchronization since the problem was identified and fixed in Apache ActiveMQ. Jira: https://issues.apache.org/activemq/browse/AMQ-1917
        Freeman Fang made changes -
        Status In Progress [ 3 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Fix Version/s 3.3 [ 11850 ]
        Hide
        Freeman Fang added a comment -

        apply patch on behalf of Ulhas with thanks
        http://svn.apache.org/viewvc?rev=687529&view=rev for 3.2 branch
        http://svn.apache.org/viewvc?rev=687531&view=rev for trunk

        Show
        Freeman Fang added a comment - apply patch on behalf of Ulhas with thanks http://svn.apache.org/viewvc?rev=687529&view=rev for 3.2 branch http://svn.apache.org/viewvc?rev=687531&view=rev for trunk
        Ulhas Bhole made changes -
        Attachment SM-1513.patch [ 16899 ]
        Hide
        Ulhas Bhole added a comment -

        Patch for fixing the Threading problem in servicemix-jms provider while doing receiveselected() call.

        Show
        Ulhas Bhole added a comment - Patch for fixing the Threading problem in servicemix-jms provider while doing receiveselected() call.
        Ulhas Bhole made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Ulhas Bhole made changes -
        Field Original Value New Value
        Assignee Ulhas Bhole [ ulhasbhole ]
        Ulhas Bhole created issue -

          People

          • Assignee:
            Ulhas Bhole
            Reporter:
            Ulhas Bhole
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development