It's all about the answers!

Ask a question

How to start BF agent manually on Windows


Hongwu Wang (1836) | asked Feb 16 '12, 4:48 p.m.
Hi,

I try to start BF agent manually on Windows with: bfagent.exe or "bfagent -d". The agent seams started, but it's not listening on port 5555 or any other port. So how can I start the agent manually? Thanks.

3 answers



permanent link
Robert haig (1.0k16) | answered Mar 01 '12, 6:14 p.m.
FORUM MODERATOR / JAZZ DEVELOPER
the agent runs through bfdispatch typically which connects stdin & stdout from the bfagent process to the network connection to the BF console. What you've done is started a bfagent process that isn't connected to a network socket, but to your stdin & stdout of your shell.

Try "bfagent -s" (standalone)

permanent link
Hongwu Wang (1836) | answered Mar 12 '12, 6:18 a.m.
Hi Robert,

Thanks. But "bfagent -s" only works for UNIX/Linux. I am trying to capture the BF agent output and following this tech notes:

http://www-01.ibm.com/support/docview.wss?uid=swg21265177

But it didn't work since "bfagent.exe -d" started but could not connect to it.

permanent link
Keir Morgan (4143) | answered Mar 28 '12, 4:40 p.m.
Did you get this worked out? I don't have a windows environment as a
reference, but as I recall there is a shortcut off of that start menu to
start the engine in the foreground.

I assume you have tried pulling up a command prompt and starting
bfengine.exe -d from there? You would want to check port status (netstat -an
| findstr 5555, or the like) from an different command shell, as the one you
started the agent from will occupied by running the agent. Also, I assume
the the user you're trying to run the agent as has a reasonable set of
privileges?

As Robert mentions bfdispatch is used to run bfagent as a service, if you want to stop the
agent service manually, use 'net stop/start BFAgent'.

Regards,

Keir
--

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.