In TIBCO BusinessEvents the builtin function XPath.evalAsString may not work correctly in version 5.x after migrating project from version 4.x .

In TIBCO BusinessEvents the builtin function XPath.evalAsString may not work correctly in version 5.x after migrating project from version 4.x .

book

Article ID: KB0090296

calendar_today

Updated On:

Products Versions
TIBCO BusinessEvents Enterprise Edition -
Not Applicable -

Description

Resolution:
Description:
=========
In TIBCO BusinessEvents the builtin function XPath.evalAsString may not work correctly in version 5.x after migrating project from version 4.x .

Environment:
============
TIBCO BusinessEvents 4.x,5.x
Operating System(s): All

Symptoms:
============
String evalAsString (String path) returns correct value in version 4.x but returns null value in version 5.x

Resolution:
============
The error is caused due other parser libraries that are present in the classpath of the BusinessEvents engine . Refer to the tra file (be-engine.tra) in the bin directory of BusinessEvents installation and remove any other parser libraries that maybe present directly or indirectly in the classpath .

Example : If the tra file has tibco.env.BW_LIBPATH key value set to some path which contains some other parser library it could override the BusinessEvents parser libraries and cause the above error during runtime .

Issue/Introduction

In TIBCO BusinessEvents the builtin function XPath.evalAsString may not work correctly in version 5.x after migrating project from version 4.x .