TIBCO Business Events (BE) engine throws the following exception at startup, how to solve it? java.lang.NoClassDefFoundError: com/tibco/pe/core/JobPoolCreatorat com.tibco.be.functions.bw.BWSupport.init

TIBCO Business Events (BE) engine throws the following exception at startup, how to solve it? java.lang.NoClassDefFoundError: com/tibco/pe/core/JobPoolCreatorat com.tibco.be.functions.bw.BWSupport.init

book

Article ID: KB0086825

calendar_today

Updated On:

Products Versions
TIBCO BusinessEvents Enterprise Edition -
Not Applicable -

Description

Resolution:
Issue
-------
You might see this exception, if you are invoking TIBCO Business Works (BW) engine from your BW process (In Process BW integration), and this is due to improper classpath in your TRA files.


Solution
----------
Please go through the BE Users Guide - Chapter 12 - In-Process Active Matrix Business Works integration, and add the approriate classpath from your BW installation to your classpath, and restart the engine.

Here is an example (excerpt from the above mentioned documentation)

1. Open BE_HOME\bin\be-engine.tra for editing.

2. Ensure that the property tibco.env.BW_HOME is present and uncommented.

3. Add the following properties and their values, taken from the bwengine.tra file, if they are present there:

tibco.env.BW_MIGRATION_APPEND_VERSION
tibco.env.BW_PLUGINS_HOME_OLD
tibco.env.BW_PLUGINS_HOME

4. Add the classpath to the ActiveMatrix BusinessWorks libraries to the tibco.env.CUSTOM_EXT_PREPEND_CP property. Below is an example property:

tibco.env.CUSTOM_EXT_PREPEND_CP=%BW_HOME%/hotfix/lib%PSP%%BW_HOME%/lib%PSP%%BW_HOME%/lib/palettes%PSP%%TRA_HOME%/hotfix/lib/palettes%PSP%%TRA_HOME%/lib/palettes%PSP%%TRA_HOME%/hotfix/icjava/6.2/lib%PSP%%TRA_HOME%/icjava/6.2/lib

5. Copy the tibco.env.CUSTOM_EXT_APPEND_CP property from bwengine.tra to be-engine.tra. For example:
tibco.env.CUSTOM_EXT_APPEND_CP=%TPCL_HOME%/tomcat/5.5/compatible/libtibco.env.CUSTOM_EXT_APPEND_CP=%TPCL_HOME%/tomcat/5.5/compatible/lib

Your property values will depend on what products you have installed. For example, TIBCO BusinessFactor prepends the classpath with the classpath to
its libraries.

6. Add the java.property.palettePath property and configure it as needed to include the path to all palettes used in the integration. For example:

java.property.palettePath%BW_HOME%/lib/palettes%PSP%%BW_PLUGINS_HOME%/lib/palettes%PSP%%TRA_HOME%/lib/palettes

7. For startup outside of a TIBCO Administrator domain (simple command-line startup), or from BusinessEvents debugger, add the following property:

tibco.bwrepourl = path-to-TIBCO Designer-project

Issue/Introduction

TIBCO Business Events (BE) engine throws the following exception at startup, how to solve it? java.lang.NoClassDefFoundError: com/tibco/pe/core/JobPoolCreatorat com.tibco.be.functions.bw.BWSupport.init