![]() |
Copyright © Cloud Software Group, Inc. All Rights Reserved |
This section describes the procedure to install and run the Core Engine (asg-engine) and other components of TIBCO API Exchange Gateway as a Windows service.
1.
2.
3. Using a text editor, edit the JHF_asg-configui.tra file as follows:
a. tibco.env.APP_ARGS=ASG_HOME %ASG_PORT%
ntservice.binary.path.absolute=ASG_HOME/bin/asg-configui.exe --propFile ASG_HOME/bin/JHF_asg-configui.tra
Engine.Log.Dir ASG_HOME/bin/configui/logs
d.
e. Verify that tibco.class.path.extended variable includes the HAWK_HOME/lib directory at the beginning, as follows:
f. Save the JHF_asg-configui.tra file.
4. Open a command prompt window. Change to the ASG_HOME/bin directory. Run the following command:
5. Open the Services Manager on the Windows system. Verify that TIBCO ASG Config UI is added as a service in the local services list.
6.
• If you make any change to the JHF_asg-configui.tra file after the service is registered, make sure to run --uninstall and --install again to register the changes.
1.
2.
3. Using a text editor, edit the JHF_asg-engine.tra file as follows:
a.
To run the Core Engine with a project configuration, add the project configuration name in the tibco.env.APP_ARGS variable as follows:
ntservice.binary.path.absolute=ASG_HOME/bin/asg-engine.exe --propFile ASG_HOME/bin/JHF_asg-engine.tra
Engine.Log.Dir ASG_HOME/bin/logs
e. Edit the tibco.class.path.extended variable to include the HAWK_HOME/lib directory at the beginning, as follows:
f. Save the JHF_asg-engine.tra file.
4.
5. Open the Services Manager on the Windows system. Verify that TIBCO ASG Gateway Caching Core Engine is added as a service in the local services list.
6. Right-click the TIBCO ASG Gateway Caching Core Engine service and click Start to run the cache-enabled Core Engine.
• If you make any change to the JHF_asg-engine.tra file after the service is registered, make sure to run --uninstall and --install again to register the changes.
1.
2.
3. Using a text editor, edit the JHF_asg-cl.tra file as follows :
a. tibco.env.APP_ARGS=ASG_HOME/bin/asg_core.ear -u asg-cl
To run the Central Logger with a project configuration, add the project configuration name in the tibco.env.APP_ARGS variable as follows:
Engine.Log.Dir ASG_HOME/bin/centrallogger/logs
e. Verify that the tibco.class.path.extended variable includes HAWK_HOME/lib directory at the beginning, as follows:
f. Save the JHF_asg-cl.tra file.
4.
5. Open the Services Manager on the Windows system. Verify that TIBCO ASG Central Logger is added as a service in the local services list.
6.
• If you make any change to the JHF_asg-cl.tra file after the service is registered, make sure to run --uninstall and --install again to register the changes.
1.
2.
3. Using a text editor, edit the JHF_asg-gtm.tra file as follows :
a. tibco.env.APP_ARGS=ASG_HOME/bin/asg_core.ear -u asg-gtm
Engine.Log.Dir ASG_HOME/bin/gtm/logs
e. Verify that the tibco.class.path.extended variable includes HAWK_HOME/lib directory at the beginning, as follows:
f. Save the JHF_asg-gtm.tra file.
4. asg-engine.exe --propFile JHF_asg-gtm.tra --install
5. Open the Services Manager on the Windows system. Verify that TIBCO ASG Global Throttle Manager is added as a service in the local services list.
6. Right-click the TIBCO ASG Global Throttle Manager service and click Start to run the Global Throttle Manager.
asg-engine.exe --propFile JHF_asg-gtm.tra --uninstall
• If you make any change to the JHF_asg-gtm.tra file after the service is registered, make sure to run --uninstall and --install again to register the changes.
1.
2.
3. Using a text editor, edit the JHF_asg-cache-agent.tra file as follows:
a. tibco.env.APP_ARGS=ASG_HOME/bin/asg_core.ear -u asg-cache
ntservice.binary.path.absolute=ASG_HOME/bin/asg-engine.exe --propFile ASG_HOME/bin/JHF_asg-cache-agent.tra
Engine.Log.Dir ASG_HOME/bin/cache/logs
e. Verify that the tibco.class.path.extended variable includes HAWK_HOME/lib directory at the beginning, as follows:
f. Save the JHF_asg-cache-agent.tra file.
4. asg-engine.exe --propFile JHF_asg-cache-agent.tra --install
5. Open Services Manager on the Windows system. Verify that TIBCO ASG Cache Agent is added as a service in the local services list.
6.
asg-engine.exe --propFile JHF_asg-cache-agent.tra --uninstall
• If you make any change to the JHF_asg-cache-agent.tra file after the service is registered, make sure to run --uninstall and --install to register the changes.
1.
2.
3.
a. tibco.env.APP_ARGS=ASG_HOME/bin/asg_core.ear -u asg-cache-cleanup
ntservice.binary.path.absolute=ASG_HOME/bin/asg-engine.exe --propFile ASG_HOME/bin/JHF_asg-cache-cleanup.tra
Engine.Log.Dir ASG_HOME/bin/cachecleanup/logs
e. Verify that the tibco.class.path.extended variable includes HAWK_HOME/lib directory at the beginning, as follows:
f. Save the JHF_asg-cache-cleanup.tra file.
4.
5. Open the Services Manager on the Windows system. Verify that TIBCO ASG Cache Cleanup is added as a service in the local services list.
6.
asg-engine.exe --propFile JHF_asg-cache-agent.tra --uninstall
• If you make any change to the JHF_asg-cache-agent.tra file after the service is registered, make sure to run --uninstall and --install again to register the changes.
![]() |
Copyright © Cloud Software Group, Inc. All Rights Reserved |