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

Make A5W program a Service - Free Tool

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

    Make A5W program a Service - Free Tool

    I found this link to make WAP run as service.

    http://www.vbrad.com/article.aspx?id=92

    The task bar doesn't display icon but you can see its live in the Servie window.

    When you need to make change to WAP setup stop service and execute from program list. Then save and restart service.

    Works fine on my PC - WIN Server 2008 w/sp1

    #2
    Re: Make A5W program a Service - Free Tool

    We use the program Always Up. This application has many options and can send email notifications.

    We use this application on various servers from Win 2K Server thru Server 2008.

    I have it running Alpha on Server 2008 SP1 with no problems.
    ---------------------------------------------------
    Barry Kucher
    http://www.411tech.org

    Comment


      #3
      Re: Make A5W program a Service - Free Tool

      Pardon my ignorance, I would like if it is possible, an explanation as to the benefits of this tool.
      How will it benefit AW5, with speed, security or any thing else?
      In my case I am hosting my own web server.

      Comment


        #4
        Re: Make A5W program a Service - Free Tool

        From a practical standpoint, 'running as a service' means Alpha will 'turn back on' after a system crash or reboot. Without this feature, you will have to physically go to the server and re-start ALpha. Or, if you follow the instructions provided by Alpha, you have to set up the Alpha server in your 'startup' folder so it will automatically restart. That last option sound like a good one, but its a security risk. It means your sever has to auto-log in to restart Alpha, a big mistake from a security standpoint. Running as a service starts Alpha without logging in.

        The utility described in the first post is a standard WinNT utility, around forever, that can run almost any program as a service. It is a basic utilty, with no features other than this single function. The AlwaysUp (FireDaemon is another similar product) is a full featured utility with the ability to monitor your system and take action based on conditions. Restart Alpha, or even reboot the computer if Alpha hogs the CPU for instance (which can happen). AlwaysUp also will email you when there is a problem, and send you daily/weekly status reports of the server health.

        If keeping your server running is important, using one of these tools is practically mandatory. AlwaysUp is available at my website under Resources.
        Steve Wood
        See my profile on IADN

        Comment


          #5
          Re: Make A5W program a Service - Free Tool

          Also, with Always up, you are immediately notified if the A5W software stopped running. You can then check the logs to see what is going on. This is ESPECIALLY necessary if you are hosting the webserver yourself, as I do.
          ---------------------------------------------------
          Barry Kucher
          http://www.411tech.org

          Comment


            #6
            Re: Make A5W program a Service - Free Tool

            Sound good. Thanks for the explanations. I will try research further and implement it.

            Comment


              #7
              Re: Make A5W program a Service - Free Tool

              All of a sudden, I am getting tremendous slowdowns with just 5 or 6 users, and doing nothing very intensive - e..g, just enter a few records at a time. The CPU is running 95-98%.

              I do use alwaysup - what are the recommended settings?

              And where should I begin tlook to isolate where the slowdown (cpu hogginess - new word) is coming from.

              Gary
              Gary S. Traub, Ph.D.

              Comment


                #8
                Re: Make A5W program a Service - Free Tool

                To diagnose the issue I would perform the following steps in order:

                1. Reboot...I am also a Helpdesk for all computer related issues for my clients. I cannot find another profession where the same answer fixes 95% of all problems.

                2. With no users connected, is the server eating CPU?
                3. Have one user at a time log in and perform their functions. When the rogue user starts working, you should she the problem immediately.

                4. If none of these solutions work, I would look at any software recently installed such as ie8. I find ie8 a pig and refuse to install it.

                Hope this helps.
                ---------------------------------------------------
                Barry Kucher
                http://www.411tech.org

                Comment


                  #9
                  Re: Make A5W program a Service - Free Tool

                  Thanks Barry. I will let you know ...

                  Gary
                  Gary S. Traub, Ph.D.

                  Comment


                    #10
                    Re: Make A5W program a Service - Free Tool

                    Also, an hour or so after you reboot, check the session_folders folder and see if there are more sessions than you expect (like 50 if you expect 2). If so, check your logs for hacking attempts. Look for 404 errors and attempts to open pages with PHP in the extension (that's what I see mostly).
                    Steve Wood
                    See my profile on IADN

                    Comment


                      #11
                      Re: Make A5W program a Service - Free Tool

                      Hi Steve,

                      I do check frequently throughout the day, who is logged in and the number of session folders - thanks to YOUR nifty utility! - today, there were no extra seswsion folders, and no apparent hack attempts. Right now, the system seems to be working well; today I was getting frequent phone calls from frustrated users.

                      As an aside, but related topic, is there a way to set a limit on the amount of CPU that we allow a given routine to have? Right now, I notice that just about anything can cause at least a momentary spike in CPU usage. Running a report, running a query, even opening a page, can cause the CPU usage to spike momentarily to 95% or so. Not much of a problem with just a few users, and for short processes. But with even 10 users, this seems to be a big issue. My plan was to have hundreds of users - at this pace, that does not seem even remotely realistic. What am I missing??

                      How do on-line banks handle this? They must have 1,000's of users on a server. Logic tells me that there must be a way, I just have not found it yet.

                      If the CPU usage could be capped by us at say 20-30%, the process may run a bit slower, but it won't have the dramatic slow down for every other user of the application.

                      Gary
                      Gary S. Traub, Ph.D.

                      Comment


                        #12
                        Re: Make A5W program a Service - Free Tool

                        I don't know about the CPU thing, but the reason the hackers swamp the server is they make hundreds of page requests less than a second apart each, and the IP keeps changing. So the server gets swamped and does not recover even when the page requests subside. At least that's what I have found. My server disallows a range of IP addresses to help with this, places I don't expect any business and are known as hack locations.
                        Steve Wood
                        See my profile on IADN

                        Comment


                          #13
                          Re: Make A5W program a Service - Free Tool

                          My server disallows a range of IP addresses to help with this, places I don't expect any business and are known as hack locations.


                          Steve,

                          Is this range of IP addresses something that you could share?

                          And have you found that this method helps significantly?

                          Gary
                          Gary S. Traub, Ph.D.

                          Comment


                            #14
                            Re: Make A5W program a Service - Free Tool

                            Here is a white paper I created to show you how to Run Alpha Five as a service.

                            https://www.alphasoftware.com/docume...0817a5service/

                            Other comments about "Always Up" make that seem like an ideal choice, since it also gives you monitoring capabilities.

                            Comment


                              #15
                              Re: Make A5W program a Service - Free Tool

                              Gary, I use Apache in front of my Alpha server, so that is the utility I use to block IP addresses. Really, I don't recall where I got my list from, but I monitored where the offending ones came from, and then either blocked those specific IP's or the whole dang country based on some resource (I can no longer find) that defined IP ranges for the country.
                              Steve Wood
                              See my profile on IADN

                              Comment

                              Working...
                              X