This closes #265

This commit is contained in:
Clebert Suconic 2015-12-15 10:42:40 -05:00
commit 61b76dc1f3
1 changed files with 5 additions and 0 deletions

View File

@ -105,6 +105,11 @@ if $cygwin ; then
CLASSPATH=`cygpath --windows "$CLASSPATH"`
fi
# Empty JAVA_ARGS unless the command is 'run' or 'data'. See https://issues.apache.org/jira/browse/ARTEMIS-318.
if [ $1 != "run" -a $1 != "data" ]; then
JAVA_ARGS=""
fi
exec "$JAVACMD" $JAVA_ARGS $ARTEMIS_CLUSTER_PROPS \
-classpath "$CLASSPATH" \
-Dartemis.home="$ARTEMIS_HOME" \