From: Harsha <nh...@gm...> - 2008-02-07 06:57:35
|
Hi All For the first time I am using the STAF timer plugin. I was able to plug it successfully in to the STAF runarea. the timer service is also getting listed in the service list of the STAF instance that is running. However I am not able to explicity unregister a timer entry. Instead I see the following error message. The time documenation for UNREGISTER event says: The result buffer will contain an error message if an error occurred and will be empty otherwise. I am obfuscated that: Am I using the right command syntax to unregister a timer? or the way I have plugged the Timer service is not proper? or if the STAF Timer plug-in itself has defect (which I doubt)? help me overcome this obstacle, please. -- STAF, plug-in INFO--- STAFProc version 3.2.3 initialized Timer Service, Version 3.0.1 --- Command History---- E:\>staf local service list Response -------- Name Library Executable -------- ---------- ------------------------------------ DELAY <Internal> <None> DIAG <Internal> <None> ECHO <Internal> <None> EVENT JSTAF E:/STAF/services/stax/STAFEvent.jar FS <Internal> <None> HANDLE <Internal> <None> HELP <Internal> <None> LOG STAFLog <None> MISC <Internal> <None> PING <Internal> <None> PROCESS <Internal> <None> QUEUE <Internal> <None> SEM <Internal> <None> SERVICE <Internal> <None> SHUTDOWN <Internal> <None> STAX JSTAF E:/STAF/services/stax/STAX.jar TIMER JSTAF E:/STAF/services/timer/STAFTimer.jar TRACE <Internal> <None> TRUST <Internal> <None> VAR <Internal> <None> E:\>staf local TIMER REGISTER TYPE heartbeat FREQUENCY 60000 KEY heartbeat Response -------- E:\>staf local TIMER list TIMERS LONG Response -------- [ { Type : HEARTBEAT Machine : local://local Notify By : Handle Notifiee : 88 Key : HEARTBEAT Last Fired Date-Time : <None> Frequency : 60000 Priority : 5 Unregister On No Path : global Unregister On No Handle: global } ] E:\>staf local TIMER UNREGISTER TYPE heartbeat MACHINE local://local HANDLE 88 Error submitting request, RC: 48 Additional info --------------- The TYPE specified does not exist for the specified machine and handle number/na me (and key if specified) E:\>staf local TIMER list TIMERS LONG Response -------- [ { Type : HEARTBEAT Machine : local://local Notify By : Handle Notifiee : 88 Key : HEARTBEAT Last Fired Date-Time : <None> Frequency : 60000 Priority : 5 Unregister On No Path : global Unregister On No Handle: global } ] E:\>staf local timer unregister type HEARTBEAT key HEARTBEAT Error submitting request, RC: 48 Additional info --------------- The TYPE specified does not exist for the specified machine and handle number/na me (and key if specified) E:\>staf local TIMER list TIMERS LONG Response -------- [ { Type : HEARTBEAT Machine : local://local Notify By : Handle Notifiee : 88 Key : HEARTBEAT Last Fired Date-Time : <None> Frequency : 60000 Priority : 5 Unregister On No Path : global Unregister On No Handle: global } ] E:\>staf local timer unregister type HEARTBEAT Error submitting request, RC: 48 Additional info --------------- The TYPE specified does not exist for the specified machine and handle number/na me (and key if specified) -- Cheers!! Harsha Reddy |