I have no problems delegating the LOG service on a Linux machine (staf1e) 
to an AIX machine (aixclient) and accessing it. 

In your example, you created a static handle (hande #74) and then did not 
set STAF_STATIC_HANDLE to74 but to 72.  Note that RC 5 (Handle does not 
exist) is returned when you try to submit a STAF service request using a 
handle that does not exist.  I'm not sure why you are creating a STAF 
static handle.

Here's an example where I've registered a service named MYLOG on a Linux 
machine that is delegated to use the LOG service on a AIX machine using 
the following line in the STAF.cfg file on the Linux machine:

service MyLog delegate aixclient.austin.ibm.com toname Log

I can submit requests to delegated service MYLOG with no issues from my 
Linux machine..

[root@staf1e staf]# staf local service query service mylog
Response
--------
{
  Name      : MYLOG
  Library   : <Delegated>
  Executable: <None>
  Options   : []
  Parameters: <None>
}
[root@staf1e staf]# staf local mylog list settings
Response
--------
Logging Mode             : Local
Directory                : /usr/local/staf/data/STAF/service/log
Max Record Size          : 100000
Default Max Query Records: 100
Resolve Message          : Disabled
Resolve Message Var      : Disabled

Perhaps you should try delegating the LOG service to see if that is 
working for you.

--------------------------------------------------------------
Sharon Lucas
IBM Austin,   luc...@us.ibm.com
(512) 286-7313 or Tieline 363-7313




From:   "Andersen, Jan" <jander...@informatica.com>
To:     "staf" <staf-users@lists.sourceforge.net>, 
Date:   01/09/2012 03:30 AM
Subject:        [staf-users] Delegated service gives 
"HandleManager::updateTimestamp() failed to update handle"



I have recently come across the above problem. I have installed a service, 
INFAUTH, on a server called hag (linux), and on another server, fox (AIX), 
I have delegated this service to hag. Here is what I try to do:

fox # staf local handle create handle name test
Response
--------
74

fox # export STAF_STATIC_HANDLE=72
fox # staf local handle authenticate user jan credentials umiarssuaq
Response
--------

fox # staf local infactor ms102dtl up  
Error submitting request, RC: 5
Additional info
---------------
HandleManager::updateTimestamp() failed to update handle 74

fox # staf local handle list
Response
--------
Handle Handle Name                     State     Last Used Date-Time
------ ------------------------------- --------- -------------------
1      STAF_Process                    InProcess 20120107-12:31:33 
2      STAF/Service/STAFServiceLoader1 InProcess 20120107-12:31:33 
3      STAF/Service/infauth            InProcess 20120107-12:31:33 
11     test                            Static    20120108-09:56:32 
14     test                            Static    20120108-09:58:07 
17     test                            Static    20120108-10:01:54 
20     test                            Static    20120108-10:09:07 
23     test                            Static    20120108-10:11:24 
26     test                            Static    20120108-12:22:44 
29     test                            Static    20120108-12:25:55 
32     test                            Static    20120108-12:28:08 
35     test                            Static    20120108-12:33:14 
38     test                            Static    20120108-12:35:29 
41     test                            Static    20120108-12:40:55 
44     test                            Static    20120108-12:43:43 
47     test                            Static    20120108-12:46:36 
50     test                            Static    20120108-12:50:04 
53     test                            Static    20120108-13:11:29 
56     test                            Static    20120108-13:19:02 
59     test                            Static    20120108-14:03:06 
62     test                            Static    20120108-14:07:47 
65     test                            Static    20120108-14:20:56 
68     test                            Static    20120108-14:25:27 
72     test                            Static    20120109-09:20:22 
74     test                            Static    20120109-09:24:51 

===============================================================

This error does not occur when I do the exact same on hag. As you can see, 
handle 74 definitely exists on fox; so does this message come from hag? 
And is it an error in the STAF code, or could this be an error in my code?

/jan

------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users


------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users

Reply via email to