Home » How to use AppManage command in TIBCO BW5

How to use AppManage command in TIBCO BW5

by codesecho
0 comment

TIBCO appmanage command in BW5 is used to manage applications in TIBCO Administrator. It allows you to perform various operations such as deploying applications, starting and stopping applications, viewing application properties, and more.

Path To find AppManage Command

/tibco/tra/<version>/bin

Syntax

appmanage <operation> [options]

Operations :

  • deploy: Deploy an application.
  • undeploy: Undeploy an application.
  • start: Start an application.
  • stop: Stop an application.
  • list: List deployed applications.
  • get: Get application properties.
  • set: Set application properties.
  • enable: Enable an application.
  • disable: Disable an application.
  • delete: Delete an application.
  • status: Get the status of an application.
  • restart: Restart an application.

Options:

  • -ear <ear_file>: Specify the path to the EAR file for deployment.
  • -app <application_name>: Specify the application name.
  • -prop <property_name=value>: Set application properties.
  • -version <version>: Specify the application version.
  • -cluster <cluster_name>: Specify the cluster name for clustered applications.
  • -domain <domain_name>: Specify the domain name.

Scenarios Example:

tibco_appmanage

tibco_appmanage

How Can I build the EAR file in TIBCO BW5?.

buildear -s -ear /Project_tibco.archive -o D:\ears_path\deployment\Project_tibco.ear -p D:\tibco\projects\Project_tibco

How Can I create the deployment configuration file ear and xml from the existing EAR file?.

AppManage -export -ear D:\ears_path\deployment\Project_tibco.ear -out D:\ears_path\deployments\Project_tibco.xml

How Can I upload a New EAR file?.

AppManage -upload -ear D:\ears_path\timer_wait.ear -user admin -pw admin -domain TIBCO_TEST_DOMAIN_DV

How Can I deploy the application?.

AppManage -deploy -ear D:\ears_path\deployment\Project_tibco.ear -deployconfig D:\ears_path\deployment\Project_tibco_TIBCO_TEST_DOMAIN_DV.xml -app Project_tibco -domain TIBCO_TEST_DOMAIN_DV -user admin -pw admin

How Can I export an EAR File and Configuration xml for deploying an Application?

AppManage -export -out D:\test\tibco_test_app.xml -genEar -ear D:\test\tibco_test_app.ear -app directory1/directory2/tibco_test_app -user TESTUSR -pw TESTUSR -domain TIBCO_TEST_DOMAIN_DV

How Can I undeploy Application?

AppManage -undeploy -app timer_wait -domain TIBCO_TEST_DOMAIN_DV -user admin –pw admin

How Can I delete Application?

AppManage -delete -app timer_wait -user admin -pw admin –domain TIBCO_TEST_DOMAIN_DV –force

How Can I start application?

AppManage -start -app tibco_test_app -user a -pw a -domain TIBCO_TEST_DOMAIN_DV

How Can I stop application?

AppManage -stop -app tibco_test_app -user a -pw a -domain TIBCO_TEST_DOMAIN_DV

How Can I exporting EAR and Configuring files for all Applications at a time?

AppManage -batchExport -user TESTUSR -pw TESTUSR -domain TIBCO_TEST_DOMAIN_DV -dir D:\ear_path\tibco

How Can I upload EAR and Configuring files for all Applications at a time?

AppManage -batchUpload -user TESTUSR -pw TESTUSR -domain TIBCO_TEST_DOMAIN_DV -dir D:\ear_path\tibco

How Can I deploy EAR and Configuring files for all Applications at a time?

AppManage -batchDeploy -user TESTUSR -pw TESTUSR -domain TIBCO_TEST_DOMAIN_DV -dir D:\ear_path\tibco

How Can I start EAR and Configuring files for all Applications at a time?

AppManage –batchStart -user TESTUSR -pw TESTUSR -domain TIBCO_TEST_DOMAIN_DV -dir D:\ear_path\tibco

How Can I stop EAR and Configuring files for all Applications at a time?

AppManage –batchStop -user TESTUSR -pw TESTUSR -domain TIBCO_TEST_DOMAIN_DV -dir D:\ear_path\tibco

How Can I undeploy EAR and Configuring files for all Applications at a time?

AppManage –batchUndeploy -user TESTUSR -pw TESTUSR -domain TIBCO_TEST_DOMAIN_DV -dir D:\ear_path\tibco

How Can I delete EAR and Configuring files for all Applications at a time?

AppManage –batchDelete -user TESTUSR -pw TESTUSR -domain TIBCO_TEST_DOMAIN_DV -dir D:\ear_path\tibco

Leave a Comment