Correcting error "config file problem: "${STREAMBASE_HOME}/lib/junit.jar": no such file or directory"

Correcting error "config file problem: "${STREAMBASE_HOME}/lib/junit.jar": no such file or directory"

book

Article ID: KB0078354

calendar_today

Updated On:

Products Versions
TIBCO Streaming 7.x

Description

When deploying the TIBCO StreamBase project to another system, immediately after running sbd I get error:
[error] config file problem: "${STREAMBASE_HOME}/lib/junit.jar": no such file or directory
The junit.jar file exists in "/opt/tibco/sb-cep/7.7/lib/". What could be the problem?

Issue/Introduction

The STREAMBASE_HOME environment variable is not set.

Resolution

If you are see ${STREAMBASE_HOME} in the error message, as so:
  [error] config file problem: "${STREAMBASE_HOME}/lib/junit.jar": no such file or directory
...then it means that STREAMBASE_HOME is not set in the runtime environment. If STREAMBASE_HOME was set, then you should see its replacement, as so (example):
  [error] config file problem: "C:/tibco/sb-cep/7.7/lib/missing.jar": no such file or directory
...after having set STREAMBASE_HOME=C:/tibco/sb-cep/7.7 .

Double-check the user account being used to run sbd and make sure that account has the appropriate environment created using that account's .bash_profile (all of our linux shell-script examples assume bash is being used).

Please see this product documentation page for instructions how to configure the user environment:
  TIBCO StreamBase Documentation > Installation Guide > Configuring Shells for StreamBase, "Shell Settings for Linux"