This server installation will need to run a listener so that the client can connect in order to access the database or run called server functions. The XOTHSRV template used to create this package has Installer Listener = Yes.
1. Save the package definition and close the Package Maintenance dialog.
2. In the main Deployment Tool window, select the IIWINSRV application. Select the Communications Administrator toolbar button.
3. The Communications Administrator is used in two ways by the Deployment Tool:
For this server installation, you need to define a listener.
4. Select Listener from the Advanced menu.
The server application listener needs a Connection Identifier (port number) which will be unique on the machine it is to be installed onto. In this exercise, you will be installing the server application to your own PC. If you have one copy of Visual LANSA installed, you already have one listener, normally using a default Connection Identifier of 4545. If you have completed the Deploying Applications using JIT exercises you will have another listener for the JIT server. The suggested port number for this was 4547.
The LANSA Listener is a local Windows service and if necessary, you can check how many listeners you already have using Windows Control Panel / Administrative Tools / Services:
Scroll down to find the LConnect entries. The example shown above is unusual. This PC has a number of Visual LANSA installations, as well as a number of deployed applications.
If necessary, you can find the Communications Administrator for each LANSA installation and then find its Connection Identifier.
a. Enter any suitable value in the Connection Identifier. In most cases this could be 4546, but you must use a value which is unique for your PC.
b. Click OK to close the Listener Information dialog.
c. Close the Route Information dialog.
You will see this message box, after defining the Listener information: