Setting Startup Script Options

This chapter explains how to set startup script options, using the example of setting the 3rabbitz.model_fetch_size option to 100. Replace them with the option name and value you want to set.

Windows

When Registered as a Windows Service

Change the startup options as follows.

  1. Open Command Prompt as an administrator.

  2. Go to the 3RABBITZ_HOME\bin folder.

  3. Run the following command.

tomcat9 //US//3Rabbitz ++JvmOptions -D3rabbitz.model_fetch_size=100

Replace the option name 3rabbitz.model_fetch_size and the value 100 with the actual option name and value.

  1. Restart the ManualWorks service.

When Not Registered as a Windows Service

1

Add the 3rabbitz.model_fetch_size option to the startup script.

On Windows, open the 3RABBITZ_HOME/bin/startup.bat file and add the bold line below.

set TITLE=3Rabbitz
set JAVA_OPTS=%JAVA_OPTS% -Xms256m -Xmx2048m
set JAVA_OPTS=%JAVA_OPTS% -D3rabbitz.home="%RABBITZ_HOME%"
set JAVA_OPTS=%JAVA_OPTS% -Dfile.encoding=UTF-8
set JAVA_OPTS=%JAVA_OPTS% -XX:-OmitStackTraceInFastThrow
set JAVA_OPTS=%JAVA_OPTS% -D3rabbitz.model_fetch_size=100

:gotHome

Replace the option name 3rabbitz.model_fetch_size and the value 100 with the actual option name and value.

2

Restart ManualWorks.

Linux

1

Add the 3rabbitz.model_fetch_size option to the startup script.

On Linux, open the 3RABBITZ_HOME/bin/startup.sh file and add the bold line below.

EXECUTABLE=catalina.sh

JAVA_OPTS="$JAVA_OPTS -Xms256m -Xmx2048m"
JAVA_OPTS="$JAVA_OPTS -Dfile.encoding=UTF-8"
JAVA_OPTS="$JAVA_OPTS -Dstdout.encoding=UTF-8 -Dstderr.encoding=UTF-8"
JAVA_OPTS="$JAVA_OPTS -D3rabbitz.home=\"${RABBITZ_HOME}\""
JAVA_OPTS="$JAVA_OPTS -XX:-OmitStackTraceInFastThrow"
JAVA_OPTS="$JAVA_OPTS -D3rabbitz.model_fetch_size=100"

export JAVA_OPTS

Replace the option name 3rabbitz.model_fetch_size and the value 100 with the actual option name and value.

2

Restart ManualWorks.