Description of problem: Used >> first part of condition and > in the else if [ -z "$SUBIT" ]; then eval $CMD_START >>${JBOSS_CONSOLE_LOG} 2>&1 & else $SUBIT "export JAVA_HOME=$JAVA_HOME; export JAVA_OPTS=\"$JAVA_OPTS\"; export JBOSS_MODULEPATH=$JBOSS_MODULEPATH; $CMD_START>${JBOSS_CONSOLE_LOG} 2>&1 &" fi Using > causes problems when rotating logs since the cursor is not reset.
Fixed for both: - jbossas-domain-7.5.16-*.rpm, - jbossas-standalone-7.5.16-*.rpm. Hence, verified for EAP-6.4.16-CP.CR1, thank you.
Released on June 20 2017 as part of the EAP 6.4.16 maintenance release.