...
- Open
...\weave\service\conf\wrapper.conf
in the text editor of your choice. - Locate the last additional property in the file (they are usually defined at the end of the file)
- The "additional properties" are those listed in the form
wrapper.java.additional.## = ...
- The "additional properties" are those listed in the form
- Find the number of the last set additional property, and increase it by one.
- 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.
- 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
.
- 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
- Save the file and restart Weave.
...
- Open
...\weave\startup.cmd
in the text editor of your choice. - 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).- The properties are those listed in the form
SET JAVA_OPTS=%JAVA_OPTS% -D...=...
- 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.
- The properties are those listed in the form
- Create a new
SET JAVA_OPTS
line after the last one with the format:SET JAVA_OPTS=%JAVA_OPTS% -Dname=value
- Save the file and restart Weave.
...
- Open
...\weave\startup.sh
in the text editor of your choice. - 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).- The properties are those listed in the form
JAVA_OPTS="$JAVA_OPTS -D...=..."
- 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.
- The properties are those listed in the form
- Create a new
JAVA_OPTS
line after the last one with the format:JAVA_OPTS="$JAVA_OPTS -Dname=value"
- Save the file and restart Weave.
...