added -Djava.awt.headless=true to the ADDITIONAL_JAVA_ARGS so that bar code creation also works with no X11 environment installed

This commit is contained in:
Axel Uhl committed 2015-08-20 12:33:46 +02:00
1 parent f6e0d2708f
commit 2ef0df330d
1 file changed
+1 -1
+1 -1
View File
@@ -84,7 +84,7 @@ INSTALL_FROM_RELEASE=
USE_ENVIRONMENT=
INSTANCE_ID="$SERVER_NAME:$SERVER_PORT"
ADDITIONAL_JAVA_ARGS="-Dpersistentcompetitors.clear=false -XX:+UseMembar -XX:+UseG1GC -verbose:gc -XX:+PrintGCTimeStamps -XX:+PrintGCDetails -Xloggc:logs/gc.log -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=10 -XX:GCLogFileSize=100M"
ADDITIONAL_JAVA_ARGS="-Dpersistentcompetitors.clear=false -XX:+UseMembar -XX:+UseG1GC -verbose:gc -XX:+PrintGCTimeStamps -XX:+PrintGCDetails -Xloggc:logs/gc.log -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=10 -XX:GCLogFileSize=100M -Djava.awt.headless=true"
JAVA_HOME=/opt/jdk1.8.0_20
if [[ ! -d $JAVA_HOME ]] && [[ -f "/usr/libexec/java_home" ]]; then