Installing the Tomcat instance service

To install Tomcat instance service:

  1. Select Start > All Programs > Accessories.
  2. Right-click Command Prompt and select Run As Administrator.
    Note:  You must open a new Command Prompt window so that previously set environment variables if any, are not used for this installation.
  3. Navigate to the apache-tomcat-9.0.x\bin folder.
  4. Set the environment variable as:

    set CATALINA_BASE=instance installation location.

    For example, set CATALINA_BASE=D:\rel10_patch/instance_1. Specify the complete path to the location where the instance must be installed.

  5. Run the service command service name, where service name must be alpha numeric and with no special characters. For example, service install server1. To uninstall, run service remove service name .

    The name of the instance is based on the specified service name. For example, Infor Expense Management extensity server1.

  6. Start the service.