To add Lawson network services to the services file

  1. Open the c:\Windows\system32\drivers\etc\services file.
  2. Create entries for the tcpjs and tcpexecjob services. Use the following format for each entry:

    ServiceName EnvironmentName PortNumber/tcp # Description

    Note: Ensure that there is no space between the ServiceName and EnvironmentName.

    where ServiceName is the identifying name for the service, EnvironmentName is the name of the Lawson Environment as shown in laconfig, and PortNumber is a unique port. The port number for each service must be the same on all machines and cannot be used by any other network service in the network. This is referred to as a "well-known" port because it is used on all machines in the network cluster, but it is unique on the network itself.

    Sample services file:

    # Lawson distributed batch
    #
    tcpjsnt901          9996/tcp # Lawson Remote Batch JS API
    tcpexecjobnt901     9998/tcp # Lawson Remote Batch Execution
    tcpjsnt900          9994/tcp # Lawson Remote Batch JS API
    tcpexecjobnt900     9995/tcp # Lawson Remote Batch Execution
  3. Save the additions to the services file.
  4. Repeat the previous steps on each node or machine in the network cluster.
  5. After adding the entries, stop your application server.
  6. Run the Infor stoplaw command.
    When you are ready to restart the Infor Lawson system, run the startlaw command and then start your application server to activate the changes.