www.astatech.com Support White Papers ASTA Servers as NT Services





Asta Technology Group
Welcome to the world of wireless enabled web services
Related documents:
Online Manual
FAQs
Servers
Examples
Tools
Hosting
User Contributions
Training

advanced search
ASTA in 60 seconds
ASTA in action
Developer details
Free Internet tools
Demos
Business views
White papers
Tutorial center
Testimonials
Asta online help
ASTA Servers as NT Services

Many ASTA users have implemented their ASTA Servers as NT Services. Since ASTA now supports 20 Delphi 3rd Party Delphi Components, extending that support to NT Service version could be a bit challenging.

So we at ASTA decided to create an Application (AstaServerLauncher) that could launch and bounce back ASTA Servers if they go down AND to deliver an NT Service Version of the same executable that would use the registry settings created by running it one time as an normal EXE.

By supporting the One App as a service, we have enabled ALL AstaServers to run as an NT Service.

AstaServerLauncher

AstaServerLaunch was designed to launch ASTA servers and bounce them back if they go down. It can be configured to run one or more ASTA servers and any settings used will be used by the AstaServiceLauncherNTS which it reads from the registry.

AstaServerLauncherNTS

AstaServerLauncherNTS is an NT Service Version of AstaServerLauncher and thus does not have a user interface. It is run as a NT Service and reads the registry to tell which programs to start. Use the AstaServiceLauncher to setup the Registry configuration.

To install it as a service run the program with the command line parameter of AstaServerLauncherNTS /Install.

You can create a shortcut to use for this by editing the shortcuts "Target" property and adding /Install to it) /Uninstall does the reverse).

Then in control panel, open up Services. Look for AstaServiceLauncherNTS and Double click it. Set it to manual or automatic start. Click on Allow Service to Interact with desktop so that it is checked. (You can also set it to run in its own session by selecting a particular account with This Account radion button). Press OK.

You can also start the service manually. Once started it will read the registry and startup any programs that have been configured to be AutoStarted. Then it will keep those programs alive if they are set to AutoReStart.

 

 

Last modified: 5/5/2002 7:44:48 AM
Copyright © 2001-2002 Asta Technology Group, Inc. Terms & Conditions     Privacy Policy     Site Map