Running Deployed Application Outside TIBCO Administrator

There are times when you don't have full access to TIBCO Administrator but you have full access to the UNIX server where the application was deployed and you wanted to start an application. You can do that on the terminal by running the shell script that is automatically created upon deploying the application.

Go to <TRA_DOMAIN_HOME>:
/tibco/tra/domain/<DOMAIN_NAME>/application/<APPLICATION_NAME>

APPLICATION_NAME is the name you have given to the Enterprise Archive resource in your Designer project. After deploying the application, a script file and a TRA file are created into this path. You can also check it on TIBCO Administrator and it is part of the Deployment Name after the dash.
You can directly run the shell file as a separate process (by using ampersand), or you can issue the following:

<TIBCO_BW_HOME>/bwengine --run --pid --propFile <PATH_TO_APPLICATION_TRA_FILE>

There is one downside to using the shell file since it creates a different process and you have to manually kill that process. To verify if the service instance has successfully run, you can issue the following:

ps -ef | grep <APPLICATION_NAME>

Comments

Popular posts from this blog

XML Schema and JSON Schema Validation in Mule 4

Parsing a JSON String and Converting it to XML in TIBCO

Using XML To Java in TIBCO BW