This puzzling.  When I tested just getting the server to run notepad I saw 
instances of Notepad increasing - eg running in SYSTEM context in Windows.  So 
assumed it would work.

I even tried copying the program into the same directory as notepad.exe - but 
that didn't help.

This logging all looks fine:
arsql.log:
<SQL > <TID: 006136> <RPC ID: 0000000036> <Queue: Admin     > <Client-RPC: 
390620   > <USER: Demo                          > /* Sat Feb 26 2011 
17:51:05.4090 */SELECT actlinkId from actlink where name = 'Cuba_run_cmd_server'
<SQL > <TID: 006136> <RPC ID: 0000000036> <Queue: Admin     > <Client-RPC: 
390620   > <USER: Demo                          > /* Sat Feb 26 2011 
17:51:05.4090 */SELECT command FROM actlink_process WHERE actlinkId = 424 AND 
actionIndex = 0

and on client:
<ACTL> /* Sat Feb 26 2011 17:51:05 */
<ACTL> Start active link processing -- Operation - On Control
<ACTL>     For Schema - ColtDemo
<ACTL>     Linked to field - Run cmd on server (536870908)
<ACTL>     On screen type - QUERY
<API > <TID: 006136> <RPC ID: 0000000036> <Queue: Admin     > <Client-RPC: 
390620   > <USER: Demo                          > /* Sat Feb 26 2011 
17:51:05.4090 */+EXECAL ARExecuteProcessForActiveLink from Remedy User 
(protocol 11) at IP address 192.168.0.52

<SQL > <TID: 006136> <RPC ID: 0000000036> <Queue: Admin     > <Client-RPC: 
390620   > <USER: Demo                          > /* Sat Feb 26 2011 
17:51:05.4090 */SELECT actlinkId from actlink where name = 'Cuba_run_cmd_server'

<SQL > <TID: 006136> <RPC ID: 0000000036> <Queue: Admin     > <Client-RPC: 
390620   > <USER: Demo                          > /* Sat Feb 26 2011 
17:51:05.4090 */SELECT command FROM actlink_process WHERE actlinkId = 424 AND 
actionIndex = 0

<API > <TID: 006136> <RPC ID: 0000000036> <Queue: Admin     > <Client-RPC: 
390620   > <USER: Demo                          > /* Sat Feb 26 2011 
17:51:05.4090 */-EXECAL           OK

<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 
<ACTL>                  Success

<ACTL>          1: Set Fields

<ACTL>             Call ID (536870913) = 1234567890
<ACTL> /* Sat Feb 26 2011 17:51:05 */
<ACTL> Stop active link processing - On Control


What am I doing wrong?

Angus

  ----- Original Message ----- 
  From: Joe Martin D'Souza 
  Newsgroups: public.remedy.arsystem.general
  To: [email protected] 
  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: [email protected] 
  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: [email protected] 
    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: [email protected] 
    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"_ 
  _attend WWRUG11 www.wwrug.com ARSlist: "Where the Answers Are"_ 
  _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"

Reply via email to