I’am trying to get this inofficial binding to work: https://github.com/pepsifan92/pca9685control
But every time an item of this binding is initialized OpenHAB crashes completely. I’ve tried to add the -XX:ErrorFile argument to the JAVA_ARGS_DEFAULT, but nothing is logged on the crash. This is how my JAVA_ARGS_DEFAULT looks now:
JAVA_ARGS_DEFAULT="-Dosgi.clean=true \
-Declipse.ignoreApp=true \
-Dosgi.noShutdown=true \
-Djetty.port=${HTTP_PORT} \
-Dopenhab.configfile="${OPENHAB_CONF_DIR}/configurations/openhab.cfg" \
-Dopenhab.configdir="${OPENHAB_CONF_DIR}/configurations" \
-Dopenhab.logdir="${OPENHAB_LOG_DIR}" \
-Dsmarthome.userdata="${OPENHAB_USER_DATA_DIR}"
-Djetty.home="${OPENHAB_DIR}" \
-Djetty.port.ssl=${HTTPS_PORT} \
-Djetty.config="${OPENHAB_CONF_DIR}/jetty" \
-Djetty.logs="${OPENHAB_LOG_DIR}" \
-Djetty.rundir="${OPENHAB_DIR}" \
-Dfelix.fileinstall.dir="${OPENHAB_DIR}/addons" \
-Dfelix.fileinstall.filter=.*\\.jar \
-Djava.library.path="${OPENHAB_DIR}/lib" \
-Djava.security.auth.login.config="${OPENHAB_CONF_DIR}/login.conf" \
-Dorg.quartz.properties="${OPENHAB_CONF_DIR}/quartz.properties" \
-Dequinox.ds.block_timeout=240000 \
-Dequinox.scr.waitTimeOnBlock=60000 \
-Dfelix.fileinstall.active.level=4 \
-Djava.awt.headless=true \
-jar ${LAUNCHER} \
-configuration ${OPENHAB_WORKSPACE_DIR} \
-data ${OPENHAB_WORKSPACE_DIR} \
-console ${TELNET_PORT} \
-XX:ErrorFile="${OPENHAB_LOG_DIR}/java_error.log""
Is this the right way to debug such errors or how can I find out what is crashing my OpenHAB instance?