Resolution: Abstract:
======
What does "Activity not yet configured.: java.lang.NoClassDefFoundError" mean and how to address it?
Description:
=======
Engine process goes into standby mode directly on starting up. Checking the tracing logs indicates the error:
"Activity not yet configured.: java.lang.NoClassDefFoundError
at com.tibco.plugin.jdbc.JDBCQueryActivity.setConfigParms(JDBCQueryActivity.java:404)
at com.tibco.pe.plugin.Activity.setConfigParms(Activity.java:354)
at com.tibco.pe.model.ActivityReportGenerator.computeActivityData(ActivityReportGenerator.java:80)"
or
"Activity not yet configured.: java.lang.NoClassDefFoundError
at com.tibco.plugin.jdbc.JDBCUpdateActivity.setConfigParms(JDBCUpdateActivity.java:137)
at com.tibco.pe.plugin.Activity.setConfigParms(Activity.java:354)
at com.tibco.pe.model.ActivityReportGenerator.computeActivityData(ActivityReportGenerator.java:80)"
The error indicates that the class definition was not not found for JDBC. This issue happens for all JDBC related activities in the process.
Environment:
========
TIBCO ActiveMatrix BusinessWorks / All
Symptoms:
=======
You will find the error "Activity not yet configured.: java.lang.NoClassDefFoundError" in the tracing logs associated with activities in the process where the JDBC activity is involved. The errors are seen for inset/update, JDBC, query, etc.
Cause:
====
ojdbc JAR mismatch.
Resolution:
=======
The following are recommended to address the memory issue: "Activity not yet configured.: java.lang.NoClassDefFoundError".
1). For the affected application or engine process, check the ojdbc JAR in use as per the DB version.
2). Keep only the required ojdbc JAR in the tpcl folder and remove the unwanted or extra one.