ARTEMIS-336 Windows script updates
Project: http://git-wip-us.apache.org/repos/asf/activemq-artemis/repo Commit: http://git-wip-us.apache.org/repos/asf/activemq-artemis/commit/500704a7 Tree: http://git-wip-us.apache.org/repos/asf/activemq-artemis/tree/500704a7 Diff: http://git-wip-us.apache.org/repos/asf/activemq-artemis/diff/500704a7 Branch: refs/heads/master Commit: 500704a7ccfe76b56feb738ee7918eafbab96caf Parents: 4bd0be4 Author: jbertram <jbert...@apache.org> Authored: Wed Jan 13 11:02:58 2016 -0600 Committer: Clebert Suconic <clebertsuco...@apache.org> Committed: Wed Jan 13 14:03:25 2016 -0500 ---------------------------------------------------------------------- .../apache/activemq/artemis/cli/commands/etc/artemis.profile.cmd | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/500704a7/artemis-cli/src/main/resources/org/apache/activemq/artemis/cli/commands/etc/artemis.profile.cmd ---------------------------------------------------------------------- diff --git a/artemis-cli/src/main/resources/org/apache/activemq/artemis/cli/commands/etc/artemis.profile.cmd b/artemis-cli/src/main/resources/org/apache/activemq/artemis/cli/commands/etc/artemis.profile.cmd index 1de17b5..a60d470 100644 --- a/artemis-cli/src/main/resources/org/apache/activemq/artemis/cli/commands/etc/artemis.profile.cmd +++ b/artemis-cli/src/main/resources/org/apache/activemq/artemis/cli/commands/etc/artemis.profile.cmd @@ -16,12 +16,13 @@ rem specific language governing permissions and limitations rem under the License. set ARTEMIS_HOME=${artemis.home} +set ARTEMIS_INSTANCE=${artemis.instance} rem Cluster Properties: Used to pass arguments to ActiveMQ Artemis which can be referenced in broker.xml rem set ARTEMIS_CLUSTER_PROPS=-Dactivemq.remoting.default.port=61617 -Dactivemq.remoting.amqp.port=5673 -Dactivemq.remoting.stomp.port=61614 -Dactivemq.remoting.hornetq.port=5446 rem Java Opts -set JAVA_ARGS=-XX:+UseParallelGC -XX:+AggressiveOpts -XX:+UseFastAccessorMethods -Xms512M -Xmx1024M -Xbootclasspath/a:%ARTEMIS_HOME%\lib\${logmanager} ${login-config} ${java-opts} +set 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% rem Debug args: Uncomment to enable debug rem set DEBUG_ARGS=-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=5005