How to install TIBCO API Exchange Gateway(APIX-G) as a Windows Service when TIBCO Hawk is not available.

How to install TIBCO API Exchange Gateway(APIX-G) as a Windows Service when TIBCO Hawk is not available.

book

Article ID: KB0093651

calendar_today

Updated On:

Products Versions
TIBCO API Exchange -
Not Applicable -

Description

Description:
This article describes the steps to setup asg-engine as a Windows Service when TIBCO Hawk is not installed.

Issue/Introduction

How to install TIBCO API Exchange Gateway(APIX-G) as a Windows Service when TIBCO Hawk is not available.

Resolution

- Make a copy of asg-engine.tra, say asg-engine-NT.tra .

- Add the following entries, as per your env:


tibco.env.APP_ARGS=C\:/apix210ga/asg/2.1/bin/asg_core.ear

ntservice.name=vvk_asg-caching-CoreEngine
ntservice.displayname=APIX-Gateway
ntservice.starttype=manual
ntservice.binary.path.absolute=C\:/apix210ga/asg/2.1/bin/asg-engine.exe --propFile C\:/apix210ga/asg/2.1/bin/asg-engine-NT.tra
ntservice.interactive=false

- Comment out the HAWK_HOME variable:
#tibco.env.HAWK_HOME=
- Remove reference to HAWK in the following properties:
# TIBCO standard classpath
#
#tibco.env.STD_EXT_CP %PSP%%TIB_JAVA_HOME%/lib%PSP%%TIB_JAVA_HOME%/lib/ext%PSP%%BE_HOME%/hotfix/lib/eclipse/plugins%PSP%%BE_HOME%/lib/eclipse/plugins%PSP%%BE_HOME%/hotfix/mm/lib%PSP%%BE_HOME%/mm/lib%PSP%%BE_HOME%/hotfix/views/lib%PSP%%BE_HOME%/views/lib%PSP%%BE_HOME%/hotfix/views/lib/ext%PSP%%BE_HOME%/views/lib/ext%PSP%%BE_HOME%/hotfix/lib%PSP%%BE_HOME%/lib%PSP%%BE_HOME%/hotfix/lib/palettes%PSP%%BE_HOME%/lib/palettes%PSP%%BE_HOME%/hotfix/lib/ext/tpcl%PSP%%BE_HOME%/lib/ext/tpcl%PSP%%BE_HOME%/hotfix/lib/ext/tpcl/emf%PSP%%BE_HOME%/lib/ext/tpcl/emf%PSP%%BE_HOME%/hotfix/lib/ext/tpcl/apache%PSP%%BE_HOME%/lib/ext/tpcl/apache%PSP%%BE_HOME%/hotfix/lib/ext/tpcl/tomsawyer%PSP%%BE_HOME%/lib/ext/tpcl/tomsawyer%PSP%%BE_HOME%/hotfix/lib/ext/tibco%PSP%%BE_HOME%/lib/ext/tibco%PSP%%BE_HOME%/hotfix/lib/ext%PSP%%BE_HOME%/lib/ext%PSP%%AS_HOME%/hotfix/lib%PSP%%AS_HOME%/lib%PSP%%RV_HOME%/lib%PSP%%EMS_HOME%/clients/java%PSP%%BW_CUSTOM_EXT_PREPEND_CP%%PSP%%BW_STD_EXT_CP%%PSP%%BW_CUSTOM_EXT_APPEND_CP%%PSP%%HAWK_HOME%/lib%PSP%%EMS_HOME%/lib
tibco.env.STD_EXT_CP %PSP%%TIB_JAVA_HOME%/lib%PSP%%TIB_JAVA_HOME%/lib/ext%PSP%%BE_HOME%/hotfix/lib/eclipse/plugins%PSP%%BE_HOME%/lib/eclipse/plugins%PSP%%BE_HOME%/hotfix/mm/lib%PSP%%BE_HOME%/mm/lib%PSP%%BE_HOME%/hotfix/views/lib%PSP%%BE_HOME%/views/lib%PSP%%BE_HOME%/hotfix/views/lib/ext%PSP%%BE_HOME%/views/lib/ext%PSP%%BE_HOME%/hotfix/lib%PSP%%BE_HOME%/lib%PSP%%BE_HOME%/hotfix/lib/palettes%PSP%%BE_HOME%/lib/palettes%PSP%%BE_HOME%/hotfix/lib/ext/tpcl%PSP%%BE_HOME%/lib/ext/tpcl%PSP%%BE_HOME%/hotfix/lib/ext/tpcl/emf%PSP%%BE_HOME%/lib/ext/tpcl/emf%PSP%%BE_HOME%/hotfix/lib/ext/tpcl/apache%PSP%%BE_HOME%/lib/ext/tpcl/apache%PSP%%BE_HOME%/hotfix/lib/ext/tpcl/tomsawyer%PSP%%BE_HOME%/lib/ext/tpcl/tomsawyer%PSP%%BE_HOME%/hotfix/lib/ext/tibco%PSP%%BE_HOME%/lib/ext/tibco%PSP%%BE_HOME%/hotfix/lib/ext%PSP%%BE_HOME%/lib/ext%PSP%%AS_HOME%/hotfix/lib%PSP%%AS_HOME%/lib%PSP%%RV_HOME%/lib%PSP%%EMS_HOME%/clients/java%PSP%%BW_CUSTOM_EXT_PREPEND_CP%%PSP%%BW_STD_EXT_CP%%PSP%%BW_CUSTOM_EXT_APPEND_CP%%PSP%%EMS_HOME%/lib

#
# TIBCO Standard Path (Applicable to all Platforms)
#
#tibco.env.PATH %BE_HOME%/hotfix/bin%PSP%%BE_HOME%/bin%PSP%%BE_HOME%/hotfix/lib/ext%PSP%%AS_HOME%/hotfix/lib%PSP%%AS_HOME%/lib%PSP%%RV_HOME%/bin%PSP%%BW_PATH%%PSP%%HAWK_HOME%/bin%PSP%%PATH%
tibco.env.PATH %BE_HOME%/hotfix/bin%PSP%%BE_HOME%/bin%PSP%%BE_HOME%/hotfix/lib/ext%PSP%%AS_HOME%/hotfix/lib%PSP%%AS_HOME%/lib%PSP%%RV_HOME%/bin%PSP%%BW_PATH%%PSP%%PATH%
E_HOME%/hotfix/bin%PSP%%BE_HOME%/bin%PSP%%BE_HOME%/hotfix/lib/ext%PSP%%AS_HOME%/hotfix/lib%PSP%%AS_HOME%/lib%PSP%%RV_HOME%/bin%PSP%%BW_PATH%%PSP%%PATH%

- Then install the service using the command:
asg-engine --propFile asg-engine-NT.tra --install
----------------------------------------