ARTEMIS-404 fixing space issues on scripts

https://issues.apache.org/jira/browse/ARTEMIS-404
This commit is contained in:
Clebert Suconic 2016-02-18 18:16:21 -05:00
parent d22bed0676
commit a275dda89c
3 changed files with 7 additions and 4 deletions

View File

@ -585,9 +585,9 @@ public class Create extends InputAbstract {
}
if (!IS_WINDOWS || IS_CYGWIN) {
write(BIN_ARTEMIS, null, true);
write(BIN_ARTEMIS, filters, true);
makeExec(BIN_ARTEMIS);
write(BIN_ARTEMIS_SERVICE, null, true);
write(BIN_ARTEMIS_SERVICE, filters, true);
makeExec(BIN_ARTEMIS_SERVICE);
write(ETC_ARTEMIS_PROFILE, filters, true);
}

View File

@ -105,7 +105,10 @@ if $cygwin ; then
CLASSPATH=`cygpath --windows "$CLASSPATH"`
fi
exec "$JAVACMD" $JAVA_ARGS $ARTEMIS_CLUSTER_PROPS \
exec "$JAVACMD" $JAVA_ARGS \
-Xbootclasspath/a:"$ARTEMIS_HOME/lib/${logmanager}" \
-Djava.security.auth.login.config="$ARTEMIS_INSTANCE/etc/login.config" \
$ARTEMIS_CLUSTER_PROPS \
-classpath "$CLASSPATH" \
-Dartemis.home="$ARTEMIS_HOME" \
-Dartemis.instance="$ARTEMIS_INSTANCE" \

View File

@ -23,7 +23,7 @@ ARTEMIS_INSTANCE='${artemis.instance}'
# Java Opts
JAVA_ARGS="-XX:+UseParallelGC -XX:+AggressiveOpts -XX:+UseFastAccessorMethods -Xms512M -Xmx1024M -Xbootclasspath/a:$ARTEMIS_HOME/lib/${logmanager} -Djava.security.auth.login.config=$ARTEMIS_INSTANCE/etc/login.config ${java-opts} -Dartemis.instance=$ARTEMIS_INSTANCE"
JAVA_ARGS="-XX:+UseParallelGC -XX:+AggressiveOpts -XX:+UseFastAccessorMethods -Xms512M -Xmx1024M"
#
# There might be options that you only want to enable on specifc commands, like setting a JMX port