Alpha Software Mobile Development Tools:   Alpha Anywhere    |   Alpha TransForm subscribe to our YouTube Channel  Follow Us on LinkedIn  Follow Us on Twitter  Follow Us on Facebook

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 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

Running as a Windows service

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Running as a Windows service

    Does the Alpha 5 Version 10 (v10) Application Server run as a Windows SERVICE under Windows Server 2003 on install or do you have to make it run as a Service as in Version 9 through the workaround???

    #2
    Re: Bringing a v9 application over to v10?

    You need 'the workaround' to run V10 as a service. I use AlwaysUp from www.coretechnologies.com.
    Steve Wood
    See my profile on IADN

    Comment


      #3
      Re: Bringing a v9 application over to v10?

      I just need to know if V10 Application Server runs as a service "out of the box?" The Application Server should have always been a service since it is a SERVER application not a USER application. The V9 Application server we have now has to be restarted everytime the server restarts or the user logs out which is really a pain! ...AND Yes, the check box to "start server automatically" is check but does not work. I have not converted it to a service yet using the Windows Toolkit and wanted to know if I could just save the time and upgrade to v10 and have it work as a service.

      If the Application Server not a service in V10 then please make it one before you release it!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

      Comment


        #4
        Re: Bringing a v9 application over to v10?

        Like I said, No it does not run as a service. The "start server automatically" checkbox means the app server will start if you reboot to the desktop and manually or automatically log in to the server.

        V10 does not run as a service, and from conversations I've have had with Alpha, it isn't going to.
        Steve Wood
        See my profile on IADN

        Comment


          #5
          Re: Bringing a v9 application over to v10?

          I cannot remember exactly how the "work-around" was, but do remember thinking that the application service start was very similar looking to how any service is started...and with one (I think) exe file (srvman.exe) and a vbs script, Alpha can be made to run as a service.

          If Alpha is not going to do this I have a feeling that I must have missed something, but......if I saw correctly when looking at the method shown for the application server, it sure looked similar and if so, not an issue even for runtime applications I am thinking.

          I would have to check the work-around if this is something that would be of use--I just know it did not take that long to modify an existing vbs script found on Google to do this....and a vbs script can easily be run from many places, including Alpha (and once run, you're done!).

          Am I thinking incorrectly about this?? Would it be a problem for an Alpha application that ran a server to use a one-time vbs file to create the service??

          Later---now my curiousity is piqued! Need to find a small block of time to see what's what.
          Mike
          __________________________________________
          It is only when we forget all our learning that we begin to know.
          It's not what you look at that matters, it's what you see.
          Henry David Thoreau
          __________________________________________



          Comment


            #6
            Re: Bringing a v9 application over to v10?

            Making Alpha run as a service is a simple operation. Search for instructions using "Srvany.exe", there are even instructions on Alpha's Blog. But in my opinion, and I have dozens of apps running this way, you should use AlwaysUp from www.coretechnologies. I think there is a $5 off option from my own website because I referred so many users. Many, many developers here are using this utility.

            Here's why - if all you do is "run the Alpha App Server as a service" then you are missing the big picture. All that means is Alpha will spring back to life if the server reboots. Since that hardly ever actually happens, it will rarely be of any use, but there in emergencies.

            AlwaysUp does the following (I mean, this is what I use it for):
            • I can easily manage any program as a service, so I include my FTP Server, DirectoryWatch as well as Alpha Five App Server.
            • I can easily run the Exe as a particular user, Admin or other.
            • I can tell it when to restart the Alpha App Server - if it hogs the CPU, if it consumes more than XXX MB of memory, if it just 'hangs'.
            • I can tell it to reset the App Server if "at 3AM, nobody is logged in", and similar scenerios.
            • Or just to reboot the entire server at 3AM if I want.
            • It emails me every day to tell me how the service performed - % uptime, MB of memory and CPU consumption.
            • It emails me if it had to reset the server because of one of those performance measures.
            • It can run a batch file before it starts the App Server (I used to use this as a poor man's autoexec).
            • And finally it allows me to see the little App Server icon in the lower right which I don't think you get with Srvany and is worth the price of admission.
            Steve Wood
            See my profile on IADN

            Comment


              #7
              Re: Bringing a v9 application over to v10?

              Excellent points Steve. Should almost be a given considering the pros of using Always Up compared with just having it run as a service....

              But if running as a service is all that is wanted then it is fairly simple either manually using Alpha's work-around or another product I found called "Service_srvman-1.0" http://tools.sysprogs.org/srvman/ This has a "manual" GUI, a command line mode (have not used yet), or you could use the following for automation where possible.

              This small service manager could easily be part of any installation (freeware) as it is just an exe--no installation. Referencing this exe and your application exe via the attached vbs file easily creates the service (and registry entries)...I left in some extra code present but is commented out. You have to change any of the relevant paths and names for your specific application.

              Vbs can run (can use the Alpha function-- A5_run_vbscript() from an Alpha application so may be a bit more difficult unless it is a hybrid maybe. So if a way is found to run this script either on installation or via an autoexec (or whatever), then your users/clients need not even have to know or do anything.

              Last edited by MikeC; 10-13-2009, 01:49 AM.
              Mike
              __________________________________________
              It is only when we forget all our learning that we begin to know.
              It's not what you look at that matters, it's what you see.
              Henry David Thoreau
              __________________________________________



              Comment


                #8
                Re: Bringing a v9 application over to v10?

                I believe the current A5-Server is really just a customised RUN-TIME that, possibly uses a few undocumented features.
                Thus to convert this in to a true service would require a bit of resource hacking of the PE, Portable Executable.
                While this isn't too difficult to do, I'd hate to see this alter the stability of the current server, which is quite possible.
                This is also so why I believe the mythological cluster server for a5 has never apparated onto the market.
                And anyone of us here could create our own runtime version of the A5-Server, however to achieve respectable performance is an entirely different issue.
                Having said that, I also, use and suggest others use ALWAYS-UP due to all the benefits it has. And actually further suggest that Alpha consider usage of the "AlwaysUp Command Line Tools (CLT) package" in the server.

                Comment


                  #9
                  Re: Bringing a v9 application over to v10?

                  Originally posted by ColinJD View Post
                  Having said that, I also, use and suggest others use ALWAYS-UP due to all the benefits it has. And actually further suggest that Alpha consider usage of the "AlwaysUp Command Line Tools (CLT) package" in the server.
                  I second that suggestion :)

                  Comment


                    #10
                    Re: Running as a Windows service

                    Just to chime in. The server I'm installing the WAS on has no other purpose than to run my Filemaker database. This server has power issues, even with a UPS, and restarts quite often. It's location is political, not logical, so I have no control over that. Filemaker Server automatically restarts of course, so without the "always up" that I will now look into, using the WAS on this server would mean many calls at all hours to me to let me know that the "program is down". It's a headless server that I administer with remote desktop. So I would vote for some simple restart system included with the WAS even if it costs a few extra bucks. What could it hurt?

                    Bill Belanger

                    Comment


                      #11
                      Re: Running as a Windows service

                      simple restart system included with the WAS...
                      From what I hear directly, ain't going to happen.
                      Steve Wood
                      See my profile on IADN

                      Comment


                        #12
                        Re: Running as a Windows service

                        Bill for your usage with that particular server you could simply use task manager and assign the app to start upon reboot problem solved for you.

                        Cheers
                        ;)
                        Nicholas Wieland
                        LedgerSuite.com Corp
                        [email protected]
                        http://www.ledgersuite.com

                        Comment


                          #13
                          Re: Running as a Windows service

                          Dear Steve,
                          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 ?!?!?!?
                          Best Regards,
                          Kamel Jazmati

                          [email protected]
                          Kamelj.com
                          @KamelZJ

                          Comment

                          Working...
                          X