Petals ESB Container

Leak on PriorityOrdererModule

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 3.1
  • Fix Version/s: 3.1.1, 4.0.0
  • Component/s: Router
  • Security Level: Public
  • Description:
    Hide

    The Map 'exchangeTimeouts' is always growing.into the object org.ow2.petals.jbi.messaging.routing.module.PriorityOrdererModule. There is a issue into this code part:

    boolean found = false;

    synchronized (this.exchangePriority3) { found = this.exchangePriority3.remove(exchangeDecorator); }

    if (!found) {

    synchronized (this.exchangePriority2) { found = this.exchangePriority2.remove(exchangeDecorator); }

    }

    if (!found) {

    synchronized (this.exchangePriority1) { found = this.exchangePriority1.remove(exchangeDecorator); }

    }

    if (!found) {

    synchronized (this.exchangePriority0) { found = this.exchangePriority0.remove(exchangeDecorator); this.exchangeTimeouts.remove(exchangeDecorator); }

    }

    Show
    The Map 'exchangeTimeouts' is always growing.into the object org.ow2.petals.jbi.messaging.routing.module.PriorityOrdererModule. There is a issue into this code part: boolean found = false; synchronized (this.exchangePriority3) { found = this.exchangePriority3.remove(exchangeDecorator); } if (!found) { synchronized (this.exchangePriority2) { found = this.exchangePriority2.remove(exchangeDecorator); } } if (!found) { synchronized (this.exchangePriority1) { found = this.exchangePriority1.remove(exchangeDecorator); } } if (!found) { synchronized (this.exchangePriority0) { found = this.exchangePriority0.remove(exchangeDecorator); this.exchangeTimeouts.remove(exchangeDecorator); } }
  • Environment:
    Petals ESB 3.2-SNAPSHOT, RHEL 5, jdk 1.6.

Activity

Roland Naudin made changes - Thu, 5 Aug 2010 - 15:33:23 +0200
Field Original Value New Value
Priority Major [ 3 ]
Component/s Router [ 10070 ]
Component/s Transporter [ 10062 ]
Roland Naudin made changes - Thu, 5 Aug 2010 - 15:34:36 +0200
Status New [ 10000 ] Open [ 10002 ]
Roland Naudin made changes - Thu, 5 Aug 2010 - 15:35:53 +0200
Status Open [ 10002 ] In Progress [ 10003 ]
Roland Naudin made changes - Thu, 5 Aug 2010 - 15:35:57 +0200
Status In Progress [ 10003 ] Resolved [ 10004 ]
Resolution Fixed [ 1 ]
Christophe DENEUX made changes - Tue, 7 Sep 2010 - 16:25:25 +0200
Fix Version/s 3.1.1 [ 10107 ]
Fix Version/s 3.2 [ 10108 ]
Roland Naudin made changes - Wed, 22 Sep 2010 - 16:58:14 +0200
Link This issue blocks SPFTELROSE-2 [ SPFTELROSE-2 ]
Roland Naudin made changes - Wed, 22 Sep 2010 - 17:01:19 +0200
Link This issue blocks SPFTELROSE-2 [ SPFTELROSE-2 ]

People

Dates

  • Created:
    Thu, 5 Aug 2010 - 15:29:55 +0200
    Updated:
    Wed, 22 Sep 2010 - 17:01:19 +0200
    Resolved:
    Thu, 5 Aug 2010 - 15:35:57 +0200