


The ACUCOBOL-GT Web Plug-in is licensed in one of two ways. Most often, you install an ACUCOBOL-GT runtime license on the server that will accommodate the number of concurrent plug-in users that you anticipate. (If you anticipate 100 concurrent users, you need a 100-user runtime license file on the server in addition to the AcuServer license file.) AcuServer Version 5.2 detects plug-in connections and checks out a standard runtime license for each connection if a license file is not found. When a plug-in user disconnects from AcuServer by exiting the COBOL program, the runtime license authorization is released and made available to subsequent users. If the number of plug-in users exceeds the number of authorizations available on the server at any given time, the COBOL program receives a file status code 9D,105 and this message is output to AcuServer's error log:
You have exceeded the licensed number of clients for AcuServer. If you would like to add clients, please contact your customer service representative
If your COBOL program receives a status code of 9D,105, it should display a message box stating that the Web file server is busy, and to please retry later.
It is important to note that the plug-in continues to run even when no license file is available, but in a restricted mode. In restricted mode, programs run with the plug-in cannot use the following:
If an end user tries to perform an activity that is not permitted, your program should present a message that explains why the activity cannot be completed. For example, if an end user tries to print something in restricted mode, your program could display a message that says "A software license could not be found. XYZ Software is unable to print." Otherwise, the user might think that the printer is turned off, unplugged, or jammed. Your program should accommodate all of the limitations of a restricted plug-in in some manner.
Programs running in restricted mode can use AcuConnect to call programs on a server machine that can use Acu4GL, AcuSQL, and the server's printing facilities. AcuConnect counts the number of concurrent runtimes it launches on the server. Programs running in restricted mode can also use COBOL applets, local sequential and relative files in permissible directories, C$GETURL, ActiveX, and OLE.
If you move the plug-in executable to a new directory, be sure to move the corresponding license file.
If you are licensed for additional Acucorp technologies, such as Acu4GL or AcuSQL, a license file for each product the plug-in will work with must reside in the same directory as the plug-in executable. Contact your Acucorp representative for additional details.