Page 1 of 1

serverExecution with singleUser app server

Posted: Fri Aug 07, 2009 11:47 am
by ConvertFromOldNGs
by John Porter >> Mon, 17 Jan 2000 22:47:13 GMT

I'm guessing that serverExecution is ignored when the Jade app server is running in singleUser mode. This has the unfortunate consequence that you can't use a serverExecution method to find out the time on the server machine when your clients are distributed across multiple timezones.

Is there another way of finding the time on the server machine with Jade? Presumably this could be done with WinAPIs or C++, but I'd prefer a Jade method.

Thanks,
John P

Re: serverExecution with singleUser app server

Posted: Fri Aug 07, 2009 11:47 am
by ConvertFromOldNGs
by Craig Shearer >> Tue, 18 Jan 2000 2:25:36 GMT

Presumeably you could write a DLL that returned the time, then on the external function method signature you would mark it as applicationServerExecution which would cause it to execute on the server machine. There may be a better (ie. pure JADE) way though.

Craig.

Re: serverExecution with singleUser app server

Posted: Fri Aug 07, 2009 11:47 am
by ConvertFromOldNGs
by Craig Shearer >> Thu, 20 Jan 2000 1:40:46 GMT

I see that in 5.0.15 there is a method: app.actualTimeAppServer that does exactly what you want. :-)

Craig.