mirror of https://github.com/apache/activemq.git
https://issues.apache.org/jira/browse/AMQ-3789 - set java.io.tmpdir for console use as well
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1306441 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
d5134dec3d
commit
6236c144da
|
@ -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)"
|
||||
|
|
Loading…
Reference in New Issue