Repository: activemq-artemis Updated Branches: refs/heads/master d22bed067 -> 509a5a089
ARTEMIS-404 fixing space issues on scripts https://issues.apache.org/jira/browse/ARTEMIS-404 Project: http://git-wip-us.apache.org/repos/asf/activemq-artemis/repo Commit: http://git-wip-us.apache.org/repos/asf/activemq-artemis/commit/a275dda8 Tree: http://git-wip-us.apache.org/repos/asf/activemq-artemis/tree/a275dda8 Diff: http://git-wip-us.apache.org/repos/asf/activemq-artemis/diff/a275dda8 Branch: refs/heads/master Commit: a275dda89cf3ad1cfbb93eb53adb24c7af426659 Parents: d22bed0 Author: Clebert Suconic <[email protected]> Authored: Thu Feb 18 18:16:21 2016 -0500 Committer: Clebert Suconic <[email protected]> Committed: Thu Feb 18 18:18:34 2016 -0500 ---------------------------------------------------------------------- .../java/org/apache/activemq/artemis/cli/commands/Create.java | 4 ++-- .../org/apache/activemq/artemis/cli/commands/bin/artemis | 5 ++++- .../apache/activemq/artemis/cli/commands/etc/artemis.profile | 2 +- 3 files changed, 7 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/a275dda8/artemis-cli/src/main/java/org/apache/activemq/artemis/cli/commands/Create.java ---------------------------------------------------------------------- diff --git a/artemis-cli/src/main/java/org/apache/activemq/artemis/cli/commands/Create.java b/artemis-cli/src/main/java/org/apache/activemq/artemis/cli/commands/Create.java index 0a95041..e0b274c 100644 --- a/artemis-cli/src/main/java/org/apache/activemq/artemis/cli/commands/Create.java +++ b/artemis-cli/src/main/java/org/apache/activemq/artemis/cli/commands/Create.java @@ -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); } http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/a275dda8/artemis-cli/src/main/resources/org/apache/activemq/artemis/cli/commands/bin/artemis ---------------------------------------------------------------------- diff --git a/artemis-cli/src/main/resources/org/apache/activemq/artemis/cli/commands/bin/artemis b/artemis-cli/src/main/resources/org/apache/activemq/artemis/cli/commands/bin/artemis index a81cf19..ec9b95e 100755 --- a/artemis-cli/src/main/resources/org/apache/activemq/artemis/cli/commands/bin/artemis +++ b/artemis-cli/src/main/resources/org/apache/activemq/artemis/cli/commands/bin/artemis @@ -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" \ http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/a275dda8/artemis-cli/src/main/resources/org/apache/activemq/artemis/cli/commands/etc/artemis.profile ---------------------------------------------------------------------- diff --git a/artemis-cli/src/main/resources/org/apache/activemq/artemis/cli/commands/etc/artemis.profile b/artemis-cli/src/main/resources/org/apache/activemq/artemis/cli/commands/etc/artemis.profile index d071c9f..049fea0 100644 --- a/artemis-cli/src/main/resources/org/apache/activemq/artemis/cli/commands/etc/artemis.profile +++ b/artemis-cli/src/main/resources/org/apache/activemq/artemis/cli/commands/etc/artemis.profile @@ -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
