Catalog function Engine.numberOfEvents() returns wrong number of Events in memory.

Catalog function Engine.numberOfEvents() returns wrong number of Events in memory.

book

Article ID: KB0090977

calendar_today

Updated On:

Products Versions
TIBCO BusinessEvents Enterprise Edition -
Not Applicable -

Description

Resolution:
Description:
===========
Catalog function Engine.numberOfEvents() returns wrong number of Events in memory.

Environment:
===========
TIBCO Business Events 5.n
All Operating Systems

Symptoms:
=========
Catalog function Engine.numberOfEvents() returns wrong number of Events in memory when ObjectManagement for the project is set to "inMemory" and statemachines with state timeouts used in the project.

Cause:
======
Business Events handles state timeouts as timer events. By default state timeouts will not be removed if timeout not reached.

Resolution:
========
- Add the following properties to the tra file

be.engine.statemachine.deleteStateTimeoutOnStateExit=true
be.engine.om.removeRefOnDeleteNonRepeatingTimeEvent=true

NOTE:
Properties are also recommended to save memory

Issue/Introduction

Catalog function Engine.numberOfEvents() returns wrong number of Events in memory.