If a Web Job crashes when using seated Web licenses, for example W05, the license will not be released. After all licenses have been used up in this manner, no other Web Jobs can be started. To "refresh" the system:
- Stop the Listener.
- Run Clean Up Systems from the Web Administrator.
- Start the Listener.
If you wish, you can create a batch file to do these two steps in one go.
Following is an example of such a batch file with the name: resetw05lic.bat
@echo off
setlocal
set LANSA_ROOT=C:\Program Files (x86)\LANSA
rem Change to the drive as part of changing directory
rem Change to Connect folder
cd /d "%LANSA_ROOT%\Connect"
echo Stop the Listener
lcolist -sstop rem
rem Change to the LANSA runtime Execute folder.
cd /d "%LANSA_ROOT%\X_WIN95\X_LANSA\Execute"
echo Perform Clean Up Systems
w3_p2200
rem
rem Change to Connect folder
cd /d "%LANSA_ROOT%\Connect"
echo Start the Listener
lcolist -sstart
rem
endlocal
If using a 64 bit LANSA runtime, change X_WIN95 to X_WIN64
There is no need to change the Connect folder to Connect64 as the lcolist program automatically starts and stops the appropriate LANSA listener
Typically the locations of
w3_p2200.exe is C:\Program Files (x86)\LANSA\X_WIN95\X_LANSA\Execute.
lcolist.exe is C:\Program Files (x86)\LANSA\Connect
- If your installation is different to the typical installation, please update the batch file example accordingly by setting the environment variable LANSA_ROOT to the installation path.