The Active-Link-Dir key in ar config file was not required. The only thing required is that the program must be accessible - either in the system path or specify full path in active link or place in Remedy server process working? directory. I didn't work out what the correct directory was.
My problem was that my test program output a log to the processes working directory. And that was C:\Windows - I am unsure of the reason. Angus ----- Original Message ----- From: Joe Martin D'Souza Newsgroups: public.remedy.arsystem.general To: arslist@ARSLIST.ORG Sent: Saturday, February 26, 2011 7:13 PM Subject: Re: Where to copy program on server for run process ** Angus, Glad it worked out.. What was the final solution.. Did you have to enclose the path in double quotes? Joe From: Angus Comber Sent: Saturday, February 26, 2011 1:12 PM Newsgroups: public.remedy.arsystem.general To: arslist@ARSLIST.ORG Subject: Re: Where to copy program on server for run process ** Apologies all. Advise worked, but program output logged to working directory - which was not current directory - so output was in system folder. anyway, no problem sorted now. Many thanks for help. Angus ----- Original Message ----- From: Joe Martin D'Souza Newsgroups: public.remedy.arsystem.general To: arslist@ARSLIST.ORG Sent: Saturday, February 26, 2011 4:16 PM Subject: Re: Where to copy program on server for run process ** Angus, Can you try adding a terminating slash for that directory? Active-Link-Dir: C:\ActiveLinkcmds\ Also make sure its spelt exactly like that (sometimes even on windows I have seen problems with case sensitivity in path names..) If that does not work, try putting the whole path in double quotes.. Off course you do need to restart the server or at least run the arsignal –c to re read the configuration file.. Joe From: Angus Comber Sent: Saturday, February 26, 2011 11:06 AM Newsgroups: public.remedy.arsystem.general To: arslist@ARSLIST.ORG Subject: Re: Where to copy program on server for run process ** I tried Active-Link-Dir: <mypath> and restarted AR Server but didn't seem to work. My active link on the click of a button does this: @@:cmd_line_connector.exe $USER$ $Short Description$ And in ar.cfg (Windows) I have: Active-Link-Dir: C:\ActiveLinkcmds and I have copied cmd_line_connector.exe into that folder. The program just prints out to a file in the same folder the parameters passed. But I don't get any file created. Neither do I see any server logging entry for it. But client logging says: <ACTL> Checking Cuba_run_cmd_server (0) <ACTL> -> Passed qualification -- perform if actions <ACTL> 0: Run Process <ACTL> @@: 60\19\Cuba_run_cmd_server\0\3\0\1298735989\0\6\1\1\0\\6\1\8\0\\ <ACTL> Run Process on server <ACTL> Server: angusnotebook <ACTL> Process: cmd_line_connector.exe Demo gsdf <ACTL> Success ??? ----- Original Message ----- From: Joe Martin D'Souza Newsgroups: public.remedy.arsystem.general To: arslist@ARSLIST.ORG Sent: Saturday, February 26, 2011 3:38 PM Subject: Re: Where to copy program on server for run process ** Angus, If you look at the AR System Configuration guide, there is a parameter that can be set for this. I do not remember the parameter off hand. It tells the server where to find server side run processes run from active links. Joe From: Angus Comber Sent: Saturday, February 26, 2011 10:23 AM Newsgroups: public.remedy.arsystem.general To: arslist@ARSLIST.ORG Subject: Where to copy program on server for run process ** I am testing running a process on the Remedy Server invoked from an active link. I know this works because if I try tun run a process where the program is in the system path, then process runs when invoked. But if I want to run a program NOT in the path, where do I copy it to? How can I find this path? Angus _attend WWRUG11 www.wwrug.com ARSlist: "Where the Answers Are"_ _______________________________________________________________________________ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org attend wwrug11 www.wwrug.com ARSList: "Where the Answers Are"