Go to Bottom

The Stack Controller

In this Topic: Show

Overview

The Stack Controller is in charge of sending "posts," such as email, order status, and inventory updates from the Order Manager to their destinations. By default, the Order Manager stores pending post requests on the local workstation using the Stack Controller within the program file. The "Local" stack controller is recommended for smaller Web stores with a low volume of orders. However, if you are using the Order Status System or the Order Manager becomes "hung up" while importing orders, processing tracking numbers, or sending email, you probably need to set up a Shared Stack Controller.

About the Shared Stack Controller

The Stack Controller is very similar to a print queue. Take for example, order status changes: as you process orders, status change data needs to be sent to your website, so the data is queued in the stack controller until the Order Manager checks for post requests to send. At regular intervals, the program attempts to send these post stack requests to your website. Behind the scenes, the Order Manager gives control of this process to Internet Explorer. If Internet Explorer encounters a problem (i.e., it doesn't receive a response from the website), it appears as though the Order Manager is not responding when in fact it is waiting for a sign from Internet Explorer that the post stack requests were sent successfully. The delay becomes a problem when dozens or hundreds of posts are waiting in the queue and each one is delayed; the Order Manager could be unavailable for several minutes.

 

With the Shared Stack Controller, requests from each workstation running the Order Manager are stored in the shared data file. If Internet Explorer encounters a problem, the Order Manager will stop responding on the designated machine, not the local workstations. Users can continue to work on the local workstations and eventually the program will attempt to re-send the post stack requests from the shared stack controller.

 

Note: The Order Manager must be open and running on the PC hosting the shared post stack controller at all times for the data to be updated. If the PC fails or is replaced, return to these directions to assign a new shared post stack controller.

Set up a Shared Stack Controller

First, make sure the post stack controllers on each computer are clear:

  1. From the Order Manager Main Menu, press Ctrl^Shift^s.

  2. A message box opens indicating if the number of records in the stack. Click OK.

  3. If the stack contains records, click Yes to open the Post Stack Viewer. If there are no records in the stack, click No. Proceed to the next section.

  4. If you clicked Yes to open the Post Stack Viewer, click the Send Now button.

  5. Click Close.

Then, set up the Shared Post Stack Controller:

  1. Decide which computer will be the designated stack controller. If you data file is stored on a file server, use that computer.

  2. Go to the Main Menu> Maintenance Menu>Maintenance tab> Set System Parameters button or click System Parameters on the Quick Clicks menu.

  3. The Set System Parameters dialog box opens.

  4. Click on the Program system parameter group.

  5. Click on the WebStackController system parameter. In the Parameter Text field, enter the name of the computer that will host the shared post stack controller.

To determine the computer name of the workstation, right-click on the My Computer desktop icon and select Properties. Click on the Computer Name tab. Look for the value in the Full Computer Name field, and enter up to the first 15 characters of the computer name (value to the left of the period separating the computer name from the domain name) into the WebStackController parameter. Depending on the operating system, these steps may vary slightly. This example depicts a Windows XP installation.

  1. Click Save.

  2. Click on the WebStackLocation system parameter. Select Shared from the list. Click Save.

  3. Click Close to exit the Set System Parameters dialog box. Refresh the parameter settings by going to the Maintenance Menu and then back to the Main Menu.

Created: 1/27/12

Go to Top