Step 2: (Optional) Run the Pentaho Server as a Windows service

Optionally, you can create a Tomcat task to run the Pentaho Server as a Windows service. For more information, see: Tomcat Windows service how-to documentation.

You will need to use the following settings in the GUI application that appears when you run tomcat8w.exe to configure the service:

Tab

Field

Recommended Value

Startup

Working Path

Add bin to the end of the path. For example: C:\pentaho\server\pentaho-server\tomcat\bin

Java

Initial Memory Pool

2048

Maximum Memory Pool

6144

Java Option

Add the following items:

  • -DDI_HOME

  • -Dfile.encoding

  • -Djava.library.path

  • -Dpentaho.license.information.file

The following examples are possible values for the Java options:

  • **-DDI\_HOME**=*C:\\pentaho\\server\\pentaho-server\\pentaho-solutions\\system\\kettle*

  • **-Dfile.encoding**=*utf8*

  • **-Djava.library.path**=*<complete\_path>\\server\\pentaho-server\\pentaho-solutions\\native-lib\\win64*

  • **-Dpentaho.license.information.file**=*%PENTAHO\_LICENSE\_INFORMATION\_PATH%*

    You must set the PENTAHO_LICENSE_INFORMATION_PATH environment variable to point to the .elmLicInfo.plt file:

    PENTAHO_LICENSE_INFORMATION_PATH=<complete_path>\.elmLicInfo.plt

Last updated

Was this helpful?