Running Apache Tomcat as a Windows service (64-bit)

Configure the 64-bit version of Tomcat that ships with the connector to run Apache Tomcat as a service on a 64-bit computer.

Before you begin

Verify that the service is not installed. If the service is installed, uninstall the service, and then restart the computer. Then, install the new service.

Tip: To avoid problems, do not use spaces in file paths. For example, for the Program Files directory you can use PROGRA~1.

Procedure

  1. Open a command prompt and install the new 64-bit service by changing to the SAPCInstallDir\server\tomcat\bin directory, and typing this command:
    service.bat install 
    Important:
    1. On Windows operating systems that have User Account Control (UAC), the command shell must be run as an administrator.
    2. You must set the JAVA_HOME environment variable to the directory that contains the new 64-bit service.
  2. Run the SAPCInstallDir/server/tomcat/bin/tomcat7.exe //ES//Connector program to configure the service.
  3. Add the following lines at the end of the Java Options text field
    -Djavax.net.ssl.trustStore=c:\IBM Rational\sslclient.jks
    -Djavax.net.ssl.trustStorePassword=changeit
  4. In Maximum memory pool, change the pool size to 1024.
  5. On the Startup and Shutdown tabs, make sure that jvm is selected for the Mode setting.
  6. Click the General tab and change the Startup type to Automatic to start the service automatically when Windows starts.
  7. After the service starts, verify that the server is running by logging on to the server from your browser.

Feedback