Installing and starting the service

To install the service, you run the service.bat file. You also must update the Tomcat monitor to point to the JVM.

If you are not using the bundled JVM, then make sure that the JAVA_HOME environment variable is set to the location of your JDK. By default, service.bat looks for %JAVA_HOME%\jre\server\jvm.dll.

To install and start the Studio service:

  1. From the command line, navigate to the Studio Tomcat bin directory.

    endeca_portal\tomcat-6.0.x\bin\

  2. Run the following command:

    service.bat install

  3. Configure the Tomcat monitor to point to the JVM:
    1. Double-click the monitor executable (for example, Studio23w.exe).
    2. On the properties dialog, click the Java tab.
    3. Uncheck Use default.
    4. In the Java Virtual Machine field, set the full path to jvm.dll.

      For the bundled JVM, the file is endeca-portal\tomcat-6.0.x\jre1.6.0_x\win\bin\server\jvm.dll.

      If you are not using the bundled JVM, then set the path to your JVM.

    5. Click OK.
  4. When you install the service, it is set up to be started manually. To configure the service to start automatically:
    1. Display the Services list (Control Panel > Administrative Tools > Services).
    2. In the list, double-click the Studio service.

      The properties dialog for the service is displayed.

    3. From the Startup type drop-down list, select Automatic.
    4. Click OK.
  5. From the Services list, to start the service for the first time, right click the service, then click Start.