This closes #395

This commit is contained in:
jbertram 2016-02-19 10:05:39 -06:00
commit 509a5a0898
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