Re: Guide: How to run Alpha Five as a Windows Service with AlwaysUp
Always Up and Task Scheduler are the best choices that I've come across to date for version 11.
Announcement
Collapse
The Alpha Software Forum Participation Guidelines
The Alpha Software Forum is a free forum created for Alpha Software Developer Community to ask for help, exchange ideas, and share solutions. Alpha Software strives to create an environment where all members of the community can feel safe to participate. In order to ensure the Alpha Software Forum is a place where all feel welcome, forum participants are expected to behave as follows:
Be sure all comments and threads you post are respectful. Posts that contain any of the following content will be considered a violation of your agreement as a member of the Alpha Software Forum Community and will be moderated:
If a thread or post is found to contain any of the content outlined above, a moderator may choose to take one of the following actions:
Moderators may also rename posts and threads if they are too generic or do not property reflect the content.
Moderators may move threads if they have been posted in the incorrect forum.
Threads/Posts questioning specific moderator decisions or actions (such as "why was a user banned?") are not allowed and will be removed.
The owners of Alpha Software Corporation (Forum Owner) reserve the right to remove, edit, move, or close any thread for any reason; or ban any forum member without notice, reason, or explanation.
Community members are encouraged to click the "Report Post" icon in the lower left of a given post if they feel the post is in violation of the rules. This will alert the Moderators to take a look.
Alpha Software Corporation may amend the guidelines from time to time and may also vary the procedures it sets out where appropriate in a particular case. Your agreement to comply with the guidelines will be deemed agreement to any changes to it.
Bonus TIPS for Successful Posting
Try a Search First
It is highly recommended that a Search be done on your topic before posting, as many questions have been answered in prior posts. As with any search engine, the shorter the search term, the more "hits" will be returned, but the more specific the search term is, the greater the relevance of those "hits". Searching for "table" might well return every message on the board while "tablesum" would greatly restrict the number of messages returned.
When you do post
First, make sure you are posting your question in the correct forum. For example, if you post an issue regarding Desktop applications on the Mobile & Browser Applications board , not only will your question not be seen by the appropriate audience, it may also be removed or relocated.
The more detail you provide about your problem or question, the more likely someone is to understand your request and be able to help. A sample database with a minimum of records (and its support files, zipped together) will make it much easier to diagnose issues with your application. Screen shots of error messages are especially helpful.
When explaining how to reproduce your problem, please be as detailed as possible. Describe every step, click-by-click and keypress-by-keypress. Otherwise when others try to duplicate your problem, they may do something slightly different and end up with different results.
A note about attachments
You may only attach one file to each message. Attachment file size is limited to 2MB. If you need to include several files, you may do so by zipping them into a single archive.
If you forgot to attach your files to your post, please do NOT create a new thread. Instead, reply to your original message and attach the file there.
When attaching screen shots, it is best to attach an image file (.BMP, .JPG, .GIF, .PNG, etc.) or a zip file of several images, as opposed to a Word document containing the screen shots. Because Word documents are prone to viruses, many message board users will not open your Word file, therefore limiting their ability to help you.
Similarly, if you are uploading a zipped archive, you should simply create a .ZIP file and not a self-extracting .EXE as many users will not run your EXE file.
- Be professional in your conduct
- Be kind to others
- Be constructive when giving feedback
- Be open to new ideas and suggestions
- Stay on topic
Be sure all comments and threads you post are respectful. Posts that contain any of the following content will be considered a violation of your agreement as a member of the Alpha Software Forum Community and will be moderated:
- Spam.
- Vulgar language.
- Quotes from private conversations without permission, including pricing and other sales related discussions.
- Personal attacks, insults, or subtle put-downs.
- Harassment, bullying, threatening, mocking, shaming, or deriding anyone.
- Sexist, racist, homophobic, transphobic, ableist, or otherwise discriminatory jokes and language.
- Sexually explicit or violent material, links, or language.
- Pirated, hacked, or copyright-infringing material.
- Encouraging of others to engage in the above behaviors.
If a thread or post is found to contain any of the content outlined above, a moderator may choose to take one of the following actions:
- Remove the Post or Thread - the content is removed from the forum.
- Place the User in Moderation - all posts and new threads must be approved by a moderator before they are posted.
- Temporarily Ban the User - user is banned from forum for a period of time.
- Permanently Ban the User - user is permanently banned from the forum.
Moderators may also rename posts and threads if they are too generic or do not property reflect the content.
Moderators may move threads if they have been posted in the incorrect forum.
Threads/Posts questioning specific moderator decisions or actions (such as "why was a user banned?") are not allowed and will be removed.
The owners of Alpha Software Corporation (Forum Owner) reserve the right to remove, edit, move, or close any thread for any reason; or ban any forum member without notice, reason, or explanation.
Community members are encouraged to click the "Report Post" icon in the lower left of a given post if they feel the post is in violation of the rules. This will alert the Moderators to take a look.
Alpha Software Corporation may amend the guidelines from time to time and may also vary the procedures it sets out where appropriate in a particular case. Your agreement to comply with the guidelines will be deemed agreement to any changes to it.
Bonus TIPS for Successful Posting
Try a Search First
It is highly recommended that a Search be done on your topic before posting, as many questions have been answered in prior posts. As with any search engine, the shorter the search term, the more "hits" will be returned, but the more specific the search term is, the greater the relevance of those "hits". Searching for "table" might well return every message on the board while "tablesum" would greatly restrict the number of messages returned.
When you do post
First, make sure you are posting your question in the correct forum. For example, if you post an issue regarding Desktop applications on the Mobile & Browser Applications board , not only will your question not be seen by the appropriate audience, it may also be removed or relocated.
The more detail you provide about your problem or question, the more likely someone is to understand your request and be able to help. A sample database with a minimum of records (and its support files, zipped together) will make it much easier to diagnose issues with your application. Screen shots of error messages are especially helpful.
When explaining how to reproduce your problem, please be as detailed as possible. Describe every step, click-by-click and keypress-by-keypress. Otherwise when others try to duplicate your problem, they may do something slightly different and end up with different results.
A note about attachments
You may only attach one file to each message. Attachment file size is limited to 2MB. If you need to include several files, you may do so by zipping them into a single archive.
If you forgot to attach your files to your post, please do NOT create a new thread. Instead, reply to your original message and attach the file there.
When attaching screen shots, it is best to attach an image file (.BMP, .JPG, .GIF, .PNG, etc.) or a zip file of several images, as opposed to a Word document containing the screen shots. Because Word documents are prone to viruses, many message board users will not open your Word file, therefore limiting their ability to help you.
Similarly, if you are uploading a zipped archive, you should simply create a .ZIP file and not a self-extracting .EXE as many users will not run your EXE file.
See more
See less
Guide: How to run Alpha Five as a Windows Service with AlwaysUp
Collapse
This is a sticky topic.
X
X
-
Re: Guide: How to run Alpha Five as a Windows Service with AlwaysUp
Is this the current and best solution to running the web server as a service?
Leave a comment:
-
Re: Guide: How to run Alpha Five as a Windows Service with AlwaysUp
Originally posted by SNusa View PostBrilliant & simple! (This tip/hint should display on the settings page of the applications server!)
Leave a comment:
-
Re: Guide: How to run Alpha Five as a Windows Service with AlwaysUp
Thank you Steve it's working now...
Leave a comment:
-
Re: Guide: How to run Alpha Five as a Windows Service with AlwaysUp
Kamal, just go to Devices and Printers and make the your AlphaFivePrinter the default printer.
See the first post in this conversation for links to other help.
--> AlwaysUp is signifcantly more than just 'restarting the WAS when the server restarts'.
Leave a comment:
-
Re: Guide: How to run Alpha Five as a Windows Service with AlwaysUp
Originally posted by mvaughn View PostWe use Task Scheduler to run the app server whenever the computer starts (regardless if a user is logged in or not). Free and simple. Just choose "On Computer Start" as the trigger for the Task and there you go.
Leave a comment:
-
Re: Guide: How to run Alpha Five as a Windows Service with AlwaysUp
Hi Everyone,
As your suggestion I used AlwaysUp, but I have problem with print report, the error message is:
Report did not print. Error reported was:
'Alpha Five Printer' (for creating PDF, RTF and HTML output) is not installed. Re-install Alpha Five Application Server
Please Any Help ?!?!?!?
Leave a comment:
-
Re: Guide: How to run Alpha Five as a Windows Service with AlwaysUp
We use Task Scheduler to run the app server whenever the computer starts (regardless if a user is logged in or not). Free and simple. Just choose "On Computer Start" as the trigger for the Task and there you go.Last edited by mvaughn; 11-06-2012, 10:37 AM.
Leave a comment:
-
Re: Guide: How to run Alpha Five as a Windows Service with AlwaysUp
Originally posted by Clipper87 View Post... you can restart the was "in the current session" from the application
menu (restart in this session) in AlwaysUp and then it will show it's systray icon ....
Originally posted by Clipper87 View PostNote however that you are restarting the was so users currently logged on may get interrupted.
Leave a comment:
-
Re: Guide: How to run Alpha Five as a Windows Service with AlwaysUp
One more thing I just discovered. If you want to specify your own config file, then in AlwaysUp, you cannot have spaces around the equals sign. So, for example, in one of my applicaitons, I set (on the General tab), the Application to
C:\Program Files (x86)\a5V11 ApplicationServer\A5ApplicationServer.exe
and the Arguments to
-ConfigFile = c:\a5\a5configs\4000_EGW_V11_Config.xml
but, it did not work. I had to change to
-ConfigFile=c:\a5\a5configs\4000_EGW_V11_Config.xml
Notice there are no spaces around the =
Leave a comment:
-
Re: Guide: How to run Alpha Five as a Windows Service with AlwaysUp
Tip: How to access the Alpha Server's Tray Icon when it is running in Session 0 with AlwaysUp
As many of you using Windows Server 2008 have learned, AlwaysUp is sometimes unable to automatically start A5 and show the task tray icon on your desktop. This is usually because of "Session 0 Isolation", introduced in Windows Vista and present in Windows 7 and Server 2008 as well. We have recommended using AlwaysUp's "Restart in the Current Session" functionality to make your tray icon visible, but this is less than ideal because it briefly stops the server (and kicks off any users logged on).
Fortunately, with the help of forum member leetv, we have developed a more appealing option! By running the Windows Explorer in Session 0 with AlwaysUp, your A5 tray icons are readily available when you switch to Session 0. This tutorial shows you how to set things up:
How to Show your Application's Tray Icons when Running in Session 0 with AlwaysUp
I am happy to report that leetv is now running multiple instances of Alpha with AlwaysUp and all his tray icons are accessible without having to restart the servers!
As always, please PM me (or send an email to "[email protected]") if you have any questions or run into trouble with the tutorial. Any and all feedback is welcome.
Leave a comment:
-
Re: Guide: How to run Alpha Five as a Windows Service with AlwaysUp
Pat,
That is very usefull information you give here about starting multiple instances with a delay!
Thx
Leave a comment:
-
Re: Guide: How to run Alpha Five as a Windows Service with AlwaysUp
If you use a single instance of the WAS, then simply start another instance from the start menu. It will not start completely because the port is already in use by the instance in AlwaysUP, but you can right click on the red orb and access the configuration form. Since you are probably using the default configfile, this will change it. Then restart the WAS in AlwaysUP to apply the changes. Personally, I only use the rignt click to set the email profile (and that's usually a one time thing ). For all other changes, I just do them directly in the configfile, then restart the WAS in AlwaysUP. If you are using multiple instances either through different ports or ip binding, then you are already familiar with creating and modifying the configfiles.
I usually copy the configfile(s) into a shallower directory, like C:\A5\a5configs and work on it from there...Alpha by default burys it pretty deep.
If you do use multiple instances, I've found it's best to space the startups by about 30 seconds. In some cases starting several at once will cause them to lock up, so do the first at 30, the next at 60 and so on. I've found that spacing to be fine for the slowest machines. Then you can watch them start up in task manager and adjust if yours are loading faster. This setting is on the AlwaysUP startup tab.
One more tip, when applying a new Alpha patch, I just go to AlwaysUp, do a stop all, apply the patch, then start all. Otherwise, Alpha will issue a message to restart the server, which most people will read as restart the physical server.
Great product. I use it on every site.
Leave a comment:
-
Re: Guide: How to run Alpha Five as a Windows Service with AlwaysUp
Turns out that when you run on a 2008 server you cannot let the was interact with the desktop but when logged on you can restart the was "in the current session" from the application
menu (restart in this session) in AlwaysUp and then it will show it's systray icon (until you log off) This works far better/smoother compared to stopping the was in Alwaysup then starting the was from the start menu. Note however that you are restarting the was so users currently logged on may get interrupted.
Thanks to the people from Coretech for pointing me to their FAQ at http://www.coretechnologies.com/prod...FAQ.html#NoGUI
Leave a comment:
-
Re: Guide: How to run Alpha Five as a Windows Service with AlwaysUp
I'd like to know how to do this too... it's very annoying that i have to stop the whole website to load it individually.
Leave a comment:
Leave a comment: