Changing the default self-pivot setting when running the Endeca HTTP service from the command line

Self-pivot is enabled by default for each new rule created in Endeca Workbench, and the option is not displayed in Endeca Workbench.

In order to change the default behavior, you must set a Java parameter. Once the parameter is set (regardless of the value given for the default) the self-pivot check box displays on the Triggers tab of the Rule Manager page in Endeca Workbench. Previously existing rules are not affected by this change, and this procedure does not affect the behavior of Developer Studio.

To change the default self-pivot setting when running the Endeca HTTP service from the command line:

  1. Stop the Endeca Tools Service.
  2. Navigate to %ENDECA_TOOLS_ROOT%\server\bin (on Windows) or $ENDECA_TOOLS_ROOT/server/bin (on UNIX).
  3. Open the setenv.bat file (on Windows) or setenv.sh (on UNIX).
  4. Below "set JAVA_OPTS" add:
    • (On WIndows) CATALINA_OPTS=-Dself-pivot-default=true
    • (On UNIX) CATALINA_OPTS=-Dself-pivot-default=true export CATALINA_OPTS
    To set the default value as disabled, use: -Dself-pivot-default=false
  5. Save and close the file.
  6. Run %ENDECA_TOOLS_ROOT%\server\bin\setenv.bat (on Windows) or $ENDECA_TOOLS_ROOT/server/bin/setenv.sh (on UNIX).
The self-pivot check box is now exposed on the Triggers tab of the Rule Manager page in Endeca Workbench. The check box defaults to the value specified in the setenv file.