Page 1 of 1

Thin Client Application Server as NT service ?

Posted: Fri Aug 07, 2009 11:16 am
by ConvertFromOldNGs
by Silver Springs ... >> Wed, 3 Nov 1999 0:52:34 GMT

Hi
I'm investigating using the JADE thin client for myself and others to access a JADE application on a customers server "down the line".

When I investigated the requirements I find that an Application Server program (JADAPP.EXE) has to be configured and running to facilitate thin client connections. I picture setting this up from the NT server console.

If this access is to be provided at all times that the application is up and running then ideally JADAPP should be instigated as an NT service (just like JADRAP is to provide multi-user access).

Unfortunately JADAPP is not designed with a GUI like JADRAP and not designed to be created as an 'NT Service"

So, what do other people out there do to set this up ???

Do you create a command batch file that is placed in the NT server StartUp folder such that whenever the server is brought up -- then JADAPP is set running again ???


Regards
SilverSprings ............................... silversprings@easyliving.com

Re: Thin Client Application Server as NT service ?

Posted: Fri Aug 07, 2009 11:16 am
by ConvertFromOldNGs
by Adrian Mageanu >> Fri, 5 Nov 1999 0:42:07 GMT

Try INSTSRV.exe

You can find this program on Windows NT Resource Kit CD or if you have a MS Visual C compiler, this program is given as example for running applications as services.

A batch file in StartUp folder or a command line in HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/Run key of registry will not work properly.

Adrian Mageanu
Designicom Ltd.
mageanu@designicom.com

Re: Thin Client Application Server as NT service ?

Posted: Fri Aug 07, 2009 11:16 am
by ConvertFromOldNGs
by Allistar Melville >> Thu, 4 Nov 1999 12:34:51 GMT

Will this also allow you to run Jade.exe as a service with no
interface?

We have task and print queues that run as server applications but you can't have a server application print anything. Running Jade.exe as a service will allow us to get around this problem.

Thanks,
Allistar.

------------------------------------------------------------------
Allistar Melville (BSc) \_
Software Developer </'
Auckland, NEW ZEALAND /)
(/`
Greentree International,
Developer of Greentree Financial Software. ------------------------------------------------------------------

Re: Thin Client Application Server as NT service ?

Posted: Fri Aug 07, 2009 11:16 am
by ConvertFromOldNGs
by Sean Dick >> Mon, 15 Nov 1999 22:08:16 GMT

I have tried to run the Presentation Server from the SRVANY app (which is what INSTSRV uses).

Unfortunately if you logon to that server and log off the Presentation Server accepted the Windows Exit message and terminated the background task. Yo also have to run under the System account to allow it interact with the desktop. I have raised a fault. But it was logged as an NFS.


----------------------- From jade Support -
Sean,

As per your request I have submitted a new feature suggestion on your behalf to the plant requesting the ability to with a JADE web application and a JADE presentation server as a service. NFS # 13293.
thanks,
Paul Daigneault,
JADE Support.

------------------- To Jade Support from me -
It is our policy that all services on servers are run as system services so that they are started automatically when a machine comes up. The alternative is to have the machine auto logon but this is not acceptable in an environment that does not have a secure computer room.

Can you please add an NFS for system service versions of:

Jade Web Client and
Jade Presentation Server

I have installed both using the SrvAny utility but the Web Client has to have “interaction with Desktop” set on when this is set the application terminates when a logged on user exists. It also means that the app has to run under the system account which is inflexible.

Re: Thin Client Application Server as NT service ?

Posted: Fri Aug 07, 2009 11:16 am
by ConvertFromOldNGs
by Wilfred Verkley >> Mon, 6 Mar 2000 1:25:15 GMT

This is not a problem though, if your services do *not* interact with the desktop.

We have a number of programs that run on the server for some of our applications (presentation server, print queus, object synchronisers, web monitors etc), and ive managed to get all of them to run as a service.

You can get all your services to start automatically if you set up dependencies between them ie so that the jade presentation server service only starts up after the jade database service is running. To do this goto HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MyJadeService in your registry. Create the value "DependOnService" of type REG_MULTI_SZ. Specify it to be the service it depends on. Multiple dependencies are seperated by new lines.

There are plenty of gotcha's when running things as services though, so watch out :-)