Step 1: Modify the Tomcat startup script
CATALINA_OPTS indicates the amount of memory to allocate. It also indicates where Pentaho licenses are installed.
Note: The startup process will fail if an environment variable setting is not valid or is incorrect. When modifying any environment variable in the startup file, make sure its setting is valid and correct.
Perform the following steps to include the CATALINA_OPTS variable:
Copy all the JAR files from the
server\pentaho-server\pentaho-solutions\native-lib\win64
folder to the~\webapps\pentaho\WEB-INF\lib
folder.Add the LIBPATH variable to the Tomcat
startup.bat
file as follows:set LIBPATH=~\native-lib\win64
Make sure the Tomcat web application server is not running by starting the Windows Task Manager and looking for Tomcat in the Applications tab.
If the server is running, stop it.
Use a text editor to open the
startup.bat
file, which is in thepentaho\server\pentaho-server\tomcat\bin
directory.Add this line before the
CATALINA_HOME
section:SET DI_HOME=%~dp0..\..\pentaho-solutions\system\kettle
Add the java option
pentaho.license.information.file
to the CATALINA_OPTS variable.You need to modify the setting of CATALINA_OPTS variable by adding the java option. See the following example.
SET CATALINA_OPTS=-Xms4096m -Xmx6144m -Djava.library.path=%LIBPATH% -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Dpentaho.license.information.file=%PENTAHO_LICENSE_INFORMATION_PATH% -DDI_HOME=%DI_HOME%
Save and close the file.
Last updated
Was this helpful?