This closes #265
This commit is contained in:
commit
61b76dc1f3
|
@ -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" \
|
||||
|
|
Loading…
Reference in New Issue