In TIBCO BusinessEvents 3.x, the, "Failed to init instrument" or "Error occurred during initialization of VM" exception is thrown on starting TIBCO BusinessEvents(BE) Engine

book

Article ID: KB0091996

calendar_today

Updated On:

Products Versions
TIBCO BusinessEvents Enterprise Edition -
Not Applicable -

Description

Resolution:
Description:
============
In TIBCO BusinessEvents 3.x, "Failed to init instrument" exception is thrown on starting TIBCO BusinessEvents(BE) Engine
  Or
"Error occurred during initialization of VM"  


Environment:
==========
TIBCO BusinessEvents

Symptoms:
=========
Following errors can occur -                                                                            

Failed to init instrument exception is thrown on starting BE
     OR

Error opening zip file: C:/Program
Error occurred during initialization of VM agent library failed to init: instrument
     OR

Error opening zip file: C:/tibco/be/3.0/lib/cep-instrumentation.jar
Error occurred during initialization of VM agent library failed to init: instrument


Resolution:
==========
1). Check if the cep-instrumentation.jar is present in the %BE_HOME%/lib directory.


2). Check for the space in the BE installation directory. For example, if the TIBCO installation directory is    C:\Program Files\Tibco, then follow these steps -

a).  The exception is occurr because at start-up BE is not able to find the cep-instrumentation.jar stored  at "../..Program Files.../cep-instrumentation.jar/"
            

  b).  Change the reference of "cep-instrumentation.jar" in java.extended.properties, so that at run time the cep-instrumentation.jar is found. You may have to change BE_HOME in the following line in the .tra file to a fully specified path so that Program Files become Progra~1          

      java.extended.properties=-server -Xms1024m -Xmx1024m -javaagent:%BE_HOME%/lib/cep-instrumentation.jar    
      to      
      java.extended.properties=-server -Xms1024m -Xmx1024m -javaagent:C:/Progra~1/Tibco/be/3.0/lib/cep-instrumentation.jar

Issue/Introduction

In TIBCO BusinessEvents 3.x, the, "Failed to init instrument" or "Error occurred during initialization of VM" exception is thrown on starting TIBCO BusinessEvents(BE) Engine