TASF 5.12.0 admin component startup fails with java.lang.NoClassDefFoundError: com/tibco/tibrv/TibrvException when RV 8.6.1 is used

TASF 5.12.0 admin component startup fails with java.lang.NoClassDefFoundError: com/tibco/tibrv/TibrvException when RV 8.6.1 is used

book

Article ID: KB0071032

calendar_today

Updated On:

Products Versions
TIBCO Administrator - Enterprise Edition Distribution for TIBCO Silver Fabric 5.12.0

Description

TASF 5.12.0 admin component startup fails with java.lang.NoClassDefFoundError: com/tibco/tibrv/TibrvException when RV 8.6.1 is used.
We noticed that the RV 8.5 version is hardcoded in tibcoadmintra.template file under the distribution which caused this failure.
When we use the above stack to build the Admin component we got the below errors:(Uploaded the log file for reference)
------------------------------------------------
 INFO: [ProcessWrapper] [STDERR] Exception in thread "main" java.lang.NoClassDefFoundError: com/tibco/tibrv/TibrvException
INFO: [ProcessWrapper] [STDERR] Caused by: java.lang.ClassNotFoundException: com.tibco.tibrv.TibrvException
..
INFO: [ProcessWrapperObsLog] [STDOUT] Mon Oct 09 08:32:16 EDT 2023 Hawk Agent started successfully!
INFO: [AdminContainer] Exception message=Connection refused (Connection refused)
INFO: [AdminContainer] Exception message=Connection refused (Connection refused)
------------------------------------------------

Environment

Product Stack: SF: 6.0.3 SFTA: 2.9.0.11 TASF: 5.12.0.0 TRA: 5.12.1.1 Hawk: 6.2.2.0.1 RV: 8.6.1 EMSF: 8.6.0.0 SFEM: 2.3.0.1

Resolution

A] Stop the Admin stack
B] REPLACE  tibco.env.RV_HOME=%%TIBCO_RV_HOME%%/%%RV_VERSION%% with tibco.env.RV_HOME=%%TIBCO_RV_HOME%%/8.5 in tibcoadmintra.template in admin 5.12.0 distribution
C] Recreate a zip file of this distribution and replace it with the original gridlib under the 
/SF_HOME/fabric/webapps/livecluster/deploy/resources/gridlib
D] Clean up the FT location and clean up the DB schema used by the Admin component
E] Start the stack again and the component is working fine.

Issue/Introduction

TASF 5.12.0 admin component startup fails with java.lang.NoClassDefFoundError: com/tibco/tibrv/TibrvException when RV 8.6.1 is used

Attachments

TASF 5.12.0 admin component startup fails with java.lang.NoClassDefFoundError: com/tibco/tibrv/TibrvException when RV 8.6.1 is used get_app
TASF 5.12.0 admin component startup fails with java.lang.NoClassDefFoundError: com/tibco/tibrv/TibrvException when RV 8.6.1 is used get_app