Installing and Running the Central Logger as a Windows Service
Procedure
- Navigate to the ASG_HOME/bin directory.
-
Copy the existing
asg-engine.tra file as follows:
copy asg-engine.tra JHF_asg-cl.tra
-
Using a text editor, edit the
JHF_asg-cl.tra file as follows:
-
Locate
APP_ARGS variable to set the path to the
asg_core.ear EAR file.
tibco.env.APP_ARGS=ASG_HOME/bin/asg_core.ear -u asg-cl
For example,
tibco.env.APP_ARGS=C:/tibcoasg/asg/2.2/bin/asg_core.ear -u asg-cl
-
To install the Central Logger as a Windows service, add the following properties:
ntservice.name=ASG-Central-Logger ntservice.displayname=TIBCO ASG Central Logger ntservice.starttype=automatic ntservice.binary.path.absolute=%ASG_HOME%/bin/asg-engine.exe --propFile ASG_HOME/bin/JHF_asg-cl.tra ntservice.interactive=false
-
Add the following property to configure the location of the log directory (Optional):
Engine.Log.Dir ASG_HOME/bin/centrallogger/logs
- Verify that RV_HOME and HAWK_HOME variables are set appropriately to the directory where TIBCO Rendezvous and TIBCO Hawk products are installed. (Optional)
-
Verify that the
tibco.class.path.extended variable includes
HAWK_HOME/lib directory at the beginning, as follows (Optional):
tibco.class.path.extended %HAWK_HOME%/lib%PSP%%CUSTOM_EXT_PREPEND_CP%%PSP%%STD_EXT_CP% %PSP%%CUSTOM_EXT_APPEND_CP%%PSP%
- Save the JHF_asg-cl.tra file.
-
Locate
APP_ARGS variable to set the path to the
asg_core.ear EAR file.
-
Open a command prompt window. Change to the
ASG_HOME/bin directory. Run the following command:
asg-engine.exe --propFile JHF_asg-cl.tra --install
- Open the Services Manager on the Windows system. Verify that TIBCO ASG Central Logger is added as a service in the local services list.
- Right-click the TIBCO ASG Central Logger service and click Start to run the Central Logger.
Copyright © Cloud Software Group, Inc. All rights reserved.