If I change the script /opt/open-xchange/etc/groupware/ox-scriptconf.sh, the problem remains.
if I change the script /opt/open-xchange/sbin/open-xchange-groupware the problem is solved.
Note the placement of the fix in open-xchange-groupware:
test -f $OXCONFIG && . $OXCONFIG
ox_set_JAVA_BIN
test -z "$JAVA_XTRAOPTS" && JAVA_XTRAOPTS="-ms50m -mx50m"
JAVA_XTRAOPTS="-Xms50M -Xmx512M"
JAVA_OPTS="${JAVA_XTRAOPTS} \ <-- before this line
-Djava.awt.headless=true \
-Dopenexchange.propfile=$SYSTEMPROPERTIES \
-Djava.util.logging.config.file=$LOGGINGPROPERTIES"
I am setting the value JAVA_XTRAOPTS just before it is referenced in the next line by JAVA_OPTS="${JAVA_XTRAOPTS}\
It looks as if Michael placed the needed line AFTER the reference.
>test -z "$JAVA_XTRAOPTS" && JAVA_XTRAOPTS="-ms50m -mx50m"
>JAVA_OPTS="${JAVA_XTRAOPTS} \
>-Djava.awt.headless=true \
>-Dopenexchange.propfile=$SYSTEMPROPERTIES \
>-Djava.util.logging.config.file=$LOGGINGPROPERTIES"
>JAVA_XTRAOPTS="-Xms50M -Xmx512M <-- placed AFTER the line
Mike
if I change the script /opt/open-xchange/sbin/open-xchange-groupware the problem is solved.
Note the placement of the fix in open-xchange-groupware:
test -f $OXCONFIG && . $OXCONFIG
ox_set_JAVA_BIN
test -z "$JAVA_XTRAOPTS" && JAVA_XTRAOPTS="-ms50m -mx50m"
JAVA_XTRAOPTS="-Xms50M -Xmx512M"
JAVA_OPTS="${JAVA_XTRAOPTS} \ <-- before this line
-Djava.awt.headless=true \
-Dopenexchange.propfile=$SYSTEMPROPERTIES \
-Djava.util.logging.config.file=$LOGGINGPROPERTIES"
I am setting the value JAVA_XTRAOPTS just before it is referenced in the next line by JAVA_OPTS="${JAVA_XTRAOPTS}\
It looks as if Michael placed the needed line AFTER the reference.
>test -z "$JAVA_XTRAOPTS" && JAVA_XTRAOPTS="-ms50m -mx50m"
>JAVA_OPTS="${JAVA_XTRAOPTS} \
>-Djava.awt.headless=true \
>-Dopenexchange.propfile=$SYSTEMPROPERTIES \
>-Djava.util.logging.config.file=$LOGGINGPROPERTIES"
>JAVA_XTRAOPTS="-Xms50M -Xmx512M <-- placed AFTER the line
Mike
Comment