TIBCO BusinessEvents Inference Agent crashes at startup or at random after upgrading the default Java Runtime (JRE) version shipped with the product.

TIBCO BusinessEvents Inference Agent crashes at startup or at random after upgrading the default Java Runtime (JRE) version shipped with the product.

book

Article ID: KB0088152

calendar_today

Updated On:

Products Versions
TIBCO BusinessEvents Enterprise Edition -
Not Applicable -

Description

Resolution:
Description:
============
After upgrading the default Java Runtime (JRE) version shipped with TIBCO BusinessEvents, JVM running TIBCO BusinessEvents (BE) Inference Agent crashes at startup or at random. The crash generates hs_err_pidxxx.log files.


Environment:
==========
TIBCO BusinessEvents Release 3.x, 4.x
Java Runtime - JRE release 6.0_23 or above.


Symptoms:
=========
After the upgrade of JRE, the inference engine JVM is crashes and is creates a JVM fatal crash report file named as hs_err_pidxxx.log, with the following entries.

#  SIGSEGV (0xb) at pc=0xffffffff76af2ce8, pid=xxxx, tid=402
#
# JRE version: 6.0_23-b05
# Java VM: Java HotSpot(TM) 64-Bit Server VM
# Problematic frame:
# J  com.tibco.cep.util.CodegenFunctions.stringEQ(Ljava/lang/String;Ljava/lang/String;)Z



Cause:

=====
The issue is with the JRE release. Oracle has acknowledged the same and issued a fix in later releases of JRE. As per the Oracle Release Notes, the issue is fixed in JRE 6u27-rev(b22)  and in JRE 7 (JRE 7 release notes also has this). See References section for more details.


Resolution:
=========
The recommendation is to use the JRE version certified/bundled with the TIBCO BusinessEvents release or use a JRE release which fixes this issue.


WorkAround:

===========

As a workaround you can use the JVM Parameter: -XX:CompileCommand=exclude,com/tibco/cep/util/CodegenFunctions,stringEQ, in your &ltbe engine>.TRA file



References:

==========

http://www.oracle.com/technetwork/java/javase/documentation/overview-156328.html

http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=2213282 -- JRE 1.6 patch 27 .

http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7041100 -- in JRE 7.0

Issue/Introduction

TIBCO BusinessEvents Inference Agent crashes at startup or at random after upgrading the default Java Runtime (JRE) version shipped with the product.