TibrvException when launching be-engine using RV in the Studio debugger.

TibrvException when launching be-engine using RV in the Studio debugger.

book

Article ID: KB0084637

calendar_today

Updated On:

Products Versions
TIBCO BusinessEvents Enterprise Edition -
Not Applicable -

Description

Description:
When launching be-engine using RV in the Studio debugger, the following exception is thrown:"TibrvException[error=901,message=Library not found: tibrvjsd]", "internal exception: java.lang.UnsatisfiedLinkError: no tibrvjsd in java.library.path". The same application runs without error when using the command prompt.

Symptoms:
While launching be-engineusing RV in Studio debugger, the engine failed to start up with the following exception:

2011 Jul 19 10:31:11:389 GMT +8 192.168.69.49 Error [main] - [root] TibrvException[error=901,message=Library not found: tibrvjsd]
2011 Jul 19 10:31:11:389 GMT +8 192.168.69.49 Error [main] - [root]     at com.tibco.tibrv.Tibrv.loadLib(Tibrv.java:474)
2011 Jul 19 10:31:11:389 GMT +8 192.168.69.49 Error [main] - [root]     at com.tibco.tibrv.Tibrv.open(Tibrv.java:275)
2011 Jul 19 10:31:11:389 GMT +8 192.168.69.49 Error [main] - [root]     at com.tibco.cep.driver.tibrv.TibRvChannel.init(SourceFile:50)
2011 Jul 19 10:31:11:389 GMT +8 192.168.69.49 Error [main] - [root]     at com.tibco.cep.runtime.channel.impl.ChannelManagerImpl.registerChannel(ChannelManagerImpl.java:92)
2011 Jul 19 10:31:11:389 GMT +8 192.168.69.49 Error [main] - [root]     at com.tibco.cep.runtime.channel.impl.ChannelManagerImpl.init(ChannelManagerImpl.java:81)
2011 Jul 19 10:31:11:389 GMT +8 192.168.69.49 Error [main] - [root]     at com.tibco.cep.runtime.session.impl.RuleServiceProviderImpl.initChannels(RuleServiceProviderImpl.java:944)
2011 Jul 19 10:31:11:389 GMT +8 192.168.69.49 Error [main] - [root]     at com.tibco.cep.runtime.session.impl.RuleServiceProviderImpl.initAll(RuleServiceProviderImpl.java:567)
2011 Jul 19 10:31:11:389 GMT +8 192.168.69.49 Error [main] - [root]     at com.tibco.cep.runtime.session.impl.RuleServiceProviderImpl.configure(RuleServiceProviderImpl.java:212)
2011 Jul 19 10:31:11:389 GMT +8 192.168.69.49 Error [main] - [root]     at com.tibco.cep.container.standalone.BEMain.jumpStart(SourceFile:134)
2011 Jul 19 10:31:11:389 GMT +8 192.168.69.49 Error [main] - [root]     at com.tibco.cep.container.standalone.BEMain.main(SourceFile:53)
2011 Jul 19 10:31:11:389 GMT +8 192.168.69.49 Error [main] - [root] Internal exception:
2011 Jul 19 10:31:11:389 GMT +8 192.168.69.49 Error [main] - [root] java.lang.UnsatisfiedLinkError: no tibrvjsd in java.library.path
2011 Jul 19 10:31:11:404 GMT +8 192.168.69.49 Error [main] - [root]     at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1734)
2011 Jul 19 10:31:11:404 GMT +8 192.168.69.49 Error [main] - [root]     at java.lang.Runtime.loadLibrary0(Runtime.java:823)
2011 Jul 19 10:31:11:404 GMT +8 192.168.69.49 Error [main] - [root]     at java.lang.System.loadLibrary(System.java:1028)
2011 Jul 19 10:31:11:404 GMT +8 192.168.69.49 Error [main] - [root]     at com.tibco.tibrv.Tibrv.loadLib(Tibrv.java:468)
2011 Jul 19 10:31:11:404 GMT +8 192.168.69.49 Error [main] - [root]     at com.tibco.tibrv.Tibrv.open(Tibrv.java:275)
2011 Jul 19 10:31:11:404 GMT +8 192.168.69.49 Error [main] - [root]     at com.tibco.cep.driver.tibrv.TibRvChannel.init(SourceFile:50)
2011 Jul 19 10:31:11:404 GMT +8 192.168.69.49 Error [main] - [root]     at com.tibco.cep.runtime.channel.impl.ChannelManagerImpl.registerChannel(ChannelManagerImpl.java:92)
2011 Jul 19 10:31:11:404 GMT +8 192.168.69.49 Error [main] - [root]     at com.tibco.cep.runtime.channel.impl.ChannelManagerImpl.init(ChannelManagerImpl.java:81)
2011 Jul 19 10:31:11:404 GMT +8 192.168.69.49 Error [main] - [root]     at com.tibco.cep.runtime.session.impl.RuleServiceProviderImpl.initChannels(RuleServiceProviderImpl.java:944)
2011 Jul 19 10:31:11:404 GMT +8 192.168.69.49 Error [main] - [root]     at com.tibco.cep.runtime.session.impl.RuleServiceProviderImpl.initAll(RuleServiceProviderImpl.java:567)
2011 Jul 19 10:31:11:404 GMT +8 192.168.69.49 Error [main] - [root]     at com.tibco.cep.runtime.session.impl.RuleServiceProviderImpl.configure(RuleServiceProviderImpl.java:212)
2011 Jul 19 10:31:11:404 GMT +8 192.168.69.49 Error [main] - [root]     at com.tibco.cep.container.standalone.BEMain.jumpStart(SourceFile:134)
2011 Jul 19 10:31:11:404 GMT +8 192.168.69.49 Error [main] - [root]     at com.tibco.cep.container.standalone.BEMain.main(SourceFile:53)

Cause:
If using an RV channel, make sure that java.library.path or environment path contains reference to the directory containing the RV DLLs or on Unix the .so files.

Issue/Introduction

TibrvException when launching be-engine using RV in the Studio debugger.

Resolution

1). Check your Debug/Run Configuration. Go to the Environment tab, check if %RV_HOME%/bin is set in the value for the Variable Path.

2). Add %RV_HOME%/bin to tibco.env.PATH to the %TIBCO_HOME%/be/5.0/studio/eclipse/configuration/studio.tra file. It will take effect in the newly created Debug Configurations.

Attachments

TibrvException when launching be-engine using RV in the Studio debugger. get_app