How to resolve Startup slowness issue for BE engines during loading BE Jar catalog functions

How to resolve Startup slowness issue for BE engines during loading BE Jar catalog functions

book

Article ID: KB0071637

calendar_today

Updated On:

Products Versions
TIBCO BusinessEvents Enterprise Edition 6.X

Description

In the log file, time delay reported while loading all jar files to validate where they include custom functions :-

2023 Jan 04 01:23:24:588 GMT +01 INFO [main] - [runtime.session] Registered Ontology Classes

2023 Jan 04 01:26:32:465 GMT +01  INFO [main] - [runtime.session] Loaded BE Jar catalog functions

Environment

All Operating systems

Resolution

Generally On first startup of an BE application in a new environment the agent has to load all jar files to validate they include custom functions. All files without custom functions added to a file in $BE_HOME/bin/_annotations.idx.

The delay on startup issue may be caused due to following reason:-

1) User that starts the BE agent has no permissions to  $BE_HOME/bin/_annotations.idx so that the BE agent needs to open and check all jar files in the configured classpath if they include custom functions

2) High number of jar files with BE custom functions in configured classpath

3) Slow disk so that it takes long to load the jar files with custom functions

Please review above root causes and take appropriate action to resolve the startup slowness issue.

Issue/Introduction

How to resolve Startup slowness issue for BE engines during loading BE Jar catalog functions