Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Open ...\weave\service\conf\wrapper.conf in the text editor of your choice.
  2. Locate the last additional property in the file (they are usually defined at the end of the file)
    1. The "additional properties" are those listed in the form wrapper.java.additional.## = ...
  3. Find the number of the last set additional property, and increase it by one.
  4. Create a new additional property, by duplicating an existing one of the existing ones and incrementing the , increment the property number, and set the value to -Dname=value.
    1. Note that it is important that you increment the property number, in the example below we use 22, which is assuming the previous largest property number was 21, but it might be different in your wrapper.conf.
  5. Save the file and restart Weave.

...

  1. Open ...\weave\startup.cmd in the text editor of your choice.
  2. Locate the last SET JAVA_OPTS line in the file (they are set through the file and the last one would usually be defined near the end of the file).
    1. The properties are those listed in the form SET JAVA_OPTS=%JAVA_OPTS% -D...=...
    2. There are a number of these lines through the file, they're concatenating that concatenate different system properties into a single JAVA_OPTS variable that 's is then passed to the Java process at the end of the file.
  3. Create a new SET JAVA_OPTS line after the last one with the format:
    1. SET JAVA_OPTS=%JAVA_OPTS% -Dname=value
  4. Save the file and restart Weave.

...

  1. Open ...\weave\startup.sh in the text editor of your choice.
  2. Locate the last JAVA_OPTS="$JAVA_OPTS ..." line in the file (they are set through the file and the last one would usually be defined near the end of the file).
    1. The properties are those listed in the form JAVA_OPTS="$JAVA_OPTS -D...=..."
    2. There are a number of these lines through the file, they're concatenating that concatenate different system properties into a single JAVA_OPTS variable that 's is then passed to the Java process at the end of the file.
  3. Create a new JAVA_OPTS line after the last one with the format:
    1. JAVA_OPTS="$JAVA_OPTS -Dname=value"
  4. Save the file and restart Weave.

...