Products | Versions |
---|---|
TIBCO BusinessEvents Enterprise Edition | - |
Not Applicable | - |
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 <XXXX.projlib>
at com.tibco.pe.core.RepoLoader.a(RepoLoader.java:158)
at com.tibco.pe.core.RepoLoader.<init>(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.<init>(PEMain.java:192)
at com.tibco.pe.PEMain.<init>(PEMain.java:187)
at com.tibco.be.functions.bw.PEContainer.newBWMain(PEContainer.java:272)
at com.tibco.be.functions.bw.PEContainer.<init>(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.<library alias> <.projlib file path>
Example:
tibco.alias.sharedLibrary C:/SR/EDS/1-95R4X3/sharedLibrary.projlib