activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tommy Chheng <>
Subject activemqrc in user's home dir not being used?
Date Tue, 31 May 2011 14:49:15 GMT
I'm using activemq 5.5 and the .activemqrc file is not being used.

In the .activemqrc, I change the default MEMORY+OPTS env variables.
# Set jvm memory configuration

if [ -z "$ACTIVEMQ_OPTS" ] ; then
ACTIVEMQ_OPTS="$ACTIVEMQ_OPTS_MEMORY -Dorg.apache.activemq.UseDedicatedTaskRunner=false"

I start activemq and it states it's using the .activemqrc file:
$ACTIVEMQ_HOME/bin/activemq start xbean:file:/opt/activemq/conf/activemq.xml
INFO: Loading '/home/deploy/.activemqrc'
INFO: Using java '/usr/lib/jvm/java-6-openjdk/bin/java'
INFO: Starting - inspect logfiles specified in and to
get details

But when I take a look at the process, it's using the default parameters:
deploy 9467 2.4 6.2 427188 108956 pts/1 Sl 14:37 0:02 /usr/lib/jvm/java-6-openjdk/bin/java
-Xms256M -Xmx256M -Dorg.apache.activemq.UseDedicatedTaskRunner=true

Tommy Chheng
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message