Business Event (BE) engine will not start because of java.lang.NoClassDefFoundError: com/tibco/tibrv/Tibrv errors.

Business Event (BE) engine will not start because of java.lang.NoClassDefFoundError: com/tibco/tibrv/Tibrv errors.

book

Article ID: KB0088340

calendar_today

Updated On:

Products Versions
TIBCO BusinessEvents Enterprise Edition -
Not Applicable -

Description

Resolution:
Description:
=========
BE-engine fails to start throwing errors because the Tibrv classes could not be loaded when starting RV channels.

Environment:
=========
All Platforms when the project uses RV channels.

Symptoms:
=========
The point of failure looks like the following:
2010 Jun 16 09:53:27:819 GMT -4 guy-T400.na.tibco.com Info [main] - [runtime.channel] Initialized Channel Manager
2010 Jun 16 09:53:27:944 GMT -4 guy-T400.na.tibco.com Error [main] - [root] java.lang.NoClassDefFoundError: com/tibco/tibrv/Tibrv
2010 Jun 16 09:53:27:944 GMT -4 guy-T400.na.tibco.com Error [main] - [root]     at com.tibco.cep.driver.tibrv.TibRvChannel.init(TibRvChannel.java:50)
2010 Jun 16 09:53:27:944 GMT -4 guy-T400.na.tibco.com Error [main] - [root]     at com.tibco.cep.runtime.channel.impl.ChannelManagerImpl.registerChannel(ChannelManagerImpl.java:92)
2010 Jun 16 09:53:27:944 GMT -4 guy-T400.na.tibco.com Error [main] - [root]     at com.tibco.cep.runtime.channel.impl.ChannelManagerImpl.init(ChannelManagerImpl.java:81)
2010 Jun 16 09:53:27:944 GMT -4 guy-T400.na.tibco.com Error [main] - [root]     at com.tibco.cep.runtime.session.impl.RuleServiceProviderImpl.initChannels(RuleServiceProviderImpl.java:1123)
2010 Jun 16 09:53:27:944 GMT -4 guy-T400.na.tibco.com Error [main] - [root]     at com.tibco.cep.runtime.session.impl.RuleServiceProviderImpl.initAll(RuleServiceProviderImpl.java:704)
2010 Jun 16 09:53:27:959 GMT -4 guy-T400.na.tibco.com Error [main] - [root]     at com.tibco.cep.runtime.session.impl.RuleServiceProviderImpl.configure(RuleServiceProviderImpl.java:203)
2010 Jun 16 09:53:27:959 GMT -4 guy-T400.na.tibco.com Error [main] - [root]     at com.tibco.cep.container.standalone.BEMain.jumpStart(BEMain.java:140)
2010 Jun 16 09:53:27:959 GMT -4 guy-T400.na.tibco.com Error [main] - [root]     at com.tibco.cep.container.standalone.BEMain.main(BEMain.java:52)
2010 Jun 16 09:53:27:959 GMT -4 guy-T400.na.tibco.com Error [main] - [root] Caused by: java.lang.ClassNotFoundException: com.tibco.tibrv.Tibrv
2010 Jun 16 09:53:27:959 GMT -4 guy-T400.na.tibco.com Error [main] - [root]     at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
2010 Jun 16 09:53:27:959 GMT -4 guy-T400.na.tibco.com Error [main] - [root]     at java.security.AccessController.doPrivileged(Native Method)
2010 Jun 16 09:53:27:959 GMT -4 guy-T400.na.tibco.com Error [main] - [root]     at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
2010 Jun 16 09:53:27:959 GMT -4 guy-T400.na.tibco.com Error [main] - [root]     at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
2010 Jun 16 09:53:27:959 GMT -4 guy-T400.na.tibco.com Error [main] - [root]     at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
2010 Jun 16 09:53:27:959 GMT -4 guy-T400.na.tibco.com Error [main] - [root]     at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
2010 Jun 16 09:53:27:959 GMT -4 guy-T400.na.tibco.com Error [main] - [root]     ... 8 more

Cause:
=========
RV_HOME is not set in be-engine.tra.  

Resolution:
Setting the RV_HOME correctly in the be-engine.tra solves the problem.

Issue/Introduction

Business Event (BE) engine will not start because of java.lang.NoClassDefFoundError: com/tibco/tibrv/Tibrv errors.