How is your STAF Java service executing these scripts? Is it submitting a
PROCESS START request to execute each script or is it doing something
else?
Where do you want to "display" these results while the scripts are
executing?
Perhaps you can use a command like "tail -F <filename>" to monitor the
result file if your scripts results are written to a file. If the file
resides on a remote machine, you could use a STAF PROCESS START request to
run it.
--------------------------------------------------------------
Sharon Lucas
IBM Austin, luc...@us.ibm.com
(512) 286-7313 or Tieline 363-7313
From: Anna Pereira <annazpere...@gmail.com>
To: Sharon Lucas/Austin/i...@ibmus
Cc: staf-users@lists.sourceforge.net
Date: 12/15/2010 04:52 PM
Subject: Re: [staf-users] IP address of remote machine
Thanks Sharon, this was exactly what I was looking for!!!
Another question, my STAF service (written in Java) executes one main
script which then calls multiple sub-scripts. The results of these scripts
are visible only after the execution of the service is completed. Is it
possible to display these results as the scripts complete execution rather
than at the end of the service?
Thanks
Anna
On Wed, Dec 15, 2010 at 10:41 AM, Sharon Lucas <luc...@us.ibm.com> wrote:
Yes. See the "STAF Service Developer's Guide" at
http://staf.sourceforge.net/current/stafsdg.html for more information on
the "Accepting Requests Phase". If you wrote your STAF service in Java,
see section "5.1.3 Accepting Requests Phase" which shows the fields passed
in the the acceptRequests method via the
STAFServiceInterfaceLevel30.RequestInfo argument. This object includes a
physicalInterfaceID field which is a String that contains the physical
interface identifier (the IP address) for the machine from which the
service request originated.
Or, if you wrote your STAF service in C++, see section "6.1.4 Accepting
Requests Phase".
Or, if you wrote your STAF service in Perl, see section "7.1.3 Accepting
RequestsPhase",
--------------------------------------------------------------
Sharon Lucas
IBM Austin, luc...@us.ibm.com
(512) 286-7313 or Tieline 363-7313
From: Anna Pereira <annazpere...@gmail.com>
To: staf-users@lists.sourceforge.net
Date: 12/15/2010 12:25 PM
Subject: [staf-users] IP address of remote machine
Hi,
I have written a STAF service that resides on the test server. If a remote
system uses this STAF service, would it be possible to find out the IP
address of the system using this service?
Thanks
Anna
------------------------------------------------------------------------------
------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users
------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users