If a Message Broker is failing for non-obvious reasons (for example, it isn't running or out of memory), you can turn on tracing by adding the following lines to its <Message Broker install folder>/conf/log4j.properties file:
log4j.rootLogger=DEBUG, console, logfile
log4j.appender.logfile.file=${activemq.base}/data/activemq.log
You can find additional information on logging at http://activemq.apache.org/how-do-i-change-the-logging.html