Sorry to spam the list, I went back to the original: http://stackoverflow.com/a/28941062/262852
and changed to the port used in the example, 61616, instead of 3700 as I was using. It runs cleanly, albeit without output:
thufir@doge:~$ thufir@doge:~$ activemq status INFO: Loading '/home/thufir/apache-activemq-5.11.1/bin/env' INFO: Using java '/usr/lib/jvm/java-7-openjdk-amd64/bin/java' ActiveMQ is running (pid '18920') thufir@doge:~$ thufir@doge:~$ groovy IdeaProjects/groovy/src/jms.groovy thufir@doge:~$ I looked in: /home/thufir/apache-activemq-5.11.1/data/activemq.log but there was nothing. Can I write to the log with this groovy script? thanks, Thufir