Skip to content

Commit

Permalink
Add missing parameters to Windows wrapper documentation
Browse files Browse the repository at this point in the history
Using the right parameters prevents issues when running openHAB as Windows service.

See:

* [setenv.bat](https://github.com/openhab/openhab-distro/blob/main/distributions/openhab/src/main/resources/bin/setenv.bat)
* [Community topic](https://community.openhab.org/t/trouble-connecting-to-basic-ui-over-local-network/152448)

Signed-off-by: Wouter Born <[email protected]>
  • Loading branch information
wborn committed Jan 14, 2024
1 parent 03b43ca commit 73c2097
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions installation/windows.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,11 +126,16 @@ By installing the openHAB process as a service in Windows, you can:
wrapper.java.additional.11=-Dopenhab.userdata="%OPENHAB_HOME%\userdata"
wrapper.java.additional.12=-Dopenhab.logdir="%OPENHAB_USERDATA%\logs"
wrapper.java.additional.13=-Dfelix.cm.dir="%OPENHAB_HOME%\userdata\config"
wrapper.java.additional.14=-Dorg.osgi.service.http.port=8080
wrapper.java.additional.15=-Dorg.osgi.service.http.port.secure=8443
wrapper.java.additional.16=-Djava.util.logging.config.file="%KARAF_ETC%\java.util.logging.properties"
wrapper.java.additional.17=-Dkaraf.logs="%OPENHAB_LOGDIR%"
wrapper.java.additional.18=-Dfile.encoding=UTF-8
wrapper.java.additional.14=-Djdk.util.zip.disableZip64ExtraFieldValidation=true
wrapper.java.additional.15=-Djetty.host=0.0.0.0
wrapper.java.additional.16=-Djetty.http.compliance=RFC2616
wrapper.java.additional.17=-Dorg.apache.cxf.osgi.http.transport.disable=true
wrapper.java.additional.18=-Dorg.osgi.service.http.port=8080
wrapper.java.additional.19=-Dorg.osgi.service.http.port.secure=8443
wrapper.java.additional.20=-Djava.util.logging.config.file="%KARAF_ETC%\java.util.logging.properties"
wrapper.java.additional.21=-Dkaraf.logs="%OPENHAB_LOGDIR%"
wrapper.java.additional.22=-Djava.awt.headless=true
wrapper.java.additional.23=-Dfile.encoding=UTF-8
wrapper.java.maxmemory=512
# Wrapper Logging Properties
Expand Down

0 comments on commit 73c2097

Please sign in to comment.