Run Alpha Five as a Windows Service with AlwaysUp

How to Run Alpha Five Application Server 24/7 as a Windows Service with AlwaysUp

Ensure that your A5 web sites are available as soon as your PC boots. Run multiple instances with ease!

The Alpha Five Application Server is the web server component of Alpha Five, the famously easy-to-use Rapid Application Development system.

To configure the Alpha Five Application Server with AlwaysUp:

  1. Download and install AlwaysUp, if necessary.

  2. Install and configure the Alpha Five Application Server, if necessary. Please make a note of where you installed it as this will be used in a later step.

  3. Start AlwaysUp.

  4. Select Application > Add to open the Add Application window:

    Add Application

  5. On the General tab:

    • In the Application field, enter the full path to the server executable. If you installed A5 in the default location, this is:

      C:\Program Files\a5v10 ApplicationServer\A5ApplicationServer.exe
      or on 64-bit systems:
      C:\Program Files (x86)\a5v10 ApplicationServer\A5ApplicationServer.exe

    • In the Name field, enter the name that you will call the application in AlwaysUp. We have used A5 Server but you can specify almost anything you like.

    • Note: If you are running multiple instances of the web server (or have placed your server's configuration file in a non-standard location), you will have to specify the location of the configuration file for this instance. If your configuration file is C:\A5Configuration.xml, specify in the Arguments field:

      -CONFIGFILE="C:\A5Configuration.xml"
      This setting is not used below (we are only setting up a single instance).

    Alpha Five Application Server Windows Service: General Tab

  6. Click over to the Logon tab and enter the user name and password of the account in which you installed the A5 server. Alpha Five will run in this account so that it can find its settings.

    If you wish to hide Alpha Five's windows and tray icon, check the When a user logs on, don't show the application's windows and tray icons (if any) box at the bottom.

    Alpha Five Application Server Windows Service: LogOn Tab

  7. Click over to the Monitor tab:

    • If you find that the server becomes unstable after using a lot of RAM, check the Whenever its memory usage exceeds box and enter an appropriate memory threshold (in MB). We have entered 768 to ensure that AlwaysUp will restart the server if it ever consumes more than 3/4 GB of RAM, but please be sure to select a threshold based on your own experience. The expert folks at Alpha suggest entering 2x the normal memory usage, but you may go even higher if your workload involves large file uploads or other memory-hungry operations.

    • Some of our expert users recommend periodically restarting the application server, to cure memory leaks, inconsistent states, etc. To do so, check the Every box and choose a good time to restart the server. We have chosen daily at 2 AM.

    Alpha Five Application Server Windows Service: Monitor Tab

  8. Click over to the Startup tab and check the Ensure that the Windows Networking components have started box. This informs AlwaysUp that the Alpha Five Application Server needs the TCP/IP networking stack to operate.

    Alpha Five Application Server Windows Service: Startup Tab

  9. Click the Save button. In a couple of seconds, an application called A5 Server will show up in the AlwaysUp window. It is not yet running though.

    Alpha Five Application Server Windows Service: Created

  10. To start the server choose Application > Start "A5 Server".

    Alpha Five running as a Service with AlwaysUp

    Note that Alpha will be running in Session 0 (the desktop where all Windows Services run) and the tray icon may not be visible if you are Windows 7, 2008 or Vista or are connected to your server via RDP.

    There are several ways to see the Alpha tray icon:

    1. Choose Application > Restart "A5 Server" in this Session from AlwaysUp. This will stop Alpha in Session 0 and restart it on your current desktop where will operate normally
    2. On Windows 7, 2008 or Vista, set up a "regular" desktop in Session 0 and then select Tools > Switch to Session 0 from AlwaysUp when you need to see the tray icon
    3. New! Simply start a second instance of Alpha. Jerry Brightbill, Alpha guru, advises:
      "If you have a need to access the application server icon for maintenance, just start another instance of the application server from a shortcut. The server won't actually start as the port is in use, but you can access settings, etc. After making any changes, close the second instance of the application server, and use AlwaysUp to restart the working instance of the server to apply the new settings."
      Many thanks to Tony Evans for bringing this simple solution to our attention!

  11. That's it! Next time your computer boots, the Alpha Five Application Server will start up immediately, before anyone logs on. We encourage you to edit the entry in AlwaysUp and check out the many other settings that may be appropriate for your environment.



Alpha Five not working properly as a Windows Service?

Download & Try it Free!

Download AlwaysUp and Run as a Service Today! Version 15.1 New!

7.9 MB Installer
Our 12,000+ customers include...
Compatible with Windows 11 Compatible with Windows Server 2022 Compatible with Windows 10
Over 94,000 installations, and counting!
 
AlwaysUp is number 1! Run as a Service with AlwaysUp

Rock-solid for the past 19+ years!