activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dej...@apache.org
Subject svn commit: r1306441 - /activemq/trunk/assembly/src/release/bin/activemq
Date Wed, 28 Mar 2012 15:49:50 GMT
Author: dejanb
Date: Wed Mar 28 15:49:50 2012
New Revision: 1306441

URL: http://svn.apache.org/viewvc?rev=1306441&view=rev
Log:
https://issues.apache.org/jira/browse/AMQ-3789 - set java.io.tmpdir for console use as well

Modified:
    activemq/trunk/assembly/src/release/bin/activemq

Modified: activemq/trunk/assembly/src/release/bin/activemq
URL: http://svn.apache.org/viewvc/activemq/trunk/assembly/src/release/bin/activemq?rev=1306441&r1=1306440&r2=1306441&view=diff
==============================================================================
--- activemq/trunk/assembly/src/release/bin/activemq (original)
+++ activemq/trunk/assembly/src/release/bin/activemq Wed Mar 28 15:49:50 2012
@@ -399,7 +399,6 @@ invokeJar(){
               -Dactivemq.base=\"${ACTIVEMQ_BASE}\" \
               -Dactivemq.conf=\"${ACTIVEMQ_CONF}\" \
               -Dactivemq.data=\"${ACTIVEMQ_DATA}\" \
-              -Djava.io.tmpdir=\"${ACTIVEMQ_TMP}\" \
               $ACTIVEMQ_CYGWIN \
               -jar \"${ACTIVEMQ_HOME}/bin/run.jar\" $COMMANDLINE_ARGS >/dev/null 2>&1
&
               RET=\"\$?\"; APID=\"\$!\";
@@ -517,7 +516,7 @@ invoke_start(){
       exit 0
     fi
 
-    ACTIVEMQ_OPTS="$ACTIVEMQ_OPTS $ACTIVEMQ_SUNJMX_START $ACTIVEMQ_SSL_OPTS"
+    ACTIVEMQ_OPTS="$ACTIVEMQ_OPTS $ACTIVEMQ_SUNJMX_START $ACTIVEMQ_SSL_OPTS -Djava.io.tmpdir=\"${ACTIVEMQ_TMP}\""
 
     echo "INFO: Starting - inspect logfiles specified in logging.properties and log4j.properties
to get details"
     invokeJar $ACTIVEMQ_PIDFILE
@@ -541,7 +540,7 @@ invoke_console(){
       exit 1
     fi
 
-    ACTIVEMQ_OPTS="$ACTIVEMQ_OPTS $ACTIVEMQ_SUNJMX_START $ACTIVEMQ_SSL_OPTS"
+    ACTIVEMQ_OPTS="$ACTIVEMQ_OPTS $ACTIVEMQ_SUNJMX_START $ACTIVEMQ_SSL_OPTS -Djava.io.tmpdir=\"${ACTIVEMQ_TMP}\""
 
     COMMANDLINE_ARGS="start `echo $COMMANDLINE_ARGS|sed 's,^console,,'`"
     echo "INFO: Starting in foreground, this is just for debugging purposes (stop process
by pressing CTRL+C)"



Mime
View raw message