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 ACTIVEMQ_OPTS_MEMORY="-Xms512M -Xmx1024M"
if [ -z "$ACTIVEMQ_OPTS" ] ; then ACTIVEMQ_OPTS="$ACTIVEMQ_OPTS_MEMORY -Dorg.apache.activemq.UseDedicatedTaskRunner=false -Djava.util.logging.config.file=logging.properties" fi 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 logging.properties and log4j.properties 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 -Djava.util.logging.config.file=logging.properties ..... -- Tommy Chheng @tommychheng http://tommy.chheng.com