Java Compile initialization error upon deployment.

Java Compile initialization error upon deployment.

book

Article ID: KB0092877

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix BusinessWorks -
Not Applicable -

Description

Description:
A process with Java code activity will fail with initialization errors due to Java compile errors on deployment even though there were no issues at Design time.
Symptoms:
The following error is seen in the application log.
+++++++++

caused by: Initialization error in .....]

        at com.tibco.pe.core.TaskImpl.init(TaskImpl.java:368)

        at com.tibco.pe.core.WorkflowBuilder.buildGroup(WorkflowBuilder.java:254)

        at com.tibco.pe.core.WorkflowBuilder.build(WorkflowBuilder.java:167)

        at com.tibco.pe.core.WorkflowLoader.setWorkflows(WorkflowLoader.java:116)

        at com.tibco.pe.core.WorkflowLoader.loadWorkflows(WorkflowLoader.java:89)

        at com.tibco.pe.core.JobPoolConfigurator.completeStartup(JobPoolConfigurator.java:223)

        at com.tibco.pe.core.JobPoolConfigurator.configureJobPool(JobPoolConfigurator.java:117)

        at com.tibco.pe.core.JobPool.<init>(JobPool.java:349)

        at com.tibco.pe.core.JobPoolCreator.init(JobPoolCreator.java:83)

        at com.tibco.pe.core.JobPoolCreator.<init>(JobPoolCreator.java:75)

        at com.tibco.pe.PEMain.init(PEMain.java:430)

        at com.tibco.pe.PEMain.init(PEMain.java:254)

        at com.tibco.pe.PEMain.pemain(PEMain.java:205)

        at com.tibco.pe.PEMain.<init>(PEMain.java:192)

        at com.tibco.pe.PEMain.main(PEMain.java:130)

caused by: The activity was not compiled

        at com.tibco.plugin.java.JavaActivity.init(JavaActivity.java:116)

        at com.tibco.pe.core.TaskImpl.init(TaskImpl.java:339)

+++++++


Cause:

This error can occur when using different JRE versions in Designer and BW engine. 

Issue/Introduction

Java Compile initialization error upon deployment.

Resolution

Compare the following Java properties in designer.tra and bwengine.tra to see if they all point to the same JRE version. If not, change them to be consistent.


tibco.env.JVM_LIB_PATH

tibco.env.JVM_LIB_DIR

tibco.env.JVM_LIB_SERVER_DIR

tibco.env.TIB_JAVA_HOME