Saturday, February 27, 2016

Install TEA and BW Agent as Windows NT Services


We can register both TEA and BW Agent as Windows NT services to run them quietly and independently in background, Below are the configuration steps.

STEP:1

Edit tea.tra file ::
    Navigate to installed location of TEA i.e. <TIBCO_HOME>/tea/<version>/bin folder and edit tea.tra file and add/modify the following properties.

# For running TEA server as a windows service
ntservice.name=TEA-2.2
ntservice.displayname=TIBCO Enterprise Administrator-2.2
ntservice.starttype=manual
ntservice.interactive=false
ntservice.binary.path.absolute=%TEA_HOME%/bin/tea.exe

Edit bwagent.tra file ::
    Navigate to installed location of BW i.e. <TIBCO_HOME>/bw/<version>/bin folder and edit bwagent.tra file and add/modify the following properties.

# For running BW agnet as a windows service
ntservice.name=TIBCO BW Agent
ntservice.displayname=TIBCO BW Agent
ntservice.starttype=automatic
ntservice.interactive=false
ntservice.binary.path.absolute=<BW_HOME>\\bin\\bwagent.exe

STEP:2
    Register both TEA and BW Agents are as an NT services using the wrap executable available under <TIBCO_HOME>/tools/wrapper/64/wrap.exe.Use the following commands.

wrap -install -propFile <TIBCO_HOME>/tea/<version>/bin/tea.tra
wrap -install -propFile <TIBCO_HOME>/bw/<version>/bin/bwagent.tra

STEP:3
Then you can observe both the services by opening Windows service control panel (start --> run --> services.msc)

Some times we may encounter with below error while installing BW Agent as NT service.
Failed to open properties file : wrap.tra
Adjustment failed.

Solution : Please follow the link here



No comments:

Post a Comment

back to top