Introducing the all-new TIBCO Community site!

For current users, please click "Sign In" to reset your password and access the enhanced features. If you're a first-time visitor, we extend a warm welcome—click "Sign Up" to become a part of the TIBCO Community!

If you're seeking alternative community sites, explore ibi, Jaspersoft, and Spotfire.

Jump to content

External Command


m k 2

Recommended Posts

Hello, question regarding "External Command" Palette

I have a shell script which i like to execute on daily basis at certain time. This shell script, stop and start a BW process. Shell script is located under /home/tibco/RestartScript.sh. I run the RestartScript.sh script from command line (Linux server) and it works find. Now i like to use that script in BW process

below is the BW process. I deployed this process using TIBCO administrator on Linux server.

its throwing this error. does anyone know the cause I have tried different combination in "command" and got the same error

combination 1 : ./RestartScript.sh

=========================

Error: Error executing external command ./RestartScript.sh: java.io.IOException: Cannot run program "./RestartScript.sh" (in directory "/home/tibco"): error=2, No such file or directory.BW-CMD-100001

combination 2 : /home/tibco/RestartScript.sh

=========================

Error: Error executing external command /home/tibco/RestartScript.sh: java.io.IOException: Cannot run program "/home/tibco/RestartScript.sh" (in directory "/home/tibco"): error=2, No such file or directory.BW-CMD-100001

Link to comment
Share on other sites

  • 2 years later...
×
×
  • Create New...