TIBCO BusinessEvents (BE) be-engine throws the error: NoClassDefFoundError for com/tibco/tibrv/TibrvException in Administrator.

TIBCO BusinessEvents (BE) be-engine throws the error: NoClassDefFoundError for com/tibco/tibrv/TibrvException in Administrator.

book

Article ID: KB0093359

calendar_today

Updated On:

Products Versions
TIBCO BusinessEvents Enterprise Edition -
Not Applicable -

Description

Description:
BE engine will not start but instead throws an error of: 

[container.standalone] com/tibco/tibrv/TibrvExceptionjava.lang.NoClassDefFoundError: com/tibco/tibrv/TibrvException
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at com.tibco.cep.runtime.session.RuleAdministratorFactory.createRuleAdministrator(RuleAdministratorFactory.java:21)
at com.tibco.cep.runtime.session.impl.RuleServiceProviderImpl.initialize(RuleServiceProviderImpl.java:527)
at com.tibco.cep.runtime.session.impl.RuleServiceProviderImpl.<init>(RuleServiceProviderImpl.java:172)
at com.tibco.cep.runtime.session.RuleServiceProviderManager.newProvider(RuleServiceProviderManager.java:207)
at com.tibco.cep.container.standalone.BEMain.jumpStart(SourceFile:126)
at com.tibco.cep.container.standalone.BEMain.main(SourceFile:70)

Caused by: java.lang.ClassNotFoundException: com.tibco.tibrv.TibrvException
at java.net.URLClassLoader$1.run(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
 at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
 at java.lang.ClassLoader.loadClass(Unknown Source) ... 8 more


Symptoms:
See above.

Cause:
The jar file and libs for RV can not be found because RV_HOME was not set in be-engine.tra. Setting this correctly and redeploying fixes the problem.

Note, HAWK_HOME was set correctly so you would not see this error if HAWK_HOME was also not set.

Issue/Introduction

TIBCO BusinessEvents (BE) be-engine throws the error: NoClassDefFoundError for com/tibco/tibrv/TibrvException in Administrator.

Resolution

Set RV_HOME in be-engine.tra and redeploy the application.