In BusinessEvents 3.x, running the Engine from the command line when Design Time libraries are used in Tibco Designer.

book

Article ID: KB0085659

calendar_today

Updated On:

Products Versions
TIBCO BusinessEvents Enterprise Edition -
Not Applicable -

Description

Resolution:
Description:
============
In BusinessEvents 3.x, running the Engine from the command line when Design Time libraries are used in Tibco Designer.


Environment:
==========
TIBCO BusinessEvents 3.0.1
TIBCO Designer


Symptoms:
=========
BE Engine throws the following exception -

Library alias undefined &ltXXXX.projlib>
at com.tibco.pe.core.RepoLoader.a(RepoLoader.java:158)
    at com.tibco.pe.core.RepoLoader.&ltinit>(RepoLoader.java:110)
    at com.tibco.pe.PEMain.do(PEMain.java:332)
    at com.tibco.pe.PEMain.a(PEMain.java:197)
    at com.tibco.pe.PEMain.&ltinit>(PEMain.java:192)
    at com.tibco.pe.PEMain.&ltinit>(PEMain.java:187)
    at com.tibco.be.functions.bw.PEContainer.newBWMain(PEContainer.java:272)
    at com.tibco.be.functions.bw.PEContainer.&ltinit>(PEContainer.java:85)
    at com.tibco.be.functions.bw.PEContainer.getInstance(PEContainer.java:102)
    at com.tibco.be.functions.bw.PEContainer.waitForBW(PEContainer.java:429)
    at com.tibco.be.functions.bw.PEContainer.invokeProcess(PEContainer.java:221)
    at com.tibco.be.functions.bw.BWSupport.invokeProcess(BWSupport.java:123)

Cause:
=====
To run from the command line referring to the project directory, one needs to specify the location of the projlib
since it is not part of the ear file.

Resolution:
==========
Set the following property in the be-engine.tra file:
    
     tibco.alias.&ltlibrary alias>   <.projlib file path>
    
Example:
     tibco.alias.sharedLibrary C:/SR/EDS/1-95R4X3/sharedLibrary.projlib

Issue/Introduction

In BusinessEvents 3.x, running the Engine from the command line when Design Time libraries are used in Tibco Designer.