How to run bwagent as a Windows service.

How to run bwagent as a Windows service.

book

Article ID: KB0093619

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix BusinessWorks -
Not Applicable -

Description

Description:
How to run bwagent as a Windows service.

Issue/Introduction

How to run bwagent as a Windows service.

Resolution

TIBCO BusinessWorks 6.x ships with a utility named "pwrap" which can be used to create a Service.


1). Copy pwrap.exe from "C:\tibcobw62\tools\wrapper\64\pwrap.exe" to "C:\tibcobw62\bw\6.2\bin" folder.

2). Rename "C:\tibcobw62\bw\6.2\bin\bwagent.exe" to C:\tibcobw62\bw\6.2\bin\bwagent.exe_old .

3). Rename C:\tibcobw62\bw\6.2\bin\pwrap.exe" to C:\tibcobw62\bw\6.2\bin\bwagent.exe .

4). Edit "C:\tibcobw62\bw\6.2\bin\bwagent.tra" and add the following line at the end.


ntservice.name=Tibco BW6 agent

ntservice.binary.path.absolute=C:/tibcobw62/bw/6.2/bin/bwagent.exe


5). Open a command prompt and run the following command from "C:/tibcobw62/bw/6.2/bin/" .


bwagent.exe --install


6). Check Services and you will see the service "Tibco BW6 agent" .

7). Start the agent.