“Library alias undefined [;projname;.projlib]” exception seen when running a BW project from the command line.

“Library alias undefined [;projname;.projlib]” exception seen when running a BW project from the command line.

book

Article ID: KB0089458

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix BusinessWorks -
Not Applicable -

Description

Description:
When running a BW project with Projlibs from the command line, the following exception may be seen: “Library alias undefined [<projname>.projlib]” .
Symptoms:
Library alias undefined [<projname>.projlib] exception in the console.

Cause:
Library alias not found.

Issue/Introduction

“Library alias undefined [;projname;.projlib]” exception seen when running a BW project from the command line.

Resolution

Create a properties file (Example: Testprojlib.properties) under C:\<Folder_name>,  and put the following line into the properties file:

tibco.alias.<Project_name>.projlib=/<Project_name>.projlib 


Run the bwengine command as: 
bwengine -p "C:\<Folder_name>\Testprojlib.properties" c:\<project>