In TIBCO BusinessEvents 3.x, when deploying a project in TIBCO Decision Manager having Database Concepts (DB Concepts); "NoClassDefFoundError" is thrown on Decision Manager console.

In TIBCO BusinessEvents 3.x, when deploying a project in TIBCO Decision Manager having Database Concepts (DB Concepts); "NoClassDefFoundError" is thrown on Decision Manager console.

book

Article ID: KB0084506

calendar_today

Updated On:

Products Versions
TIBCO BusinessEvents Enterprise Edition -
Not Applicable -

Description

Resolution:
Description:
==========

In TIBCO BusinessEvents 3.x, when deploying a project in TIBCO Decision Manager having Database Concepts (DB Concepts);
"NoClassDefFoundError" is thrown on Decision Manager console.


Environment:
==========
TIBCO BusinessEvents 3.x
TIBCO BusinessEvents Decision Manager


Symptoms:
=========
The following error is thrown on the Decision Manager Console -

java.lang.NoClassDefFoundError: com/tibco/cep/modules/db/model/runtime/AbstractDBConceptImpl
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:465)
    at com.tibco.cep.runtime.service.loader.ClassManager.findClass(ClassManager.java:87)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    at com.tibco.cep.runtime.service.loader.ClassManager.loadClass(ClassManager.java:108)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:242)
    at com.tibco.cep.util.CodegenFunctions.classForName(CodegenFunctions.java:380)
    at be.gen.Rules.VirtualFunction.&ltclinit>(VirtualFunction.java:7)

Cause:
=====
The error is due to a classpath problem. There are certain class files which exists in cep-modules.jar but are not available in the Decision Manager Classpath.


Resolution:
==========
1).Browse the folder at &ltTIBCO_HOME>\be\3.0\DecisionManager\configuration      

2).Open the bui-config.tra file and append the following line for the property "tibco.bui.codegen.prepend_classpath"
    &ltTIBCO_HOME>/be/3.0/hotfix/lib/cep-modules.jar;&ltTIBCO_HOME>/be/3.0/lib/cep-modules.jar

NOTE: Provide the value for the TIBCO_HOME, for example, C:/tibco

3). After saving the file, open the Decision Manager and Deploy the project having DB Concepts.

Issue/Introduction

In TIBCO BusinessEvents 3.x, when deploying a project in TIBCO Decision Manager having Database Concepts (DB Concepts); "NoClassDefFoundError" is thrown on Decision Manager console.