TIBCO ActiveMatrix BusinessWorks™ applications fail to start after installing 5.15.1 HF02
book
Article ID: KB0070030
calendar_today
Updated On:
Products
Versions
TIBCO ActiveMatrix BusinessWorks
5.15.1 HF02
Description
In some scenarios, TIBCO ActiveMatrix BusinessWorks applications may fail to start after installing 5.15.1 HF02. The following error is encountered.
2024 Sep 23 01:38:50:124 GMT +0000 BW.HTTPApp-Process_Archive Error [BW-Core] BWENGINE-100001 io/opentelemetry/context/ImplicitContextKeyed java.lang.NoClassDefFoundError: io/opentelemetry/context/ImplicitContextKeyed at com.tibco.pe.model.ActivityReportGenerator.createDataModel(Unknown Source) at com.tibco.pe.model.ActivityReportGenerator.computeActivityData(Unknown Source) at com.tibco.pe.model.ProcessReport.analyzeActivity(Unknown Source) at com.tibco.pe.model.ProcessReport.analyze(Unknown Source) at com.tibco.pe.model.ProcessReport.analyzeOutboundTransition(Unknown Source) at com.tibco.pe.model.ProcessReport.analyzeOutbound(Unknown Source) at com.tibco.pe.model.ProcessReport.analyze(Unknown Source) at com.tibco.pe.model.ProcessReport.runit(Unknown Source) at com.tibco.pe.model.ProcessReport.<init>(Unknown Source) at com.tibco.pe.model.ProcessReport.<init>(Unknown Source) at com.tibco.pe.core.WorkflowBuilder.build(Unknown Source) at com.tibco.pe.core.WorkflowLoader.setWorkflows(Unknown Source) at com.tibco.pe.core.WorkflowLoader.loadWorkflows(Unknown Source) at com.tibco.pe.core.JobPoolConfigurator.completeStartup(Unknown Source) at com.tibco.pe.core.JobPoolConfigurator.configureJobPool(Unknown Source) at com.tibco.pe.core.JobPool.<init>(Unknown Source) at com.tibco.pe.core.JobPoolCreator.init(Unknown Source) at com.tibco.pe.core.JobPoolCreator.<init>(Unknown Source) at com.tibco.pe.PEMain.init(Unknown Source) at com.tibco.pe.PEMain.init(Unknown Source) at com.tibco.pe.PEMain.pemain(Unknown Source) at com.tibco.pe.PEMain.<init>(Unknown Source) at com.tibco.pe.PEMain.main(Unknown Source) Caused by: java.lang.ClassNotFoundException: io.opentelemetry.context.ImplicitContextKeyed at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581) at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521) ... 23 more
Issue/Introduction
In some scenarios, TIBCO ActiveMatrix BusinessWorks™ applications may encounter the error java.lang.NoClassDefFoundError: io/opentelemetry/context/ImplicitContextKeyed and fail to start after installing 5.15.1 HF02. This article explains how to fix the issue.
Resolution
The error is caused by not having the library files required for OpenTelemetry support in the classpath. A defect has been logged for this - BW-19862. To resolve the issue, apply one of the workarounds given below.
1. Add %BW_HOME%/lib/palettes/otel to tibco.env.STD_EXT_CP in deployed application .tra file and restart the application
OR
2. Redeploy the application. BW_HOME/bin/bwenigne.tra has the entry %BW_HOME%/lib/palettes/otel in tibco.env.STD_EXT_CP so any new deployments will add it to the application .tra file.