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

Transition Status Change Time Execution Times Last Executer Last Execution Date
New New Open Open
4m 41s
1
Roland Naudin
Thu, 5 Aug 2010 - 15:34:36 +0200
Open Open In Progress In Progress
1m 17s
1
Roland Naudin
Thu, 5 Aug 2010 - 15:35:53 +0200
In Progress In Progress Resolved Resolved
4s
1
Roland Naudin
Thu, 5 Aug 2010 - 15:35:57 +0200

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