On another post, I found that I can execute a distributed agent worker by doing the following:
- In opentext.ini, set [Options] runWithoutLogin=true
- Run func=distributedagent.rundistagent
- Run func=distributedagent.runagent
I've recently developed a solution that uses the distributed agent, and I've had it working fine when running in Builder using these manual instructions. But when runnning OTCS as a service, sometimes it seems to just give up on me and never execute my jobs. When I dive back into the manual execution, after a couple tries it seems to start working fine again.
If I execute func=distributedagent.runagent while running OTCS as a service, it seems to never complete. Just hangs forever. Doesn't even timeout. I've tried looking for some control on the admin page, and all I found was a distributed agent worker thread status page. This page shows some worker threads, and they are all idle. I'm not really sure what I'm looking for there, but it seems to me that my jobs are not even being executed.
What are my options for troubleshooting this? Is there some quirkiness with distributed agents that makes them not run? How can I tell what the agent is doing when running as a service when the only logs are 0kb?
This is a dev CS10 system.